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

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

Issue 557563002: Store the async-await compiled pub code directly in the repo. (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
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',

Powered by Google App Engine
This is Rietveld 408576698