| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 | 265 |
| 266 // https://github.com/dart-lang/sdk/issues/26124 | 266 // https://github.com/dart-lang/sdk/issues/26124 |
| 267 'prefix10_negative_test': fail, | 267 'prefix10_negative_test': fail, |
| 268 | 268 |
| 269 'library_prefixes_test1': 'helper', | 269 'library_prefixes_test1': 'helper', |
| 270 'library_prefixes_test2': 'helper', | 270 'library_prefixes_test2': 'helper', |
| 271 'top_level_prefixed_library_test': 'helper', | 271 'top_level_prefixed_library_test': 'helper', |
| 272 | 272 |
| 273 }, | 273 }, |
| 274 | 274 |
| 275 'language/covariant_override': {}, |
| 276 |
| 275 'corelib': { | 277 'corelib': { |
| 276 'apply2_test': fail, | 278 'apply2_test': fail, |
| 277 'apply3_test': fail, | 279 'apply3_test': fail, |
| 278 'apply_test': fail, | 280 'apply_test': fail, |
| 279 'big_integer_parsed_arith_vm_test': fail, | 281 'big_integer_parsed_arith_vm_test': fail, |
| 280 'big_integer_parsed_div_rem_vm_test': fail, | 282 'big_integer_parsed_div_rem_vm_test': fail, |
| 281 'big_integer_parsed_mul_div_vm_test': fail, | 283 'big_integer_parsed_mul_div_vm_test': fail, |
| 282 'bit_twiddling_bigint_test': fail, | 284 'bit_twiddling_bigint_test': fail, |
| 283 'collection_length_test': skip_timeout, | 285 'collection_length_test': skip_timeout, |
| 284 'compare_to2_test': fail, | 286 'compare_to2_test': fail, |
| (...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 window.onerror = function(message, url, line, column, error) { | 789 window.onerror = function(message, url, line, column, error) { |
| 788 console.warn('Asynchronous error in ' + name + ': ' + message); | 790 console.warn('Asynchronous error in ' + name + ': ' + message); |
| 789 if (!error) { | 791 if (!error) { |
| 790 error = new Error(message); | 792 error = new Error(message); |
| 791 } | 793 } |
| 792 finish(error); | 794 finish(error); |
| 793 }; | 795 }; |
| 794 | 796 |
| 795 async_helper.asyncTestInitialize(finish); | 797 async_helper.asyncTestInitialize(finish); |
| 796 if (has('slow')) this.timeout(10000); | 798 if (has('slow')) this.timeout(10000); |
| 797 | 799 |
| 798 var result; | 800 var result; |
| 799 try { | 801 try { |
| 800 var result = mainLibrary.main(); | 802 var result = mainLibrary.main(); |
| 801 if (result && !(result instanceof dart_sdk.async.Future)) { | 803 if (result && !(result instanceof dart_sdk.async.Future)) { |
| 802 result = null; | 804 result = null; |
| 803 } | 805 } |
| 804 } catch (e) { | 806 } catch (e) { |
| 805 finish(e); | 807 finish(e); |
| 806 } | 808 } |
| 807 | 809 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 876 | 878 |
| 877 for (let action of unittest_tests) { | 879 for (let action of unittest_tests) { |
| 878 try { | 880 try { |
| 879 action(); | 881 action(); |
| 880 } catch (e) { | 882 } catch (e) { |
| 881 console.error("Caught error tying to setup test:", e); | 883 console.error("Caught error tying to setup test:", e); |
| 882 } | 884 } |
| 883 } | 885 } |
| 884 }); | 886 }); |
| 885 }); | 887 }); |
| OLD | NEW |