Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 /** | 5 /** |
| 6 * Classes and methods for enumerating and preparing tests. | 6 * Classes and methods for enumerating and preparing tests. |
| 7 * | 7 * |
| 8 * This library includes: | 8 * This library includes: |
| 9 * | 9 * |
| 10 * - Creating tests by listing all the Dart files in certain directories, | 10 * - Creating tests by listing all the Dart files in certain directories, |
| (...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1510 stderr.writeln( | 1510 stderr.writeln( |
| 1511 "Warning: deprecated @dynamic-type-error tag used in $filePath"); | 1511 "Warning: deprecated @dynamic-type-error tag used in $filePath"); |
| 1512 } | 1512 } |
| 1513 | 1513 |
| 1514 return { | 1514 return { |
| 1515 "vmOptions": <List>[[]], | 1515 "vmOptions": <List>[[]], |
| 1516 "dartOptions": null, | 1516 "dartOptions": null, |
| 1517 "packageRoot": null, | 1517 "packageRoot": null, |
| 1518 "hasCompileError": hasCompileError, | 1518 "hasCompileError": hasCompileError, |
| 1519 "hasRuntimeError": hasRuntimeError, | 1519 "hasRuntimeError": hasRuntimeError, |
| 1520 "isStaticClean" : !hasStaticWarning, | 1520 "isStaticClean" : !hasCompileError && !hasStaticWarning, |
|
kustermann
2013/07/01 11:58:38
If I look into test_runner.dart:AnalysisCommandOut
scheglov
2013/07/02 21:19:42
"isStaticClean" is IMHO exactly what it says - it
| |
| 1521 "otherScripts": <String>[], | 1521 "otherScripts": <String>[], |
| 1522 "isMultitest": isMultitest, | 1522 "isMultitest": isMultitest, |
| 1523 "isMultiHtmlTest": false, | 1523 "isMultiHtmlTest": false, |
| 1524 "subtestNames": <String>[], | 1524 "subtestNames": <String>[], |
| 1525 "isolateStubs": '', | 1525 "isolateStubs": '', |
| 1526 "containsDomImport": false, | 1526 "containsDomImport": false, |
| 1527 "numStaticTypeAnnotations": 0, | 1527 "numStaticTypeAnnotations": 0, |
| 1528 "numCompileTimeAnnotations": 0, | 1528 "numCompileTimeAnnotations": 0, |
| 1529 }; | 1529 }; |
| 1530 } | 1530 } |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1965 * $pass tests are expected to pass | 1965 * $pass tests are expected to pass |
| 1966 * $failOk tests are expected to fail that we won't fix | 1966 * $failOk tests are expected to fail that we won't fix |
| 1967 * $fail tests are expected to fail that we should fix | 1967 * $fail tests are expected to fail that we should fix |
| 1968 * $crash tests are expected to crash that we should fix | 1968 * $crash tests are expected to crash that we should fix |
| 1969 * $timeout tests are allowed to timeout | 1969 * $timeout tests are allowed to timeout |
| 1970 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 1970 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
| 1971 """; | 1971 """; |
| 1972 print(report); | 1972 print(report); |
| 1973 } | 1973 } |
| 1974 } | 1974 } |
| OLD | NEW |