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

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

Issue 10443008: Implement File.lastModified. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/file_fuzz_test.dart
diff --git a/tests/standalone/io/file_fuzz_test.dart b/tests/standalone/io/file_fuzz_test.dart
index 52afa376fbc52547026704b62edacb1f2ab226f1..a7918fa096850dea9153a13a6122148c2cd19006 100644
--- a/tests/standalone/io/file_fuzz_test.dart
+++ b/tests/standalone/io/file_fuzz_test.dart
@@ -19,6 +19,7 @@ fuzzSyncMethods() {
doItSync(f.deleteSync);
doItSync(f.directorySync);
doItSync(f.lengthSync);
+ doItSync(f.modifiedSync);
doItSync(f.fullPathSync);
doItSync(() => f.openInputStream().onError = (e) => null);
doItSync(f.readAsBytesSync);
@@ -44,6 +45,7 @@ fuzzAsyncMethods() {
futures.add(doItAsync(f.delete));
futures.add(doItAsync(f.directory));
futures.add(doItAsync(f.length));
+ futures.add(doItAsync(f.modified));
futures.add(doItAsync(f.open));
futures.add(doItAsync(f.fullPath));
futures.add(doItAsync(f.readAsBytes));

Powered by Google App Engine
This is Rietveld 408576698