| 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', 'unittest', 'require'], | 5 define(['dart_sdk', 'async_helper', 'unittest', 'require'], |
| 6 function(dart_sdk, async_helper, unittest, require) { | 6 function(dart_sdk, async_helper, unittest, require) { |
| 7 'use strict'; | 7 'use strict'; |
| 8 | 8 |
| 9 async_helper = async_helper.async_helper; | 9 async_helper = async_helper.async_helper; |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // there are a lot of broken html unittests. | 29 // there are a lot of broken html unittests. |
| 30 let num_expected_unittest_fails = 3; | 30 let num_expected_unittest_fails = 3; |
| 31 let num_expected_unittest_errors = 2; | 31 let num_expected_unittest_errors = 2; |
| 32 | 32 |
| 33 // TODO(jmesserly): separate StrongModeError from other errors. | 33 // TODO(jmesserly): separate StrongModeError from other errors. |
| 34 let all_status = { | 34 let all_status = { |
| 35 'language': { | 35 'language': { |
| 36 'assert_with_type_test_or_cast_test': skip_fail, | 36 'assert_with_type_test_or_cast_test': skip_fail, |
| 37 'assertion_test': skip_fail, | 37 'assertion_test': skip_fail, |
| 38 'async_await_test_none_multi': 'unittest', | 38 'async_await_test_none_multi': 'unittest', |
| 39 'async_await_test_03_multi': skip_fail, // Flaky on travis (#634) |
| 39 'async_star_await_pauses_test': skip_fail, | 40 'async_star_await_pauses_test': skip_fail, |
| 40 | 41 |
| 41 // TODO(jmesserly): figure out why this test is hanging. | 42 // TODO(jmesserly): figure out why this test is hanging. |
| 42 'async_star_cancel_and_throw_in_finally_test': skip_timeout, | 43 'async_star_cancel_and_throw_in_finally_test': skip_timeout, |
| 43 | 44 |
| 44 'async_star_cancel_while_paused_test': skip_fail, | 45 'async_star_cancel_while_paused_test': skip_fail, |
| 45 'async_star_regression_fisk_test': skip_fail, | 46 'async_star_regression_fisk_test': skip_fail, |
| 46 | 47 |
| 47 // TODO(vsm): Re-enable. | 48 // TODO(vsm): Re-enable. |
| 48 // See https://github.com/dart-lang/dev_compiler/issues/456 | 49 // See https://github.com/dart-lang/dev_compiler/issues/456 |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 873 | 874 |
| 874 for (let action of unittest_tests) { | 875 for (let action of unittest_tests) { |
| 875 try { | 876 try { |
| 876 action(); | 877 action(); |
| 877 } catch (e) { | 878 } catch (e) { |
| 878 console.error("Caught error tying to setup test:", e); | 879 console.error("Caught error tying to setup test:", e); |
| 879 } | 880 } |
| 880 } | 881 } |
| 881 }); | 882 }); |
| 882 }); | 883 }); |
| OLD | NEW |