| 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 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1188 } | 1188 } |
| 1189 } | 1189 } |
| 1190 | 1190 |
| 1191 String get contentShellFilename { | 1191 String get contentShellFilename { |
| 1192 if (configuration['drt'] != '') { | 1192 if (configuration['drt'] != '') { |
| 1193 return configuration['drt']; | 1193 return configuration['drt']; |
| 1194 } | 1194 } |
| 1195 if (Platform.operatingSystem == 'macos') { | 1195 if (Platform.operatingSystem == 'macos') { |
| 1196 final path = dartDir.append( | 1196 final path = dartDir.append( |
| 1197 '/client/tests/drt/Content Shell.app/Contents/MacOS/Content Shell'); | 1197 '/client/tests/drt/Content Shell.app/Contents/MacOS/Content Shell'); |
| 1198 return '"${path.toNativePath()}"'; | 1198 return path.toNativePath(); |
| 1199 } | 1199 } |
| 1200 return dartDir.append('client/tests/drt/content_shell').toNativePath(); | 1200 return dartDir.append('client/tests/drt/content_shell').toNativePath(); |
| 1201 } | 1201 } |
| 1202 | 1202 |
| 1203 String get dartiumFilename { | 1203 String get dartiumFilename { |
| 1204 if (configuration['dartium'] != '') { | 1204 if (configuration['dartium'] != '') { |
| 1205 return configuration['dartium']; | 1205 return configuration['dartium']; |
| 1206 } | 1206 } |
| 1207 if (Platform.operatingSystem == 'macos') { | 1207 if (Platform.operatingSystem == 'macos') { |
| 1208 return dartDir.append('client/tests/dartium/Chromium.app/Contents/' | 1208 return dartDir.append('client/tests/dartium/Chromium.app/Contents/' |
| (...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1946 * $pass tests are expected to pass | 1946 * $pass tests are expected to pass |
| 1947 * $failOk tests are expected to fail that we won't fix | 1947 * $failOk tests are expected to fail that we won't fix |
| 1948 * $fail tests are expected to fail that we should fix | 1948 * $fail tests are expected to fail that we should fix |
| 1949 * $crash tests are expected to crash that we should fix | 1949 * $crash tests are expected to crash that we should fix |
| 1950 * $timeout tests are allowed to timeout | 1950 * $timeout tests are allowed to timeout |
| 1951 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 1951 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
| 1952 """; | 1952 """; |
| 1953 print(report); | 1953 print(report); |
| 1954 } | 1954 } |
| 1955 } | 1955 } |
| OLD | NEW |