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

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

Issue 10809069: dart2dart compiler support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Next iteration Created 8 years, 5 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/testing/dart/test_options.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_runner.dart
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
index 47d8d6b667f89f89ac61d388bd3a02b9e1ef0a93..c03ed3f44cfde8a9d66fc5b40263d36601dc59a2 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -139,9 +139,9 @@ class TestCase {
void completed() { completedHandler(this); }
- bool get usesWebDriver() => (const ['chrome', 'dartium', 'ff', 'safari',
- 'ie', 'opera'])
- .indexOf(configuration['runtime']) >= 0;
+ bool get usesWebDriver() => Contains(
+ configuration['runtime'],
+ const ['chrome', 'dartium', 'ff', 'safari', 'ie', 'opera']);
}
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698