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

Unified Diff: runtime/tests/dart/src/DirectoryTest.dart

Issue 8232005: Use isolates for directory listing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove the TODO comment Created 9 years, 2 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
« runtime/bin/directory_impl.dart ('K') | « runtime/bin/directory_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tests/dart/src/DirectoryTest.dart
diff --git a/runtime/tests/dart/src/DirectoryTest.dart b/runtime/tests/dart/src/DirectoryTest.dart
index 3215f9dd9af0f02837c7cee4ce7362ba168ce354..c72547782e92cacc75b483e6f8f7cc7d428ce6db 100644
--- a/runtime/tests/dart/src/DirectoryTest.dart
+++ b/runtime/tests/dart/src/DirectoryTest.dart
@@ -28,6 +28,10 @@ class DirectoryTest {
});
directory.list();
+
+ // Listing is asynchronous, so nothing should be listed at this
+ // point.
+ Expect.isFalse(listedSomething);
}
static void testMain() {
« runtime/bin/directory_impl.dart ('K') | « runtime/bin/directory_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698