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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 561893002: Find pub status file in right directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | « tools/test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index d4100d5e4068ac40d6161a7ece6d03024e9f1930..a17fbf773631535997940f712028b6ef6498ac7d 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -636,10 +636,8 @@ class StandardTestSuite extends TestSuite {
* particular, if you add 'path/to/mytestsuite' to [TEST_SUITE_DIRECTORIES]
* in test.dart, this will all be set up for you.
*/
- factory StandardTestSuite.forDirectory(Map configuration, Path directory,
- [String name]) {
- if (name == null) name = directory.filename;
-
+ factory StandardTestSuite.forDirectory(Map configuration, Path directory) {
+ var name = directory.filename;
var status_paths = ['$directory/$name.status',
'$directory/.status',
'$directory/${name}_dart2js.status',
« no previous file with comments | « tools/test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698