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

Unified Diff: tests/html/fileapi_test.dart

Issue 12330174: Revert "Revert "Converting dart:html to use DateTime rather than Date."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | « sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart ('k') | tests/html/input_element_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/fileapi_test.dart
diff --git a/tests/html/fileapi_test.dart b/tests/html/fileapi_test.dart
index a2d23d581d6839f882548f71c5c32978b70c44a5..7d1aa1d96b8e6db003ed56d18cb2f12a80150568 100644
--- a/tests/html/fileapi_test.dart
+++ b/tests/html/fileapi_test.dart
@@ -92,6 +92,13 @@ main() {
successCallback: expectAsync1((FileEntry e) {
expect(e.name, equals('file4'));
expect(e.isFile, isTrue);
+
+ // Bug 8836 Re-enable once Dartium supports DateTime properties.
+ //e.getMetadata(expectAsync1((Metadata metadata) {
+ // var changeTime = metadata.modificationTime;
+ // expect(new DateTime.now().difference(changeTime).inSeconds,
+ // lessThan(60));
+ //}));
}),
errorCallback: (e) {
fail('Got file error: ${e.code}');
« no previous file with comments | « sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart ('k') | tests/html/input_element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698