Index: tools/testing/dart/test_suite.dart |
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
index 4376985dc6315d77540e2f9b80aaa32101e1e1a0..d4100d5e4068ac40d6161a7ece6d03024e9f1930 100644 |
--- a/tools/testing/dart/test_suite.dart |
+++ b/tools/testing/dart/test_suite.dart |
@@ -635,12 +635,10 @@ class StandardTestSuite extends TestSuite { |
* instead of having to create a custom [StandardTestSuite] subclass. In |
* particular, if you add 'path/to/mytestsuite' to [TEST_SUITE_DIRECTORIES] |
* in test.dart, this will all be set up for you. |
- * |
- * The [StandardTestSuite] also optionally takes a list of servers that have |
- * been started up by the test harness, to be used by browser tests. |
*/ |
- factory StandardTestSuite.forDirectory(Map configuration, Path directory) { |
- final name = directory.filename; |
+ factory StandardTestSuite.forDirectory(Map configuration, Path directory, |
+ [String name]) { |
+ if (name == null) name = directory.filename; |
var status_paths = ['$directory/$name.status', |
'$directory/.status', |