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

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