Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: tests/standalone/io/http_date_test.dart

Issue 10829459: Deprecate Math object in corelib in favor of dart:math library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/lib/math/min_max_test.dart ('k') | tests/standalone/io/http_headers_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #import("dart:math");
6
5 #source("../../../runtime/bin/input_stream.dart"); 7 #source("../../../runtime/bin/input_stream.dart");
6 #source("../../../runtime/bin/output_stream.dart"); 8 #source("../../../runtime/bin/output_stream.dart");
7 #source("../../../runtime/bin/chunked_stream.dart"); 9 #source("../../../runtime/bin/chunked_stream.dart");
8 #source("../../../runtime/bin/string_stream.dart"); 10 #source("../../../runtime/bin/string_stream.dart");
9 #source("../../../runtime/bin/stream_util.dart"); 11 #source("../../../runtime/bin/stream_util.dart");
10 #source("../../../runtime/bin/http.dart"); 12 #source("../../../runtime/bin/http.dart");
11 #source("../../../runtime/bin/http_impl.dart"); 13 #source("../../../runtime/bin/http_impl.dart");
12 #source("../../../runtime/bin/http_parser.dart"); 14 #source("../../../runtime/bin/http_parser.dart");
13 #source("../../../runtime/bin/http_utils.dart"); 15 #source("../../../runtime/bin/http_utils.dart");
14 16
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 Expect.throws(() { 83 Expect.throws(() {
82 _HttpUtils.parseDate("$valid "); 84 _HttpUtils.parseDate("$valid ");
83 }); 85 });
84 } 86 }
85 87
86 void main() { 88 void main() {
87 testParseHttpDate(); 89 testParseHttpDate();
88 testFormatParseHttpDate(); 90 testFormatParseHttpDate();
89 testParseHttpDateFailures(); 91 testParseHttpDateFailures();
90 } 92 }
OLDNEW
« no previous file with comments | « tests/lib/math/min_max_test.dart ('k') | tests/standalone/io/http_headers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698