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

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

Issue 2477673006: Get the basics of deferred libraries working. (Closed)
Patch Set: Rebase against latest. Created 4 years, 1 month 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 'const_switch_test_04_multi': skip_fail, 117 'const_switch_test_04_multi': skip_fail,
118 'constructor11_test': skip_fail, 118 'constructor11_test': skip_fail,
119 'constructor12_test': skip_fail, 119 'constructor12_test': skip_fail,
120 'cyclic_type2_test': skip_fail, 120 'cyclic_type2_test': skip_fail,
121 'cyclic_type_test_00_multi': skip_fail, 121 'cyclic_type_test_00_multi': skip_fail,
122 'cyclic_type_test_01_multi': skip_fail, 122 'cyclic_type_test_01_multi': skip_fail,
123 'cyclic_type_test_02_multi': skip_fail, 123 'cyclic_type_test_02_multi': skip_fail,
124 'cyclic_type_test_03_multi': skip_fail, 124 'cyclic_type_test_03_multi': skip_fail,
125 'cyclic_type_test_04_multi': skip_fail, 125 'cyclic_type_test_04_multi': skip_fail,
126 'cyclic_type_variable_test_none_multi': skip_fail, 126 'cyclic_type_variable_test_none_multi': skip_fail,
127
128 // Deferred libraries are not actually deferred. These tests all test
129 // that synchronous access to the library fails.
127 'deferred_call_empty_before_load_test': skip_fail, 130 'deferred_call_empty_before_load_test': skip_fail,
128 'deferred_closurize_load_library_test': skip_fail,
129 'deferred_constant_list_test': skip_fail,
130 'deferred_function_type_test': skip_fail,
131 'deferred_inlined_test': skip_fail,
132 'deferred_load_inval_code_test': skip_fail,
133 'deferred_mixin_test': skip_fail,
134 'deferred_no_such_method_test': skip_fail, // deferred libs not implemente d
135 'deferred_not_loaded_check_test': skip_fail, 131 'deferred_not_loaded_check_test': skip_fail,
136 'deferred_only_constant_test': skip_fail,
137 'deferred_optimized_test': skip_fail,
138 'deferred_redirecting_factory_test': skip_fail, 132 'deferred_redirecting_factory_test': skip_fail,
139 'deferred_regression_22995_test': skip_fail,
140 'deferred_shadow_load_library_test': skip_fail,
141 'deferred_shared_and_unshared_classes_test': skip_fail,
142 'deferred_static_seperate_test': skip_fail, 133 'deferred_static_seperate_test': skip_fail,
134
135 'deferred_regression_22995_test': skip_fail, // Strong mode "is" rejects s ome type tests.
143 'double_int_to_string_test': skip_fail, 136 'double_int_to_string_test': skip_fail,
144 'double_to_string_test': skip_fail, 137 'double_to_string_test': skip_fail,
145 'dynamic_test': skip_fail, 138 'dynamic_test': skip_fail,
146 'enum_mirror_test': skip_fail, 139 'enum_mirror_test': skip_fail,
147 'exception_test': fail, 140 'exception_test': fail,
148 'execute_finally6_test': skip_fail, 141 'execute_finally6_test': skip_fail,
149 'expect_test': skip_fail, 142 'expect_test': skip_fail,
150 'extends_test_lib': skip_fail, 143 'extends_test_lib': skip_fail,
151 'external_test_10_multi': skip_fail, 144 'external_test_10_multi': skip_fail,
152 'external_test_13_multi': skip_fail, 145 'external_test_13_multi': skip_fail,
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 844
852 for (let action of unittest_tests) { 845 for (let action of unittest_tests) {
853 try { 846 try {
854 action(); 847 action();
855 } catch (e) { 848 } catch (e) {
856 console.error("Caught error tying to setup test:", e); 849 console.error("Caught error tying to setup test:", e);
857 } 850 }
858 } 851 }
859 }); 852 });
860 }); 853 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698