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

Unified Diff: tests/html/fileapi_test.dart

Issue 12391052: Enable tests. (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 | « no previous file | 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 7d1aa1d96b8e6db003ed56d18cb2f12a80150568..079197fc88204d4df20240bd87015c49d1017098 100644
--- a/tests/html/fileapi_test.dart
+++ b/tests/html/fileapi_test.dart
@@ -93,12 +93,11 @@ main() {
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));
- //}));
+ 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 | « no previous file | tests/html/input_element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698