| 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', 'require'], | 5 define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'require'], |
| 6 function(dart_sdk, async_helper, expect, unittest, require) { | 6 function(dart_sdk, async_helper, expect, 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 let minitest = expect.minitest; | 10 let minitest = expect.minitest; |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 'streamed_conversion_json_utf8_decode_test': skip_timeout, | 406 'streamed_conversion_json_utf8_decode_test': skip_timeout, |
| 407 'streamed_conversion_json_utf8_encode_test': skip_timeout, | 407 'streamed_conversion_json_utf8_encode_test': skip_timeout, |
| 408 'streamed_conversion_utf8_decode_test': skip_timeout, | 408 'streamed_conversion_utf8_decode_test': skip_timeout, |
| 409 'streamed_conversion_utf8_encode_test': skip_timeout, | 409 'streamed_conversion_utf8_encode_test': skip_timeout, |
| 410 'utf85_test': skip_timeout, | 410 'utf85_test': skip_timeout, |
| 411 }, | 411 }, |
| 412 | 412 |
| 413 'lib/html': { | 413 'lib/html': { |
| 414 'async_spawnuri_test': async_unittest, | 414 'async_spawnuri_test': async_unittest, |
| 415 'async_test': async_unittest, | 415 'async_test': async_unittest, |
| 416 'audiobuffersourcenode_test': 'fail', // sdk#27578. | 416 'audiocontext_test': 'fail', // was sdk#27578, needs triage |
| 417 'audiocontext_test': 'fail', // sdk#27578. | 417 'blob_constructor_test': 'fail', // was sdk#27578, needs triage |
| 418 'blob_constructor_test': 'fail', // sdk#27578. | |
| 419 'cache_test': 'fail', // sdk#27578. | |
| 420 'canvas_test': ['unittest'], | 418 'canvas_test': ['unittest'], |
| 421 'canvasrenderingcontext2d_test': ['unittest'], | 419 'canvasrenderingcontext2d_test': ['unittest'], |
| 422 'cross_domain_iframe_test': async_unittest, | 420 'cross_domain_iframe_test': async_unittest, |
| 423 'crypto_test': 'fail', // sdk#27578. | |
| 424 'cssstyledeclaration_test': async_unittest, | 421 'cssstyledeclaration_test': async_unittest, |
| 425 'css_test': async_unittest, | 422 'css_test': async_unittest, |
| 426 | 423 |
| 427 // This is failing with a range error, I'm guessing because it's looking | 424 // This is failing with a range error, I'm guessing because it's looking |
| 428 // for a stylesheet and the page has none. | 425 // for a stylesheet and the page has none. |
| 429 'css_rule_list_test': 'fail', | 426 'css_rule_list_test': 'fail', |
| 430 'custom_element_method_clash_test': async_unittest, | 427 'custom_element_method_clash_test': async_unittest, |
| 431 'custom_element_name_clash_test': async_unittest, | 428 'custom_element_name_clash_test': async_unittest, |
| 432 'custom_elements_23127_test': async_unittest, | 429 'custom_elements_23127_test': async_unittest, |
| 433 'custom_elements_test': async_unittest, | 430 'custom_elements_test': async_unittest, |
| 434 'datalistelement_test': 'fail', // sdk#27578. | 431 'dom_constructors_test': 'fail', // was sdk#27578, needs triage |
| 435 'dom_constructors_test': 'fail', // sdk#27578. | |
| 436 'element_animate_test': async_unittest, | 432 'element_animate_test': async_unittest, |
| 437 'element_classes_test': 'fail', // sdk#27579. | 433 'element_classes_test': 'fail', // sdk#27579. |
| 438 'element_classes_svg_test': 'fail', // sdk#27579. | 434 'element_classes_svg_test': 'fail', // sdk#27579. |
| 439 | 435 |
| 440 // Failure: 'Expected 56 to be in the inclusive range [111, 160].'. | 436 // Failure: 'Expected 56 to be in the inclusive range [111, 160].'. |
| 441 'element_offset_test': 'fail', | 437 'element_offset_test': 'fail', |
| 442 'element_test': async_unittest, | 438 'element_test': async_unittest, |
| 443 'element_types_test': 'fail', // sdk#27578. | |
| 444 'event_customevent_test': async_unittest, | 439 'event_customevent_test': async_unittest, |
| 445 'events_test': async_unittest, | 440 'events_test': async_unittest, |
| 446 | 441 |
| 447 // Failure: "Failed to execute 'dispatchEvent' on 'EventTarget': parameter | 442 // Failure: "Failed to execute 'dispatchEvent' on 'EventTarget': parameter |
| 448 // 1 is not of type 'Event'." | 443 // 1 is not of type 'Event'." |
| 449 'event_test': 'fail', | 444 'event_test': 'fail', |
| 450 'fileapi_test': async_unittest, | 445 'fileapi_test': async_unittest, |
| 451 'filereader_test': async_unittest, | 446 'filereader_test': async_unittest, |
| 452 'fontface_loaded_test': async_unittest, | 447 'fontface_loaded_test': async_unittest, |
| 453 | 448 |
| 454 // Failed because it's expecting "Ahem" but getting null. Maybe sdk#27579? | 449 // Failed because it's expecting "Ahem" but getting null. Maybe sdk#27579? |
| 455 'fontface_test': 'fail', | 450 'fontface_test': 'fail', |
| 456 'form_data_test': async_unittest, | 451 'form_data_test': async_unittest, |
| 457 'history_test': async_unittest, | 452 'history_test': async_unittest, |
| 458 'indexeddb_1_test': async_unittest, | 453 'indexeddb_1_test': async_unittest, |
| 459 'indexeddb_2_test': async_unittest, | 454 'indexeddb_2_test': async_unittest, |
| 460 'indexeddb_3_test': async_unittest, | 455 'indexeddb_3_test': async_unittest, |
| 461 'indexeddb_4_test': async_unittest, | 456 'indexeddb_4_test': async_unittest, |
| 462 'indexeddb_5_test': async_unittest, | 457 'indexeddb_5_test': async_unittest, |
| 463 'input_element_test': 'fail', // sdk#27578. | 458 'input_element_test': 'fail', // was sdk#27578, needs triage |
| 464 'interactive_test': async_unittest, | 459 'interactive_test': async_unittest, |
| 465 'isolates_test': async_unittest, | 460 'isolates_test': async_unittest, |
| 466 | 461 |
| 467 // Failing on "identical JS objects should have identical proxies". | 462 // Failing on "identical JS objects should have identical proxies". |
| 468 'js_test': 'fail', | 463 'js_test': 'fail', |
| 469 'js_interop_1_test': async_unittest, | 464 'js_interop_1_test': async_unittest, |
| 470 | 465 |
| 471 // Failing because accessing "zSomeInvalidName" does not throw. | 466 // Failing because accessing "zSomeInvalidName" does not throw. |
| 472 'js_typed_interop_test': 'fail', | 467 'js_typed_interop_test': 'fail', |
| 473 | 468 |
| 474 // The "typed literal" test fails because the object does not have "_c". | 469 // The "typed literal" test fails because the object does not have "_c". |
| 475 'js_util_test': 'fail', | 470 'js_util_test': 'fail', |
| 476 'keyboard_event_test': async_unittest, | 471 'keyboard_event_test': async_unittest, |
| 477 | 472 |
| 478 'mediasource_test': 'fail', // sdk#27578. | 473 'mediasource_test': 'fail', // was sdk#27578, needs triage |
| 479 'media_stream_test': 'fail', // sdk#27578. | 474 'media_stream_test': 'fail', // was sdk#27578, needs triage |
| 480 'messageevent_test': 'fail', // sdk#27578. | 475 'messageevent_test': 'fail', // was sdk#27578, needs triage |
| 481 | 476 |
| 482 // Should throw but does not. | 477 // Should throw but does not. |
| 483 'mirrors_js_typed_interop_test': 'fail', | 478 'mirrors_js_typed_interop_test': 'fail', |
| 484 | 479 |
| 485 'mutationobserver_test': async_unittest, | 480 'mutationobserver_test': async_unittest, |
| 486 'native_gc_test': async_unittest, | 481 'native_gc_test': async_unittest, |
| 487 'node_validator_important_if_you_suppress_make_the_bug_critical_test': 'fa
il', // sdk#27578. | 482 'notification_test': 'fail', // was sdk#27578, needs triage |
| 488 'notification_test': 'fail', // sdk#27578. | |
| 489 'performance_api_test': 'fail', // sdk#27578. | |
| 490 'postmessage_structured_test': async_unittest, | 483 'postmessage_structured_test': async_unittest, |
| 491 'range_test': 'fail', // sdk#27578. | |
| 492 'request_animation_frame_test': async_unittest, | 484 'request_animation_frame_test': async_unittest, |
| 493 'resource_http_test': async_unittest, | 485 'resource_http_test': async_unittest, |
| 494 'rtc_test': 'fail', // sdk#27578. | 486 'rtc_test': 'fail', // was sdk#27578, needs triage |
| 495 | 487 |
| 496 // Expected 1, got null. | 488 // Expected 1, got null. |
| 497 'serialized_script_value_test': 'fail', | 489 'serialized_script_value_test': 'fail', |
| 498 'shadow_dom_test': 'fail', // sdk#27578. | 490 'speechrecognition_test': 'fail', // was sdk#27578, needs triage |
| 499 'shadowroot_test': 'fail', // sdk#27578. | 491 'svgelement_test': 'fail', // was sdk#27578, needs triage |
| 500 'speechrecognition_test': 'fail', // sdk#27578. | 492 'touchevent_test': 'fail', // was sdk#27578, needs triage |
| 501 'svgelement_test': 'fail', // sdk#27578. | |
| 502 'touchevent_test': 'fail', // sdk#27578. | |
| 503 'track_element_constructor_test': 'fail', // sdk#27578. | |
| 504 'transferables_test': async_unittest, | 493 'transferables_test': async_unittest, |
| 505 'transition_event_test': async_unittest, | 494 'transition_event_test': async_unittest, |
| 506 'url_test': async_unittest, | 495 'url_test': async_unittest, |
| 507 'websocket_test': async_unittest, | 496 'websocket_test': async_unittest, |
| 508 'websql_test': async_unittest, | 497 'websql_test': async_unittest, |
| 509 'wheelevent_test': async_unittest, | 498 'wheelevent_test': async_unittest, |
| 510 'worker_api_test': async_unittest, | 499 'worker_api_test': async_unittest, |
| 511 'worker_test': async_unittest, | 500 'worker_test': async_unittest, |
| 512 | 501 |
| 513 'xhr_cross_origin_test': async_unittest, | 502 'xhr_cross_origin_test': async_unittest, |
| 514 'xhr_test': async_unittest, | 503 'xhr_test': async_unittest, |
| 515 'xsltprocessor_test': 'fail', // sdk#27578. | |
| 516 | 504 |
| 517 // Failing when it gets 3 instead of 42. | 505 // Failing when it gets 3 instead of 42. |
| 518 'js_typed_interop_default_arg_test_default_value_multi': 'fail', | 506 'js_typed_interop_default_arg_test_default_value_multi': 'fail', |
| 519 }, | 507 }, |
| 520 | 508 |
| 521 'lib/html/custom': { | 509 'lib/html/custom': { |
| 522 'attribute_changed_callback_test': async_unittest, | 510 'attribute_changed_callback_test': async_unittest, |
| 523 'constructor_calls_created_synchronously_test': async_unittest, | 511 'constructor_calls_created_synchronously_test': async_unittest, |
| 524 'created_callback_test': async_unittest, | 512 'created_callback_test': async_unittest, |
| 525 'entered_left_view_test': async_unittest, | 513 'entered_left_view_test': async_unittest, |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 | 831 |
| 844 for (let action of unittest_tests) { | 832 for (let action of unittest_tests) { |
| 845 try { | 833 try { |
| 846 action(); | 834 action(); |
| 847 } catch (e) { | 835 } catch (e) { |
| 848 console.error("Caught error tying to setup test:", e); | 836 console.error("Caught error tying to setup test:", e); |
| 849 } | 837 } |
| 850 } | 838 } |
| 851 }); | 839 }); |
| 852 }); | 840 }); |
| OLD | NEW |