OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 | 7 #import("dart:io"); |
8 #import("status_expression.dart"); | 8 #import("status_expression.dart"); |
9 | 9 |
10 // Possible outcomes of running a test. | 10 // Possible outcomes of running a test. |
11 final CRASH = "crash"; | 11 final CRASH = "crash"; |
12 final TIMEOUT = "timeout"; | 12 final TIMEOUT = "timeout"; |
13 final FAIL = "fail"; | 13 final FAIL = "fail"; |
14 final PASS = "pass"; | 14 final PASS = "pass"; |
15 // An indication to skip the test. The caller is responsible for skipping it. | 15 // An indication to skip the test. The caller is responsible for skipping it. |
16 final SKIP = "skip"; | 16 final SKIP = "skip"; |
17 final OK = "ok"; | 17 final OK = "ok"; |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 } | 243 } |
244 regExps[i] = regExp; | 244 regExps[i] = regExp; |
245 } | 245 } |
246 _keyToRegExps[key] = regExps; | 246 _keyToRegExps[key] = regExps; |
247 }); | 247 }); |
248 | 248 |
249 _regExpCache = null; | 249 _regExpCache = null; |
250 _preprocessed = true; | 250 _preprocessed = true; |
251 } | 251 } |
252 } | 252 } |
OLD | NEW |