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

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

Issue 1082943003: Support PhantomJS. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes 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 | « README.md ('k') | lib/src/runner/browser/phantom_js.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 881dcf4aa27e52b176181671947f259e9799faa7..f2577d486f7b30921bbecd85cc6141e5859ca369 100644
--- a/lib/src/backend/test_platform.dart
+++ b/lib/src/backend/test_platform.dart
@@ -27,13 +27,18 @@ class TestPlatform {
static const TestPlatform chrome = const TestPlatform._("Chrome", "chrome",
isBrowser: true, isJS: true, isBlink: true);
+ /// PhantomJS.
+ static const TestPlatform phantomJS = const TestPlatform._(
+ "PhantomJS", "phantomjs",
+ 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 List<TestPlatform> all =
- const [vm, dartium, contentShell, chrome, firefox];
+ const [vm, dartium, contentShell, chrome, phantomJS, firefox];
/// Finds a platform by its identifier string.
///
« no previous file with comments | « README.md ('k') | lib/src/runner/browser/phantom_js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698