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

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

Issue 1080193002: Add content shell support. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: 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/content_shell.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 cc471606f233d34943233f93dc2cd3f1ab038e9e..881dcf4aa27e52b176181671947f259e9799faa7 100644
--- a/lib/src/backend/test_platform.dart
+++ b/lib/src/backend/test_platform.dart
@@ -18,6 +18,11 @@ class TestPlatform {
static const TestPlatform dartium = const TestPlatform._("Dartium", "dartium",
isBrowser: true, isBlink: true);
+ /// Dartium content shell.
+ static const TestPlatform contentShell = const TestPlatform._(
+ "Dartium Content Shell", "content-shell",
+ isBrowser: true, isBlink: true);
+
/// Google Chrome.
static const TestPlatform chrome = const TestPlatform._("Chrome", "chrome",
isBrowser: true, isJS: true, isBlink: true);
@@ -27,7 +32,8 @@ class TestPlatform {
isBrowser: true, isJS: true);
/// A list of all instances of [TestPlatform].
- static const List<TestPlatform> all = const [vm, dartium, chrome, firefox];
+ static const List<TestPlatform> all =
+ const [vm, dartium, contentShell, chrome, firefox];
/// Finds a platform by its identifier string.
///
« no previous file with comments | « README.md ('k') | lib/src/runner/browser/content_shell.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698