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

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

Issue 11748017: Add synchronous directory listing to dart:io Directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments, move tests that fail on Windows due to VM bug 7157 to a separate test file. Created 7 years, 12 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/directory_fuzz_test.dart
diff --git a/tests/standalone/io/directory_fuzz_test.dart b/tests/standalone/io/directory_fuzz_test.dart
index 3d982e6459e777eb2bb2ab36cf04104776446a4f..dd6fe0d14736046a28ed3f434d3e7f69b96a4e80 100644
--- a/tests/standalone/io/directory_fuzz_test.dart
+++ b/tests/standalone/io/directory_fuzz_test.dart
@@ -17,6 +17,7 @@ fuzzSyncMethods() {
doItSync(d.existsSync);
doItSync(d.createSync);
doItSync(d.deleteSync);
+ doItSync(d.listSync);
doItSync(() {
d.createTempSync().deleteSync();
});
@@ -27,6 +28,7 @@ fuzzSyncMethods() {
});
typeMapping.forEach((k2, v2) {
doItSync(() => d.renameSync(v2));
+ doItSync(() => d.listSync(recursive: v2));
doItSync(() => d.list(recursive: v2).onError = (e) => null);
});
});
« no previous file with comments | « tests/standalone/io/directory_error_test.dart ('k') | tests/standalone/io/directory_invalid_arguments_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698