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

Side by Side Diff: tools/testing/dart/status_file_parser.dart

Issue 748773004: tools/testing: move code into individual libraries (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | Annotate | Revision Log
« no previous file with comments | « tools/testing/dart/record_and_replay.dart ('k') | tools/testing/dart/test_configurations.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 status_file_parser; 5 library status_file_parser;
6 6
7 import "dart:async"; 7 import "dart:async";
8 import "dart:convert" show LineSplitter, UTF8; 8 import "dart:convert" show LineSplitter, UTF8;
9 import "dart:io"; 9 import "dart:io";
10 10
11 import "path.dart";
11 import "status_expression.dart"; 12 import "status_expression.dart";
12 import "utils.dart" show Path;
13 13
14 class Expectation { 14 class Expectation {
15 // Possible outcomes of running a test. 15 // Possible outcomes of running a test.
16 static Expectation PASS = byName('Pass'); 16 static Expectation PASS = byName('Pass');
17 static Expectation CRASH = byName('Crash'); 17 static Expectation CRASH = byName('Crash');
18 static Expectation TIMEOUT = byName('Timeout'); 18 static Expectation TIMEOUT = byName('Timeout');
19 static Expectation FAIL = byName('Fail'); 19 static Expectation FAIL = byName('Fail');
20 20
21 // Special 'FAIL' cases 21 // Special 'FAIL' cases
22 static Expectation RUNTIME_ERROR = byName('RuntimeError'); 22 static Expectation RUNTIME_ERROR = byName('RuntimeError');
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 } 343 }
344 regExps[i] = regExp; 344 regExps[i] = regExp;
345 } 345 }
346 _keyToRegExps[key] = regExps; 346 _keyToRegExps[key] = regExps;
347 }); 347 });
348 348
349 _regExpCache = null; 349 _regExpCache = null;
350 _preprocessed = true; 350 _preprocessed = true;
351 } 351 }
352 } 352 }
OLDNEW
« no previous file with comments | « tools/testing/dart/record_and_replay.dart ('k') | tools/testing/dart/test_configurations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698