| 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("test_suite"); | 5 #library("test_suite"); |
| 6 | 6 |
| 7 #import("status_file_parser.dart"); | 7 #import("status_file_parser.dart"); |
| 8 #import("test_runner.dart"); | 8 #import("test_runner.dart"); |
| 9 #import("multitest.dart"); | 9 #import("multitest.dart"); |
| 10 | 10 |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 RegExp pattern = configuration['selectors'][suiteName]; | 326 RegExp pattern = configuration['selectors'][suiteName]; |
| 327 if (!pattern.hasMatch(filename)) return; | 327 if (!pattern.hasMatch(filename)) return; |
| 328 if (filename.endsWith('test_config.dart')) return; | 328 if (filename.endsWith('test_config.dart')) return; |
| 329 | 329 |
| 330 var optionsFromFile = optionsFromFile(filename); | 330 var optionsFromFile = optionsFromFile(filename); |
| 331 Function createTestCase = makeTestCaseCreator(optionsFromFile); | 331 Function createTestCase = makeTestCaseCreator(optionsFromFile); |
| 332 | 332 |
| 333 if (optionsFromFile['isMultitest']) { | 333 if (optionsFromFile['isMultitest']) { |
| 334 testGeneratorStarted(); | 334 testGeneratorStarted(); |
| 335 DoMultitest(filename, | 335 DoMultitest(filename, |
| 336 TestUtils.outputDir(configuration), | 336 TestUtils.buildDir(configuration), |
| 337 directoryPath, | 337 directoryPath, |
| 338 createTestCase, | 338 createTestCase, |
| 339 testGeneratorDone); | 339 testGeneratorDone); |
| 340 } else { | 340 } else { |
| 341 createTestCase(filename, optionsFromFile['isNegative']); | 341 createTestCase(filename, optionsFromFile['isNegative']); |
| 342 } | 342 } |
| 343 } | 343 } |
| 344 | 344 |
| 345 void enqueueBrowserTest(String filename, | 345 void enqueueBrowserTest(String filename, |
| 346 String testName, | 346 String testName, |
| (...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 * $noCrash tests are expected to be flaky but not crash | 1018 * $noCrash tests are expected to be flaky but not crash |
| 1019 * $pass tests are expected to pass | 1019 * $pass tests are expected to pass |
| 1020 * $failOk tests are expected to fail that we won't fix | 1020 * $failOk tests are expected to fail that we won't fix |
| 1021 * $fail tests are expected to fail that we should fix | 1021 * $fail tests are expected to fail that we should fix |
| 1022 * $crash tests are expected to crash that we should fix | 1022 * $crash tests are expected to crash that we should fix |
| 1023 * $timeout tests are allowed to timeout | 1023 * $timeout tests are allowed to timeout |
| 1024 """; | 1024 """; |
| 1025 print(report); | 1025 print(report); |
| 1026 } | 1026 } |
| 1027 } | 1027 } |
| OLD | NEW |