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

Unified Diff: tests/standalone/io/test_runner_exit_code_script.dart

Issue 11770004: Rename Date to DateTime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and keep Backwards-compatibility class Date. Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: tests/standalone/io/test_runner_exit_code_script.dart
diff --git a/tests/standalone/io/test_runner_exit_code_script.dart b/tests/standalone/io/test_runner_exit_code_script.dart
index 3bdbb9a163d1d2bc4908483e92814955ffc9bc25..7e2542db08117b697fccc75f9e7f1027e1fe5137 100644
--- a/tests/standalone/io/test_runner_exit_code_script.dart
+++ b/tests/standalone/io/test_runner_exit_code_script.dart
@@ -11,7 +11,7 @@ import "../../../tools/testing/dart/test_options.dart";
main() {
var progressType = new Options().arguments[0];
// Build a progress indicator.
- var startTime = new Date.now();
+ var startTime = new DateTime.now();
var progress =
new ProgressIndicator.fromName(progressType, startTime, false);
if (progressType == 'buildbot') {
@@ -31,7 +31,7 @@ main() {
progress.allTestsKnown();
progress.start(testCase);
new CommandOutput.fromCase(testCase, dummyCommand, 1, false, false, [], [],
- new Date.now().difference(startTime), false);
+ new DateTime.now().difference(startTime), false);
progress.done(testCase);
progress.allDone();
}
« no previous file with comments | « tests/standalone/io/skipping_dart2js_compilations_test.dart ('k') | tools/dom/templates/html/dart2js/impl_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698