| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 let num_expected_unittest_fails = 3; | 45 let num_expected_unittest_fails = 3; |
| 46 let num_expected_unittest_errors = 0; | 46 let num_expected_unittest_errors = 0; |
| 47 | 47 |
| 48 // TODO(jmesserly): separate StrongModeError from other errors. | 48 // TODO(jmesserly): separate StrongModeError from other errors. |
| 49 let all_status = { | 49 let all_status = { |
| 50 'language': { | 50 'language': { |
| 51 'assert_with_type_test_or_cast_test': skip_fail, | 51 'assert_with_type_test_or_cast_test': skip_fail, |
| 52 'assertion_test': skip_fail, | 52 'assertion_test': skip_fail, |
| 53 'async_await_test_none_multi': 'unittest', | 53 'async_await_test_none_multi': 'unittest', |
| 54 'async_await_test_02_multi': 'unittest', | 54 'async_await_test_02_multi': 'unittest', |
| 55 'async_await_test_03_multi': skip_fail, // Flaky on travis (#634) | 55 'async_await_test_03_multi': skip_fail, // Flaky on travis (#27224) |
| 56 'async_star_await_pauses_test': skip_fail, | 56 'async_star_await_pauses_test': skip_fail, |
| 57 | 57 |
| 58 // TODO(jmesserly): figure out why this test is hanging. | 58 // TODO(jmesserly): figure out why this test is hanging. |
| 59 'async_star_cancel_and_throw_in_finally_test': skip_timeout, | 59 'async_star_cancel_and_throw_in_finally_test': skip_timeout, |
| 60 | 60 |
| 61 'async_star_cancel_while_paused_test': skip_fail, | 61 'async_star_cancel_while_paused_test': skip_fail, |
| 62 'async_star_regression_fisk_test': skip_fail, | 62 'async_star_regression_fisk_test': skip_fail, |
| 63 | 63 |
| 64 // TODO(vsm): Re-enable. | 64 // TODO(vsm): Re-enable (#28319) |
| 65 // See https://github.com/dart-lang/dev_compiler/issues/456 | |
| 66 'async_star_test_none_multi': ['unittest', 'skip', 'fail'], | 65 'async_star_test_none_multi': ['unittest', 'skip', 'fail'], |
| 67 'async_star_test_01_multi': ['unittest', 'skip', 'fail'], | 66 'async_star_test_01_multi': ['unittest', 'skip', 'fail'], |
| 68 'async_star_test_02_multi': ['unittest', 'skip', 'fail'], | 67 'async_star_test_02_multi': ['unittest', 'skip', 'fail'], |
| 69 'async_star_test_03_multi': ['unittest', 'skip', 'fail'], | 68 'async_star_test_03_multi': ['unittest', 'skip', 'fail'], |
| 70 'async_star_test_04_multi': ['unittest', 'skip', 'fail'], | 69 'async_star_test_04_multi': ['unittest', 'skip', 'fail'], |
| 71 'async_star_test_05_multi': ['unittest', 'skip', 'fail'], | 70 'async_star_test_05_multi': ['unittest', 'skip', 'fail'], |
| 72 | 71 |
| 73 'async_switch_test': skip_fail, | 72 'async_switch_test': skip_fail, |
| 74 'asyncstar_throw_in_catch_test': skip_fail, | 73 'asyncstar_throw_in_catch_test': skip_fail, |
| 75 'await_future_test': skip_fail, | 74 'await_future_test': skip_fail, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 88 'cast_test_03_multi': skip_fail, | 87 'cast_test_03_multi': skip_fail, |
| 89 'cast_test_07_multi': skip_fail, | 88 'cast_test_07_multi': skip_fail, |
| 90 'cast_test_10_multi': skip_fail, | 89 'cast_test_10_multi': skip_fail, |
| 91 'cast_test_12_multi': skip_fail, | 90 'cast_test_12_multi': skip_fail, |
| 92 'cast_test_13_multi': skip_fail, | 91 'cast_test_13_multi': skip_fail, |
| 93 'cast_test_14_multi': skip_fail, | 92 'cast_test_14_multi': skip_fail, |
| 94 'cast_test_15_multi': skip_fail, | 93 'cast_test_15_multi': skip_fail, |
| 95 'cha_deopt1_test': skip_fail, | 94 'cha_deopt1_test': skip_fail, |
| 96 'cha_deopt2_test': skip_fail, | 95 'cha_deopt2_test': skip_fail, |
| 97 'cha_deopt3_test': skip_fail, | 96 'cha_deopt3_test': skip_fail, |
| 98 | |
| 99 // interpolation does not call Dart's toString: | |
| 100 // https://github.com/dart-lang/dev_compiler/issues/470 | |
| 101 'class_syntax2_test': skip_fail, | 97 'class_syntax2_test': skip_fail, |
| 102 'classes_static_method_clash_test': skip_fail, | 98 'classes_static_method_clash_test': skip_fail, |
| 103 'closure_call_wrong_argument_count_negative_test': skip_fail, | 99 'closure_call_wrong_argument_count_negative_test': skip_fail, |
| 104 'closure_in_constructor_test': skip_fail, | 100 'closure_in_constructor_test': skip_fail, |
| 105 'closures_initializer_test': skip_fail, | 101 'closures_initializer_test': skip_fail, |
| 106 'code_after_try_is_executed_test_01_multi': skip_fail, | 102 'code_after_try_is_executed_test_01_multi': skip_fail, |
| 107 'compile_time_constant10_test_none_multi': skip_fail, | 103 'compile_time_constant10_test_none_multi': skip_fail, |
| 108 'compile_time_constant_a_test': skip_fail, | 104 'compile_time_constant_a_test': skip_fail, |
| 109 'compile_time_constant_b_test': skip_fail, | 105 'compile_time_constant_b_test': skip_fail, |
| 110 'compile_time_constant_d_test': skip_fail, | 106 'compile_time_constant_d_test': skip_fail, |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 'default_arguments_test': fail, | 396 'default_arguments_test': fail, |
| 401 'UC16_test': firefox_fail, | 397 'UC16_test': firefox_fail, |
| 402 }, | 398 }, |
| 403 | 399 |
| 404 'lib/collection': { | 400 'lib/collection': { |
| 405 }, | 401 }, |
| 406 | 402 |
| 407 'lib/convert': { | 403 'lib/convert': { |
| 408 'encoding_test': skip_timeout, | 404 'encoding_test': skip_timeout, |
| 409 | 405 |
| 410 // TODO(jmesserly): this is in an inconsistent state between our old and | |
| 411 // newer SDKs. | |
| 412 'html_escape_test': ['skip'], | |
| 413 | |
| 414 'json_utf8_chunk_test': skip_timeout, | 406 'json_utf8_chunk_test': skip_timeout, |
| 415 'latin1_test': skip_timeout, | 407 'latin1_test': skip_timeout, |
| 416 | 408 |
| 417 'streamed_conversion_json_encode1_test': skip_timeout, | 409 'streamed_conversion_json_encode1_test': skip_timeout, |
| 418 'streamed_conversion_json_utf8_decode_test': skip_timeout, | 410 'streamed_conversion_json_utf8_decode_test': skip_timeout, |
| 419 'streamed_conversion_json_utf8_encode_test': skip_timeout, | 411 'streamed_conversion_json_utf8_encode_test': skip_timeout, |
| 420 'streamed_conversion_utf8_decode_test': skip_timeout, | 412 'streamed_conversion_utf8_decode_test': skip_timeout, |
| 421 'streamed_conversion_utf8_encode_test': skip_timeout, | 413 'streamed_conversion_utf8_encode_test': skip_timeout, |
| 422 'utf85_test': skip_timeout, | 414 'utf85_test': skip_timeout, |
| 423 }, | 415 }, |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 | 835 |
| 844 for (let action of unittest_tests) { | 836 for (let action of unittest_tests) { |
| 845 try { | 837 try { |
| 846 action(); | 838 action(); |
| 847 } catch (e) { | 839 } catch (e) { |
| 848 console.error("Caught error tying to setup test:", e); | 840 console.error("Caught error tying to setup test:", e); |
| 849 } | 841 } |
| 850 } | 842 } |
| 851 }); | 843 }); |
| 852 }); | 844 }); |
| OLD | NEW |