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

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

Issue 2649613003: Fix for Animation and other polyfills (Closed)
Patch Set: Created 3 years, 11 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 27 matching lines...) Expand all
38 38
39 // Tests marked with this are still using the deprecated unittest package 39 // Tests marked with this are still using the deprecated unittest package
40 // because they rely on its support for futures and asynchronous tests, which 40 // because they rely on its support for futures and asynchronous tests, which
41 // expect and minitest do not handle. 41 // expect and minitest do not handle.
42 // TODO(rnystrom): Move all of these away from using the async test API so 42 // TODO(rnystrom): Move all of these away from using the async test API so
43 // they can stop using unittest. 43 // they can stop using unittest.
44 const async_unittest = ['unittest', 'skip', 'fail']; 44 const async_unittest = ['unittest', 'skip', 'fail'];
45 45
46 // The number of expected unittest errors should be zero but unfortunately 46 // The number of expected unittest errors should be zero but unfortunately
47 // there are a lot of broken html unittests. 47 // there are a lot of broken html unittests.
48 let num_expected_unittest_fails = 3; 48 let num_expected_unittest_fails = 4;
vsm 2017/01/21 00:52:42 This is due to: https://github.com/dart-lang/sdk/i
49 let num_expected_unittest_errors = 0; 49 let num_expected_unittest_errors = 0;
50 50
51 // TODO(jmesserly): separate StrongModeError from other errors. 51 // TODO(jmesserly): separate StrongModeError from other errors.
52 let all_status = { 52 let all_status = {
53 'language': { 53 'language': {
54 'assertion_test': fail, 54 'assertion_test': fail,
55 'async_await_test_none_multi': 'unittest', 55 'async_await_test_none_multi': 'unittest',
56 'async_await_test_02_multi': 'unittest', 56 'async_await_test_02_multi': 'unittest',
57 57
58 // Flaky on travis (https://github.com/dart-lang/sdk/issues/27224) 58 // Flaky on travis (https://github.com/dart-lang/sdk/issues/27224)
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 'css_rule_list_test': 'fail', 383 'css_rule_list_test': 'fail',
384 384
385 'custom_element_method_clash_test': async_unittest, 385 'custom_element_method_clash_test': async_unittest,
386 'custom_element_name_clash_test': async_unittest, 386 'custom_element_name_clash_test': async_unittest,
387 'custom_elements_23127_test': async_unittest, 387 'custom_elements_23127_test': async_unittest,
388 'custom_elements_test': async_unittest, 388 'custom_elements_test': async_unittest,
389 389
390 // was https://github.com/dart-lang/sdk/issues/27578, needs triage 390 // was https://github.com/dart-lang/sdk/issues/27578, needs triage
391 'dom_constructors_test': 'fail', 391 'dom_constructors_test': 'fail',
392 392
393 'element_animate_test': async_unittest, 393 'element_animate_test': 'unittest',
394 394
395 // https://github.com/dart-lang/sdk/issues/27579. 395 // https://github.com/dart-lang/sdk/issues/27579.
396 'element_classes_test': 'fail', 396 'element_classes_test': 'fail',
397 'element_classes_svg_test': 'fail', 397 'element_classes_svg_test': 'fail',
398 398
399 // Failure: 'Expected 56 to be in the inclusive range [111, 160].'. 399 // Failure: 'Expected 56 to be in the inclusive range [111, 160].'.
400 'element_offset_test': 'fail', 400 'element_offset_test': 'fail',
401 401
402 'element_test': async_unittest, 402 'element_test': async_unittest,
403 'element_types_test': firefox_fail, 403 'element_types_test': firefox_fail,
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 880
881 for (let action of unittest_tests) { 881 for (let action of unittest_tests) {
882 try { 882 try {
883 action(); 883 action();
884 } catch (e) { 884 } catch (e) {
885 console.error("Caught error tying to setup test:", e); 885 console.error("Caught error tying to setup test:", e);
886 } 886 }
887 } 887 }
888 }); 888 });
889 }); 889 });
OLDNEW
« no previous file with comments | « pkg/dev_compiler/lib/sdk/ddc_sdk.sum ('k') | pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698