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

Unified Diff: tests/corelib/core_runtime_types_test.dart

Issue 10538105: Make isUtc a getter, change some method names in Date. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 6 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
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/corelib/date_time4_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/core_runtime_types_test.dart
diff --git a/tests/corelib/core_runtime_types_test.dart b/tests/corelib/core_runtime_types_test.dart
index 36f060d5d0c0026162c0060b9f97d4fcdf38941c..dc7dffe82f742eacaafa7f1f2fd8739df9143cf5 100644
--- a/tests/corelib/core_runtime_types_test.dart
+++ b/tests/corelib/core_runtime_types_test.dart
@@ -260,8 +260,8 @@ class CoreRuntimeTypesTest {
static testDateMethods() {
var msec = 115201000;
- var d = new Date.fromEpoch(msec, isUtc: true);
- assertEquals(d.seconds, 1);
+ var d = new Date.fromMillisecondsSinceEpoch(msec, isUtc: true);
+ assertEquals(d.second, 1);
assertEquals(d.year, 1970);
d = new Date.now();
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/corelib/date_time4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698