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

Unified Diff: lib/src/backend/test_platform.dart

Issue 1070313002: Add firefox support. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Don't double-compile test suites Created 5 years, 8 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 | « CHANGELOG.md ('k') | lib/src/runner/browser/browser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/backend/test_platform.dart
diff --git a/lib/src/backend/test_platform.dart b/lib/src/backend/test_platform.dart
index a2c9b262d3627f91619012cd3c212544eb44239d..cc7a51d6b6ac7f1e5235940c10c6b77a8ee98790 100644
--- a/lib/src/backend/test_platform.dart
+++ b/lib/src/backend/test_platform.dart
@@ -11,14 +11,19 @@ class TestPlatform {
// variable tests in test/backend/platform_selector/evaluate_test.
/// The command-line Dart VM.
- static const vm = const TestPlatform._("VM", "vm", isDartVm: true);
+ static const TestPlatform vm =
+ const TestPlatform._("VM", "vm", isDartVm: true);
/// Google Chrome.
- static const chrome = const TestPlatform._("Chrome", "chrome",
+ static const TestPlatform chrome = const TestPlatform._("Chrome", "chrome",
isBrowser: true, isJS: true, isBlink: true);
+ /// Mozilla Firefox.
+ static const TestPlatform firefox = const TestPlatform._("Firefox", "firefox",
+ isBrowser: true, isJS: true);
+
/// A list of all instances of [TestPlatform].
- static const all = const [vm, chrome];
+ static const List<TestPlatform> all = const [vm, chrome, firefox];
/// Finds a platform by its identifier string.
///
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/runner/browser/browser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698