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

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

Issue 2893893002: Use generic functions in zones. (Closed)
Patch Set: Use `dynamic` as required return type. Created 3 years, 5 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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 'list_insert_test': fail, 299 'list_insert_test': fail,
300 'list_removeat_test': fail, 300 'list_removeat_test': fail,
301 }, 301 },
302 302
303 'corelib/regexp': { 303 'corelib/regexp': {
304 'default_arguments_test': fail, 304 'default_arguments_test': fail,
305 'UC16_test': firefox_fail, 305 'UC16_test': firefox_fail,
306 }, 306 },
307 307
308 'lib/async': { 308 'lib/async': {
309 'async_await_zones_test': fail,
309 'first_regression_test': async_unittest, 310 'first_regression_test': async_unittest,
310 'future_or_bad_type_test_implements_multi': fail, 311 'future_or_bad_type_test_implements_multi': fail,
311 'future_or_bad_type_test_none_multi': fail, 312 'future_or_bad_type_test_none_multi': fail,
312 'future_or_non_strong_test': fail, 313 'future_or_non_strong_test': fail,
313 'future_timeout_test': async_unittest, 314 'future_timeout_test': async_unittest,
314 'multiple_timer_test': async_unittest, 315 'multiple_timer_test': async_unittest,
315 'futures_test': fail, 316 'futures_test': fail,
316 'schedule_microtask2_test': async_unittest, 317 'schedule_microtask2_test': async_unittest,
317 'schedule_microtask3_test': async_unittest, 318 'schedule_microtask3_test': async_unittest,
318 'schedule_microtask5_test': async_unittest, 319 'schedule_microtask5_test': async_unittest,
(...skipping 20 matching lines...) Expand all
339 'stream_transform_test': async_unittest, 340 'stream_transform_test': async_unittest,
340 'stream_transformation_broadcast_test': async_unittest, 341 'stream_transformation_broadcast_test': async_unittest,
341 'stream_transformer_from_handlers_test': fail, 342 'stream_transformer_from_handlers_test': fail,
342 'timer_cancel1_test': async_unittest, 343 'timer_cancel1_test': async_unittest,
343 'timer_cancel2_test': async_unittest, 344 'timer_cancel2_test': async_unittest,
344 'timer_cancel_test': async_unittest, 345 'timer_cancel_test': async_unittest,
345 'timer_isActive_test': async_unittest, 346 'timer_isActive_test': async_unittest,
346 'timer_not_available_test': fail, 347 'timer_not_available_test': fail,
347 'timer_repeat_test': async_unittest, 348 'timer_repeat_test': async_unittest,
348 'timer_test': async_unittest, 349 'timer_test': async_unittest,
349 'zone_bind_callback_test': fail,
350 'zone_error_callback_test': fail, 350 'zone_error_callback_test': fail,
351 'zone_register_callback_test': fail,
352 'zone_run_unary_test': fail, 351 'zone_run_unary_test': fail,
353 }, 352 },
354 353
355 'lib/collection': { 354 'lib/collection': {
356 'linked_list_test': whitelist, 355 'linked_list_test': whitelist,
357 }, 356 },
358 357
359 'lib/convert': { 358 'lib/convert': {
360 'base64_test_01_multi': 'slow', 359 'base64_test_01_multi': 'slow',
361 'chunked_conversion_utf82_test': whitelist, 360 'chunked_conversion_utf82_test': whitelist,
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 908
910 for (let action of unittest_tests) { 909 for (let action of unittest_tests) {
911 try { 910 try {
912 action(); 911 action();
913 } catch (e) { 912 } catch (e) {
914 console.error("Caught error tying to setup test:", e); 913 console.error("Caught error tying to setup test:", e);
915 } 914 }
916 } 915 }
917 }); 916 });
918 }); 917 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698