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

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

Issue 2416853003: Move minitest.dart into the expect package. (Closed)
Patch Set: Created 4 years, 2 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/lib/html/audiobuffersourcenode_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', 'minitest', 'unittest', 'require'], 5 define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'require'],
6 function(dart_sdk, async_helper, minitest, unittest, require) { 6 function(dart_sdk, async_helper, expect, unittest, require) {
7 'use strict'; 7 'use strict';
8 8
9 async_helper = async_helper.async_helper; 9 async_helper = async_helper.async_helper;
10 minitest = minitest.minitest; 10 let minitest = expect.minitest;
11 11
12 dart_sdk._isolate_helper.startRootIsolate(function() {}, []); 12 dart_sdk._isolate_helper.startRootIsolate(function() {}, []);
13 let html_config = unittest.html_config; 13 let html_config = unittest.html_config;
14 // Test attributes are a list of strings, or a string for a single 14 // Test attributes are a list of strings, or a string for a single
15 // attribute. Valid attributes are: 15 // attribute. Valid attributes are:
16 // 16 //
17 // 'skip' - don't run the test 17 // 'skip' - don't run the test
18 // 'fail' - test fails 18 // 'fail' - test fails
19 // 'timeout' - test times out 19 // 'timeout' - test times out
20 // 'slow' - use 5s timeout instead of default 2s. 20 // 'slow' - use 5s timeout instead of default 2s.
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 881
882 for (let action of unittest_tests) { 882 for (let action of unittest_tests) {
883 try { 883 try {
884 action(); 884 action();
885 } catch (e) { 885 } catch (e) {
886 console.error("Caught error tying to setup test:", e); 886 console.error("Caught error tying to setup test:", e);
887 } 887 }
888 } 888 }
889 }); 889 });
890 }); 890 });
OLDNEW
« no previous file with comments | « no previous file | pkg/dev_compiler/test/codegen/lib/html/audiobuffersourcenode_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698