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

Unified Diff: pkg/docgen/test/multi_library_test.dart

Issue 169743003: pkg/docgen: hardwire test files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« 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: pkg/docgen/test/multi_library_test.dart
diff --git a/pkg/docgen/test/multi_library_test.dart b/pkg/docgen/test/multi_library_test.dart
index 785d08bc39d7bdcc380cbc85a7dbb5e959ee8e2c..2b00eeb074264e490e85f636de6b5b20937ac317 100644
--- a/pkg/docgen/test/multi_library_test.dart
+++ b/pkg/docgen/test/multi_library_test.dart
@@ -16,9 +16,9 @@ List<Uri> _writeLibFiles() {
codePath = p.join(codePath, 'lib');
- return new Directory(codePath).listSync()
- .where((fse) => fse is File)
- .map((fse) => p.toUri(fse.path))
+ return ['temp.dart', 'temp2.dart', 'temp3.dart']
+ .map((name) => p.join(codePath, name))
+ .map(p.toUri)
.toList();
}
« 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