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("dart:io"); | 7 #import("dart:io"); |
8 #import("status_file_parser.dart"); | 8 #import("status_file_parser.dart"); |
9 #import("test_runner.dart"); | 9 #import("test_runner.dart"); |
10 #import("multitest.dart"); | 10 #import("multitest.dart"); |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 case 'frogium': | 574 case 'frogium': |
575 case 'webdriver': | 575 case 'webdriver': |
576 return 'text/javascript'; | 576 return 'text/javascript'; |
577 default: | 577 default: |
578 Expect.fail('Unimplemented component scriptType'); | 578 Expect.fail('Unimplemented component scriptType'); |
579 return null; | 579 return null; |
580 } | 580 } |
581 } | 581 } |
582 | 582 |
583 String getHtmlName(String filename) { | 583 String getHtmlName(String filename) { |
584 return filename.replaceAll('/', '_') + configuration['component'] + '.html'; | 584 return filename.replaceAll('/', '_').replaceAll(':', '_') |
| 585 + configuration['component'] + '.html'; |
585 } | 586 } |
586 | 587 |
587 String get dumpRenderTreeFilename() { | 588 String get dumpRenderTreeFilename() { |
588 if (new Platform().operatingSystem() == 'macos') { | 589 if (new Platform().operatingSystem() == 'macos') { |
589 return 'client/tests/drt/DumpRenderTree.app/Contents/' + | 590 return 'client/tests/drt/DumpRenderTree.app/Contents/' + |
590 'MacOS/DumpRenderTree'; | 591 'MacOS/DumpRenderTree'; |
591 } | 592 } |
592 return 'client/tests/drt/DumpRenderTree'; | 593 return 'client/tests/drt/DumpRenderTree'; |
593 } | 594 } |
594 | 595 |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 * $noCrash tests are expected to be flaky but not crash | 1060 * $noCrash tests are expected to be flaky but not crash |
1060 * $pass tests are expected to pass | 1061 * $pass tests are expected to pass |
1061 * $failOk tests are expected to fail that we won't fix | 1062 * $failOk tests are expected to fail that we won't fix |
1062 * $fail tests are expected to fail that we should fix | 1063 * $fail tests are expected to fail that we should fix |
1063 * $crash tests are expected to crash that we should fix | 1064 * $crash tests are expected to crash that we should fix |
1064 * $timeout tests are allowed to timeout | 1065 * $timeout tests are allowed to timeout |
1065 """; | 1066 """; |
1066 print(report); | 1067 print(report); |
1067 } | 1068 } |
1068 } | 1069 } |
OLD | NEW |