Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: pkg/dev_compiler/test/browser/language_tests.js

Issue 2954523002: fix #27259, implement covariance checking for strong mode and DDC (Closed)
Patch Set: rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 'compile_time_constant10_test_none_multi': fail, 96 'compile_time_constant10_test_none_multi': fail,
97 'compile_time_constant_a_test': fail, 97 'compile_time_constant_a_test': fail,
98 'compile_time_constant_b_test': fail, 98 'compile_time_constant_b_test': fail,
99 'compile_time_constant_d_test': fail, 99 'compile_time_constant_d_test': fail,
100 'compile_time_constant_k_test_none_multi': fail, 100 'compile_time_constant_k_test_none_multi': fail,
101 'compile_time_constant_o_test_none_multi': fail, 101 'compile_time_constant_o_test_none_multi': fail,
102 'const_evaluation_test_01_multi': fail, 102 'const_evaluation_test_01_multi': fail,
103 'const_switch_test_02_multi': fail, 103 'const_switch_test_02_multi': fail,
104 'const_switch_test_04_multi': fail, 104 'const_switch_test_04_multi': fail,
105 'constructor12_test': fail, 105 'constructor12_test': fail,
106 'covariant_subtyping_tearoff2_test': fail,
107 'covariant_subtyping_tearoff3_test': fail,
108 'covariant_subtyping_unsafe_call2_test': fail,
109 'covariant_subtyping_unsafe_call3_test': fail,
110 'custom_await_stack_trace_test': fail, 106 'custom_await_stack_trace_test': fail,
111 'cyclic_type2_test': fail, 107 'cyclic_type2_test': fail,
112 'cyclic_type_test_00_multi': fail, 108 'cyclic_type_test_00_multi': fail,
113 'cyclic_type_test_01_multi': fail, 109 'cyclic_type_test_01_multi': fail,
114 'cyclic_type_test_02_multi': fail, 110 'cyclic_type_test_02_multi': fail,
115 'cyclic_type_test_03_multi': fail, 111 'cyclic_type_test_03_multi': fail,
116 'cyclic_type_test_04_multi': fail, 112 'cyclic_type_test_04_multi': fail,
117 113
118 // Deferred libraries are not actually deferred. These tests all test 114 // Deferred libraries are not actually deferred. These tests all test
119 // that synchronous access to the library fails. 115 // that synchronous access to the library fails.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 'stream_single_to_multi_subscriber_test': async_unittest, 330 'stream_single_to_multi_subscriber_test': async_unittest,
335 'stream_state_helper': async_unittest, 331 'stream_state_helper': async_unittest,
336 'stream_state_nonzero_timer_test': async_unittest, 332 'stream_state_nonzero_timer_test': async_unittest,
337 'stream_state_test': async_unittest, 333 'stream_state_test': async_unittest,
338 'stream_subscription_as_future_test': async_unittest, 334 'stream_subscription_as_future_test': async_unittest,
339 'stream_subscription_cancel_test': async_unittest, 335 'stream_subscription_cancel_test': async_unittest,
340 'stream_timeout_test': async_unittest, 336 'stream_timeout_test': async_unittest,
341 'stream_transform_test': async_unittest, 337 'stream_transform_test': async_unittest,
342 'stream_transformation_broadcast_test': async_unittest, 338 'stream_transformation_broadcast_test': async_unittest,
343 'stream_transformer_from_handlers_test': fail, 339 'stream_transformer_from_handlers_test': fail,
340 'stream_zones_test': fail, // covariance cast failure
344 'timer_cancel1_test': async_unittest, 341 'timer_cancel1_test': async_unittest,
345 'timer_cancel2_test': async_unittest, 342 'timer_cancel2_test': async_unittest,
346 'timer_cancel_test': async_unittest, 343 'timer_cancel_test': async_unittest,
347 'timer_isActive_test': async_unittest, 344 'timer_isActive_test': async_unittest,
348 'timer_not_available_test': fail, 345 'timer_not_available_test': fail,
349 'timer_repeat_test': async_unittest, 346 'timer_repeat_test': async_unittest,
350 'timer_test': async_unittest, 347 'timer_test': async_unittest,
351 'zone_bind_callback_test': fail, 348 'zone_bind_callback_test': fail,
352 'zone_error_callback_test': fail, 349 'zone_error_callback_test': fail,
353 'zone_register_callback_test': fail, 350 'zone_register_callback_test': fail,
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 908
912 for (let action of unittest_tests) { 909 for (let action of unittest_tests) {
913 try { 910 try {
914 action(); 911 action();
915 } catch (e) { 912 } catch (e) {
916 console.error("Caught error tying to setup test:", e); 913 console.error("Caught error tying to setup test:", e);
917 } 914 }
918 } 915 }
919 }); 916 });
920 }); 917 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698