| 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 1834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1845 | 1845 |
| 1846 return { | 1846 return { |
| 1847 "vmOptions": <List>[[]], | 1847 "vmOptions": <List>[[]], |
| 1848 "sharedOptions": <String>[], | 1848 "sharedOptions": <String>[], |
| 1849 "dartOptions": null, | 1849 "dartOptions": null, |
| 1850 "packageRoot": null, | 1850 "packageRoot": null, |
| 1851 "hasCompileError": hasCompileError, | 1851 "hasCompileError": hasCompileError, |
| 1852 "hasRuntimeError": hasRuntimeError, | 1852 "hasRuntimeError": hasRuntimeError, |
| 1853 "hasStaticWarning": hasStaticWarning, | 1853 "hasStaticWarning": hasStaticWarning, |
| 1854 "otherScripts": <String>[], | 1854 "otherScripts": <String>[], |
| 1855 "otherResources": <String>[], |
| 1855 "isMultitest": isMultitest, | 1856 "isMultitest": isMultitest, |
| 1856 "isMultiHtmlTest": false, | 1857 "isMultiHtmlTest": false, |
| 1857 "subtestNames": <String>[], | 1858 "subtestNames": <String>[], |
| 1858 "isolateStubs": '', | 1859 "isolateStubs": '', |
| 1859 "containsDomImport": false, | 1860 "containsDomImport": false, |
| 1860 }; | 1861 }; |
| 1861 } | 1862 } |
| 1862 } | 1863 } |
| 1863 | 1864 |
| 1864 /// Used for testing packages in on off settings, i.e., we pass in the actual | 1865 /// Used for testing packages in on off settings, i.e., we pass in the actual |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2503 } | 2504 } |
| 2504 if (path.length > WINDOWS_SHORTEN_PATH_LIMIT) { | 2505 if (path.length > WINDOWS_SHORTEN_PATH_LIMIT) { |
| 2505 ++shortNameCounter; | 2506 ++shortNameCounter; |
| 2506 var pathEnd = path.substring(path.length - WINDOWS_PATH_END_LENGTH); | 2507 var pathEnd = path.substring(path.length - WINDOWS_PATH_END_LENGTH); |
| 2507 path = "short${shortNameCounter}_$pathEnd"; | 2508 path = "short${shortNameCounter}_$pathEnd"; |
| 2508 } | 2509 } |
| 2509 } | 2510 } |
| 2510 return path; | 2511 return path; |
| 2511 } | 2512 } |
| 2512 } | 2513 } |
| OLD | NEW |