| 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 (function() { | 5 (function() { |
| 6 'use strict'; | 6 'use strict'; |
| 7 | 7 |
| 8 let dart_sdk = dart_library.import('dart_sdk'); | 8 let dart_sdk = dart_library.import('dart_sdk'); |
| 9 dart_sdk._isolate_helper.startRootIsolate(function() {}, []); | 9 dart_sdk._isolate_helper.startRootIsolate(function() {}, []); |
| 10 let async_helper = dart_library.import('async_helper').async_helper; | 10 let async_helper = dart_library.import('async_helper').async_helper; |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 // difference between -0.0 and 0? | 457 // difference between -0.0 and 0? |
| 458 'chunked_conversion_json_encode1_test': fail, | 458 'chunked_conversion_json_encode1_test': fail, |
| 459 | 459 |
| 460 // TODO(rnystrom): A lot of the convert tests timeout. Some do pass if | 460 // TODO(rnystrom): A lot of the convert tests timeout. Some do pass if |
| 461 // you increase the time by a large amount, but it's pretty gratuitous. | 461 // you increase the time by a large amount, but it's pretty gratuitous. |
| 462 // I'm not sure why they are so slow. One guess is that they are spewing | 462 // I'm not sure why they are so slow. One guess is that they are spewing |
| 463 // a ton of warnings, that slow down the test. | 463 // a ton of warnings, that slow down the test. |
| 464 'chunked_conversion_utf84_test': skip_timeout, | 464 'chunked_conversion_utf84_test': skip_timeout, |
| 465 'chunked_conversion_utf88_test': skip_timeout, | 465 'chunked_conversion_utf88_test': skip_timeout, |
| 466 'chunked_conversion_utf8_test': skip_timeout, | 466 'chunked_conversion_utf8_test': skip_timeout, |
| 467 | |
| 468 // TODO(rnystrom): Strong mode cast failures. | |
| 469 'codec1_test': fail, | |
| 470 'encoding_test': skip_timeout, | 467 'encoding_test': skip_timeout, |
| 471 | 468 |
| 472 // TODO(rnystrom): If this test is enabled, karma gets confused and | 469 // TODO(rnystrom): If this test is enabled, karma gets confused and |
| 473 // disconnects randomly. | 470 // disconnects randomly. |
| 474 'json_lib_test': skip_fail, | 471 'json_lib_test': skip_fail, |
| 475 | 472 |
| 476 'json_utf8_chunk_test': skip_timeout, | 473 'json_utf8_chunk_test': skip_timeout, |
| 477 | 474 |
| 478 // TODO(rnystrom): Strong mode cast failure. | 475 // TODO(rnystrom): Strong mode cast failure. |
| 479 'line_splitter_test': fail, | 476 'line_splitter_test': fail, |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 | 809 |
| 813 for (let action of unittest_tests) { | 810 for (let action of unittest_tests) { |
| 814 try { | 811 try { |
| 815 action(); | 812 action(); |
| 816 } catch (e) { | 813 } catch (e) { |
| 817 console.error("Caught error tying to setup test:", e); | 814 console.error("Caught error tying to setup test:", e); |
| 818 } | 815 } |
| 819 } | 816 } |
| 820 }); | 817 }); |
| 821 })(); | 818 })(); |
| OLD | NEW |