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

Side by Side Diff: pkg/status_file/lib/expectation.dart

Issue 2984203002: Move the status file parser into its own package. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « pkg/status_file/lib/environment.dart ('k') | pkg/status_file/lib/src/expression.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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 /// The possible outcomes from running a test. 5 /// The possible outcomes from running a test.
6 class Expectation { 6 class Expectation {
7 /// The test completed normally and did what it intended to do. 7 /// The test completed normally and did what it intended to do.
8 static final Expectation pass = new Expectation._('Pass'); 8 static final Expectation pass = new Expectation._('Pass');
9 9
10 /// The process aborted in a way that is not a potential runtime error coming 10 /// The process aborted in a way that is not a potential runtime error coming
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 return true; 202 return true;
203 } 203 }
204 outcome = outcome._group; 204 outcome = outcome._group;
205 } 205 }
206 206
207 return false; 207 return false;
208 } 208 }
209 209
210 String toString() => _name; 210 String toString() => _name;
211 } 211 }
OLDNEW
« no previous file with comments | « pkg/status_file/lib/environment.dart ('k') | pkg/status_file/lib/src/expression.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698