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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 'reg_exp_all_matches_test': whitelist, | 339 'reg_exp_all_matches_test': whitelist, |
340 'reg_exp_start_end_test': whitelist, | 340 'reg_exp_start_end_test': whitelist, |
341 'regress_r21715_test': fail, | 341 'regress_r21715_test': fail, |
342 'throw_half_surrogate_pair_test_02_multi': fail, | 342 'throw_half_surrogate_pair_test_02_multi': fail, |
343 'sort_test': whitelist, | 343 'sort_test': whitelist, |
344 'splay_tree_from_iterable_test': is.firefox('<=50') ? fail : pass, | 344 'splay_tree_from_iterable_test': is.firefox('<=50') ? fail : pass, |
345 'string_case_test_01_multi': firefox_fail, | 345 'string_case_test_01_multi': firefox_fail, |
346 'string_fromcharcodes_test': skip_timeout, | 346 'string_fromcharcodes_test': skip_timeout, |
347 'string_operations_with_null_test': fail, | 347 'string_operations_with_null_test': fail, |
348 'string_split_test': whitelist, | 348 'string_split_test': whitelist, |
349 'string_trimlr_test_01_multi': chrome_fail, | 349 'string_trimlr_test_01_multi': is.chrome('<=58') ? fail : pass, |
350 'string_trimlr_test_none_multi': chrome_fail, | 350 'string_trimlr_test_none_multi': is.chrome('<=58') ? fail : pass, |
351 'symbol_reserved_word_test_06_multi': fail, | 351 'symbol_reserved_word_test_06_multi': fail, |
352 'symbol_reserved_word_test_09_multi': fail, | 352 'symbol_reserved_word_test_09_multi': fail, |
353 'symbol_reserved_word_test_12_multi': fail, | 353 'symbol_reserved_word_test_12_multi': fail, |
354 'throw_half_surrogate_pair_test_01_multi': fail, | 354 'throw_half_surrogate_pair_test_01_multi': fail, |
355 'unicode_test': firefox_fail, | 355 'unicode_test': firefox_fail, |
356 'uri_parameters_all_test': is.firefox('<=50') ? fail : pass, | 356 'uri_parameters_all_test': is.firefox('<=50') ? fail : pass, |
357 // TODO(rnystrom): Times out because it tests a huge number of | 357 // TODO(rnystrom): Times out because it tests a huge number of |
358 // combinations of URLs (4 * 5 * 5 * 8 * 6 * 6 * 4 = 115200). | 358 // combinations of URLs (4 * 5 * 5 * 8 * 6 * 6 * 4 = 115200). |
359 'uri_parse_test': skip_timeout, | 359 'uri_parse_test': skip_timeout, |
360 'uri_test': 'slow', | 360 'uri_test': 'slow', |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 | 899 |
900 for (let action of unittest_tests) { | 900 for (let action of unittest_tests) { |
901 try { | 901 try { |
902 action(); | 902 action(); |
903 } catch (e) { | 903 } catch (e) { |
904 console.error("Caught error tying to setup test:", e); | 904 console.error("Caught error tying to setup test:", e); |
905 } | 905 } |
906 } | 906 } |
907 }); | 907 }); |
908 }); | 908 }); |
OLD | NEW |