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

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

Issue 1269833003: Mark Dartium and content shell as isDartVM. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 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 | « lib/src/backend/platform_selector/evaluator.dart ('k') | no next file » | 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 fef5a62491c0d73a900fb54f269eb033ef689b98..e304821a3f82829a21cd383451ceafb2c39be3ae 100644
--- a/lib/src/backend/test_platform.dart
+++ b/lib/src/backend/test_platform.dart
@@ -12,16 +12,16 @@ class TestPlatform {
/// The command-line Dart VM.
static const TestPlatform vm =
- const TestPlatform._("VM", "vm", isDartVm: true);
+ const TestPlatform._("VM", "vm", isDartVM: true);
/// Dartium.
static const TestPlatform dartium = const TestPlatform._("Dartium", "dartium",
- isBrowser: true, isBlink: true);
+ isBrowser: true, isBlink: true, isDartVM: true);
/// Dartium content shell.
static const TestPlatform contentShell = const TestPlatform._(
"Dartium Content Shell", "content-shell",
- isBrowser: true, isBlink: true);
+ isBrowser: true, isBlink: true, isDartVM: true);
/// Google Chrome.
static const TestPlatform chrome = const TestPlatform._("Chrome", "chrome",
@@ -71,7 +71,7 @@ class TestPlatform {
final String identifier;
/// Whether this platform runs the Dart VM in any capacity.
- final bool isDartVm;
+ final bool isDartVM;
/// Whether this platform is a browser.
final bool isBrowser;
@@ -82,7 +82,7 @@ class TestPlatform {
/// Whether this platform uses the Blink rendering engine.
final bool isBlink;
- const TestPlatform._(this.name, this.identifier, {this.isDartVm: false,
+ const TestPlatform._(this.name, this.identifier, {this.isDartVM: false,
this.isBrowser: false, this.isJS: false, this.isBlink: false});
String toString() => name;
« no previous file with comments | « lib/src/backend/platform_selector/evaluator.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698