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

Side by Side Diff: lib/src/backend/state.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/platform_selector/visitor.dart ('k') | lib/src/backend/suite.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.state; 5 library test.backend.state;
6 6
7 /// The state of a [LiveTest]. 7 /// The state of a [LiveTest].
8 /// 8 ///
9 /// A test's state is made up of two components, its [status] and its [result]. 9 /// A test's state is made up of two components, its [status] and its [result].
10 /// The [status] represents where the test is in its process of running; the 10 /// The [status] represents where the test is in its process of running; the
11 /// [result] represents the outcome as far as its known. 11 /// [result] represents the outcome as far as its known.
12 class State { 12 class State {
13 /// Where the test is in its process of running. 13 /// Where the test is in its process of running.
14 final Status status; 14 final Status status;
15 15
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 case "error": return Result.error; 97 case "error": return Result.error;
98 default: 98 default:
99 throw new ArgumentError('Invalid result name "$name".'); 99 throw new ArgumentError('Invalid result name "$name".');
100 } 100 }
101 } 101 }
102 102
103 const Result._(this.name); 103 const Result._(this.name);
104 104
105 String toString() => name; 105 String toString() => name;
106 } 106 }
OLDNEW
« no previous file with comments | « lib/src/backend/platform_selector/visitor.dart ('k') | lib/src/backend/suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698