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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 'encoding_test': skip_timeout, | 467 'encoding_test': skip_timeout, |
468 | 468 |
| 469 // TODO(jmesserly): this is in an inconsistent state between our old and |
| 470 // newer SDKs. |
| 471 'html_escape_test': skip_fail, |
| 472 |
469 // TODO(rnystrom): If this test is enabled, karma gets confused and | 473 // TODO(rnystrom): If this test is enabled, karma gets confused and |
470 // disconnects randomly. | 474 // disconnects randomly. |
471 'json_lib_test': skip_fail, | 475 'json_lib_test': skip_fail, |
472 | 476 |
473 'json_utf8_chunk_test': skip_timeout, | 477 'json_utf8_chunk_test': skip_timeout, |
474 | 478 |
475 // TODO(rnystrom): Strong mode cast failure. | 479 // TODO(rnystrom): Strong mode cast failure. |
476 'line_splitter_test': fail, | 480 'line_splitter_test': fail, |
477 | 481 |
478 'streamed_conversion_json_encode1_test': skip_timeout, | 482 'streamed_conversion_json_encode1_test': skip_timeout, |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 | 813 |
810 for (let action of unittest_tests) { | 814 for (let action of unittest_tests) { |
811 try { | 815 try { |
812 action(); | 816 action(); |
813 } catch (e) { | 817 } catch (e) { |
814 console.error("Caught error tying to setup test:", e); | 818 console.error("Caught error tying to setup test:", e); |
815 } | 819 } |
816 } | 820 } |
817 }); | 821 }); |
818 })(); | 822 })(); |
OLD | NEW |