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

Side by Side Diff: lib/src/backend/test_platform.dart

Issue 1580973002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « lib/src/backend/test.dart ('k') | lib/src/executable.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test.backend.test_platform;
6
7 // TODO(nweiz): support pluggable platforms. 5 // TODO(nweiz): support pluggable platforms.
8 /// An enum of all platforms on which tests can run. 6 /// An enum of all platforms on which tests can run.
9 class TestPlatform { 7 class TestPlatform {
10 // When adding new platforms, be sure to update the baseline and derived 8 // When adding new platforms, be sure to update the baseline and derived
11 // variable tests in test/backend/platform_selector/evaluate_test. 9 // variable tests in test/backend/platform_selector/evaluate_test.
12 10
13 /// The command-line Dart VM. 11 /// The command-line Dart VM.
14 static const TestPlatform vm = 12 static const TestPlatform vm =
15 const TestPlatform._("VM", "vm", isDartVM: true); 13 const TestPlatform._("VM", "vm", isDartVM: true);
16 14
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 82
85 /// Whether this platform has no visible window. 83 /// Whether this platform has no visible window.
86 final bool isHeadless; 84 final bool isHeadless;
87 85
88 const TestPlatform._(this.name, this.identifier, {this.isDartVM: false, 86 const TestPlatform._(this.name, this.identifier, {this.isDartVM: false,
89 this.isBrowser: false, this.isJS: false, this.isBlink: false, 87 this.isBrowser: false, this.isJS: false, this.isBlink: false,
90 this.isHeadless: false}); 88 this.isHeadless: false});
91 89
92 String toString() => name; 90 String toString() => name;
93 } 91 }
OLDNEW
« no previous file with comments | « lib/src/backend/test.dart ('k') | lib/src/executable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698