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

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
Index: tools/testing/dart/test_suite.dart
===================================================================
--- tools/testing/dart/test_suite.dart (revision 13588)
+++ 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})
Lasse Reichstein Nielsen 2012/10/12 07:52:19 Do we have a rule for indentation in cases like th
regis 2012/10/12 17:51:51 I am not aware of a rule. I have seen different st
: 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);
}

Powered by Google App Engine
This is Rietveld 408576698