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

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

Issue 12316036: Merge IO v2 branch to bleeding edge (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased to r18818 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
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 967ac0ec87a8bd117738ee7977870a7ba2e28d5e..c1dadef04fff5c514e19c845dcfe2c3945725c54 100644
--- a/tests/standalone/io/directory_fuzz_test.dart
+++ b/tests/standalone/io/directory_fuzz_test.dart
@@ -30,7 +30,6 @@ fuzzSyncMethods() {
typeMapping.forEach((k2, v2) {
doItSync(() => d.renameSync(v2));
doItSync(() => d.listSync(recursive: v2));
- doItSync(() => d.list(recursive: v2).onError = (e) => null);
});
});
});
@@ -57,6 +56,9 @@ fuzzAsyncMethods() {
}));
typeMapping.forEach((k2, v2) {
futures.add(doItAsync(() => d.rename(v2)));
+ futures.add(doItAsync(() {
+ d.list(recursive: v2).listen((_) {}, onError: (e) => null);
+ }));
});
});
Future.wait(futures).then((ignore) => port.close());
« 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