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

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

Issue 2802973005: Migrate async tests to strong (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | pkg/dev_compiler/test/codegen_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 356
357 'list_insert_test': fail, 357 'list_insert_test': fail,
358 'list_removeat_test': fail, 358 'list_removeat_test': fail,
359 }, 359 },
360 360
361 'corelib/regexp': { 361 'corelib/regexp': {
362 'default_arguments_test': fail, 362 'default_arguments_test': fail,
363 'UC16_test': firefox_fail, 363 'UC16_test': firefox_fail,
364 }, 364 },
365 365
366 'lib/async': {
367 'first_regression_test': async_unittest,
368 'future_or_bad_type_test_implements_multi': fail,
369 'future_or_bad_type_test_none_multi': fail,
370 'future_or_non_strong_test': fail,
371 'future_or_strong_test': fail, // Strong-mode is-check fail
372 'future_timeout_test': async_unittest,
373 'multiple_timer_test': async_unittest,
374 'futures_test': fail,
375 'run_zoned6_test_01_multi': fail,
376 'run_zoned9_test_01_multi': fail,
377 'schedule_microtask2_test': async_unittest,
378 'schedule_microtask3_test': async_unittest,
379 'schedule_microtask5_test': async_unittest,
380 'stream_controller_async_test': async_unittest,
381 'stream_first_where_test': async_unittest,
382 'stream_from_iterable_test': async_unittest,
383 'stream_iterator_test': async_unittest,
384 'stream_join_test': async_unittest,
385 'stream_last_where_test': async_unittest,
386 'stream_periodic2_test': async_unittest,
387 'stream_periodic3_test': async_unittest,
388 'stream_periodic4_test': async_unittest,
389 'stream_periodic5_test': async_unittest,
390 'stream_periodic6_test': async_unittest,
391 'stream_periodic_test': async_unittest,
392 'stream_single_test': async_unittest,
393 'stream_single_to_multi_subscriber_test': async_unittest,
394 'stream_state_helper': async_unittest,
395 'stream_state_nonzero_timer_test': async_unittest,
396 'stream_state_test': async_unittest,
397 'stream_subscription_as_future_test': async_unittest,
398 'stream_subscription_cancel_test': async_unittest,
399 'stream_timeout_test': async_unittest,
400 'stream_transform_test': async_unittest,
401 'stream_transformation_broadcast_test': async_unittest,
402 'stream_transformer_from_handlers_test': fail,
403 'timer_cancel1_test': async_unittest,
404 'timer_cancel2_test': async_unittest,
405 'timer_cancel_test': async_unittest,
406 'timer_isActive_test': async_unittest,
407 'timer_not_available_test': fail,
408 'timer_repeat_test': async_unittest,
409 'timer_test': async_unittest,
410 'zone_bind_callback_test': fail,
411 'zone_error_callback_test': fail,
412 'zone_register_callback_test': fail,
413 'zone_run_unary_test': fail,
414 },
415
366 'lib/collection': { 416 'lib/collection': {
367 'linked_list_test': whitelist, 417 'linked_list_test': whitelist,
368 }, 418 },
369 419
370 'lib/convert': { 420 'lib/convert': {
371 'base64_test_01_multi': 'slow', 421 'base64_test_01_multi': 'slow',
372 'chunked_conversion_utf82_test': whitelist, 422 'chunked_conversion_utf82_test': whitelist,
373 'chunked_conversion_utf83_test': whitelist, 423 'chunked_conversion_utf83_test': whitelist,
374 'chunked_conversion_utf85_test': ['whitelist', 'slow'], 424 'chunked_conversion_utf85_test': ['whitelist', 'slow'],
375 'chunked_conversion_utf86_test': whitelist, 425 'chunked_conversion_utf86_test': whitelist,
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 962
913 for (let action of unittest_tests) { 963 for (let action of unittest_tests) {
914 try { 964 try {
915 action(); 965 action();
916 } catch (e) { 966 } catch (e) {
917 console.error("Caught error tying to setup test:", e); 967 console.error("Caught error tying to setup test:", e);
918 } 968 }
919 } 969 }
920 }); 970 });
921 }); 971 });
OLDNEW
« no previous file with comments | « no previous file | pkg/dev_compiler/test/codegen_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698