OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'is', 'require'], | 5 define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'is', 'require'], |
6 function(dart_sdk, async_helper, expect, unittest, is, require) { | 6 function(dart_sdk, async_helper, expect, unittest, is, require) { |
7 'use strict'; | 7 'use strict'; |
8 | 8 |
9 async_helper = async_helper.async_helper; | 9 async_helper = async_helper.async_helper; |
10 let minitest = expect.minitest; | 10 let minitest = expect.minitest; |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 'uri_test': firefox_fail, | 393 'uri_test': firefox_fail, |
394 | 394 |
395 'list_insert_test': fail, | 395 'list_insert_test': fail, |
396 'list_removeat_test': fail, | 396 'list_removeat_test': fail, |
397 'set_test': fail, // runtime strong mode reject | 397 'set_test': fail, // runtime strong mode reject |
398 }, | 398 }, |
399 | 399 |
400 'corelib/regexp': { | 400 'corelib/regexp': { |
401 'default_arguments_test': fail, | 401 'default_arguments_test': fail, |
402 'UC16_test': firefox_fail, | 402 'UC16_test': firefox_fail, |
403 'unicodeCaseInsensitive_test': firefox_fail | |
404 }, | 403 }, |
405 | 404 |
406 'lib/convert': { | 405 'lib/convert': { |
407 'encoding_test': skip_timeout, | 406 'encoding_test': skip_timeout, |
408 | 407 |
409 // TODO(jmesserly): this is in an inconsistent state between our old and | 408 // TODO(jmesserly): this is in an inconsistent state between our old and |
410 // newer SDKs. | 409 // newer SDKs. |
411 'html_escape_test': ['skip'], | 410 'html_escape_test': ['skip'], |
412 | 411 |
413 'json_utf8_chunk_test': skip_timeout, | 412 'json_utf8_chunk_test': skip_timeout, |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 'to_string_test': fail, | 670 'to_string_test': fail, |
672 'type_argument_is_type_variable_test': fail, | 671 'type_argument_is_type_variable_test': fail, |
673 'type_variable_is_static_test': fail, | 672 'type_variable_is_static_test': fail, |
674 'type_variable_owner_test_01_multi': fail, | 673 'type_variable_owner_test_01_multi': fail, |
675 'type_variable_owner_test_none_multi': fail, | 674 'type_variable_owner_test_none_multi': fail, |
676 'typedef_deferred_library_test': skip_fail, // Isolate spawn not support | 675 'typedef_deferred_library_test': skip_fail, // Isolate spawn not support |
677 'typedef_library_test': fail, | 676 'typedef_library_test': fail, |
678 'typedef_metadata_test': fail, | 677 'typedef_metadata_test': fail, |
679 'typedef_test': fail, | 678 'typedef_test': fail, |
680 'typevariable_mirror_metadata_test': fail, | 679 'typevariable_mirror_metadata_test': fail, |
681 'unmangled_type_test': firefox_fail, | |
682 'unnamed_library_test': fail, | 680 'unnamed_library_test': fail, |
683 'variable_is_const_test_none_multi': fail, | 681 'variable_is_const_test_none_multi': fail, |
684 }, | 682 }, |
685 }; | 683 }; |
686 | 684 |
687 function countMatches(text, regex) { | 685 function countMatches(text, regex) { |
688 let matches = text.match(regex); | 686 let matches = text.match(regex); |
689 return matches ? matches.length : 0; | 687 return matches ? matches.length : 0; |
690 } | 688 } |
691 function libraryName(name) { | 689 function libraryName(name) { |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
843 | 841 |
844 for (let action of unittest_tests) { | 842 for (let action of unittest_tests) { |
845 try { | 843 try { |
846 action(); | 844 action(); |
847 } catch (e) { | 845 } catch (e) { |
848 console.error("Caught error tying to setup test:", e); | 846 console.error("Caught error tying to setup test:", e); |
849 } | 847 } |
850 } | 848 } |
851 }); | 849 }); |
852 }); | 850 }); |
OLD | NEW |