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

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

Issue 1053443002: Rename the package to "test". (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 unified diff | Download patch
« no previous file with comments | « lib/src/backend/test.dart ('k') | lib/src/deprecated/configuration.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 unittest.backend.test_platform; 5 library test.backend.test_platform;
6 6
7 // TODO(nweiz): support pluggable platforms. 7 // TODO(nweiz): support pluggable platforms.
8 /// An enum of all platforms on which tests can run. 8 /// An enum of all platforms on which tests can run.
9 class TestPlatform { 9 class TestPlatform {
10 // When adding new platforms, be sure to update the baseline and derived 10 // When adding new platforms, be sure to update the baseline and derived
11 // variable tests in test/backend/platform_selector/evaluate_test. 11 // variable tests in test/backend/platform_selector/evaluate_test.
12 12
13 /// The command-line Dart VM. 13 /// The command-line Dart VM.
14 static const vm = const TestPlatform._("VM", "vm", isDartVm: true); 14 static const vm = const TestPlatform._("VM", "vm", isDartVm: true);
15 15
(...skipping 27 matching lines...) Expand all
43 final bool isJS; 43 final bool isJS;
44 44
45 /// Whether this platform uses the Blink rendering engine. 45 /// Whether this platform uses the Blink rendering engine.
46 final bool isBlink; 46 final bool isBlink;
47 47
48 const TestPlatform._(this.name, this.identifier, {this.isDartVm: false, 48 const TestPlatform._(this.name, this.identifier, {this.isDartVm: false,
49 this.isBrowser: false, this.isJS: false, this.isBlink: false}); 49 this.isBrowser: false, this.isJS: false, this.isBlink: false});
50 50
51 String toString() => name; 51 String toString() => name;
52 } 52 }
OLDNEW
« no previous file with comments | « lib/src/backend/test.dart ('k') | lib/src/deprecated/configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698