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 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1174 default: | 1174 default: |
| 1175 return true; | 1175 return true; |
| 1176 } | 1176 } |
| 1177 } | 1177 } |
| 1178 | 1178 |
| 1179 String get contentShellFilename { | 1179 String get contentShellFilename { |
| 1180 if (configuration['drt'] != '') { | 1180 if (configuration['drt'] != '') { |
| 1181 return configuration['drt']; | 1181 return configuration['drt']; |
| 1182 } | 1182 } |
| 1183 if (Platform.operatingSystem == 'macos') { | 1183 if (Platform.operatingSystem == 'macos') { |
| 1184 return dartDir.append('/client/tests/drt/Content Shell.app/Contents/' | 1184 return dartDir.append('"/client/tests/drt/Content Shell.app/Contents/' |
|
Emily Fortuna
2013/05/29 17:56:16
I think you actually want this:
return '"${dartDi
Anton Muhin
2013/05/29 18:16:13
My bad, thanks a lot for spotting.
BTW, shouldn't
| |
| 1185 'MacOS/Content Shell').toNativePath(); | 1185 'MacOS/Content Shell"').toNativePath(); |
| 1186 } | 1186 } |
| 1187 return dartDir.append('client/tests/drt/content_shell').toNativePath(); | 1187 return dartDir.append('client/tests/drt/content_shell').toNativePath(); |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 String get dartiumFilename { | 1190 String get dartiumFilename { |
| 1191 if (configuration['dartium'] != '') { | 1191 if (configuration['dartium'] != '') { |
| 1192 return configuration['dartium']; | 1192 return configuration['dartium']; |
| 1193 } | 1193 } |
| 1194 if (Platform.operatingSystem == 'macos') { | 1194 if (Platform.operatingSystem == 'macos') { |
| 1195 return dartDir.append('client/tests/dartium/Chromium.app/Contents/' | 1195 return dartDir.append('client/tests/dartium/Chromium.app/Contents/' |
| (...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1933 * $pass tests are expected to pass | 1933 * $pass tests are expected to pass |
| 1934 * $failOk tests are expected to fail that we won't fix | 1934 * $failOk tests are expected to fail that we won't fix |
| 1935 * $fail tests are expected to fail that we should fix | 1935 * $fail tests are expected to fail that we should fix |
| 1936 * $crash tests are expected to crash that we should fix | 1936 * $crash tests are expected to crash that we should fix |
| 1937 * $timeout tests are allowed to timeout | 1937 * $timeout tests are allowed to timeout |
| 1938 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 1938 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
| 1939 """; | 1939 """; |
| 1940 print(report); | 1940 print(report); |
| 1941 } | 1941 } |
| 1942 } | 1942 } |
| OLD | NEW |