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

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

Issue 11090016: Change core lib, dart2js, and more for new optional parameters syntax (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | « tests/standalone/io/stream_pipe_test.dart ('k') | utils/apidoc/html_diff.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
===================================================================
--- tools/testing/dart/test_suite.dart (revision 13683)
+++ tools/testing/dart/test_suite.dart (working copy)
@@ -224,8 +224,8 @@
this.suiteName,
Path suiteDirectory,
this.statusFilePaths,
- [this.isTestFilePredicate,
- bool recursive = false])
+ {this.isTestFilePredicate,
+ bool recursive: false})
: dartDir = TestUtils.dartDir(), _listRecursive = recursive,
suiteDir = TestUtils.dartDir().join(suiteDirectory);
@@ -263,7 +263,7 @@
return new StandardTestSuite(configuration,
name, directory,
['$directory/$name.status', '$directory/${name}_dart2js.status'],
- (filename) => filename.endsWith('_test.dart'),
+ isTestFilePredicate: (filename) => filename.endsWith('_test.dart'),
recursive: true);
}
« no previous file with comments | « tests/standalone/io/stream_pipe_test.dart ('k') | utils/apidoc/html_diff.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698