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

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

Issue 286063006: Make directory_list_sync_test faster (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/directory_list_sync_test.dart
===================================================================
--- tests/standalone/io/directory_list_sync_test.dart (revision 35982)
+++ tests/standalone/io/directory_list_sync_test.dart (working copy)
@@ -7,7 +7,8 @@
void main() {
File script = new File.fromUri(Platform.script);
// tests/standalone/io/../../..
ricow1 2014/05/19 17:40:22 update comment
hausner 2014/05/19 17:43:42 Done.
- Directory startingDir = script.parent.parent.parent.parent;
+ Directory startingDir = script.parent.parent.parent;
+ print("Recursively listing entries in directory ${startingDir.path} ...");
ricow1 2014/05/19 17:40:22 do we really need this?
hausner 2014/05/19 17:43:42 It helped me understand what's going on. I can tak
List<FileSystemEntity> each =
startingDir.listSync(recursive: true, followLinks: false);
print("Found: ${each.length} entities");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698