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: test/run_all.dart

Issue 11092092: Support compiling templates in the browser. Base URL: git@github.com:dart-lang/dart-web-components.git@master
Patch Set: Created 8 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 | « test/analyzer_test.dart ('k') | test/testing.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * This is a helper for run.sh. We try to run all of the Dart code in one 6 * This is a helper for run.sh. We try to run all of the Dart code in one
7 * instance of the Dart VM to reduce warm-up time. 7 * instance of the Dart VM to reduce warm-up time.
8 */ 8 */
9 library run_impl; 9 library run_impl;
10 10
(...skipping 16 matching lines...) Expand all
27 if (pattern.hasMatch('analyzer_test.dart')) analyzer_test.main(); 27 if (pattern.hasMatch('analyzer_test.dart')) analyzer_test.main();
28 if (pattern.hasMatch('emitter_test.dart')) emitter_test.main(); 28 if (pattern.hasMatch('emitter_test.dart')) emitter_test.main();
29 if (pattern.hasMatch('utils_test.dart')) utils_test.main(); 29 if (pattern.hasMatch('utils_test.dart')) utils_test.main();
30 if (pattern.hasMatch('watcher_test.dart')) watcher_test.main(); 30 if (pattern.hasMatch('watcher_test.dart')) watcher_test.main();
31 31
32 // TODO(jmesserly): should have listSync for scripting... 32 // TODO(jmesserly): should have listSync for scripting...
33 var lister = new Directory.fromPath(new Path('data/input')).list(); 33 var lister = new Directory.fromPath(new Path('data/input')).list();
34 lister.onFile = (path) { 34 lister.onFile = (path) {
35 if (!path.endsWith('_test.html') || !pattern.hasMatch(path)) return; 35 if (!path.endsWith('_test.html') || !pattern.hasMatch(path)) return;
36 36
37 test(path, () => dwc.run(['--verbose', path, 'data/output/'])); 37 test(path, () => expect(dwc.run(['--verbose', path, 'data/output/']), comple tes));
38 }; 38 };
39 } 39 }
OLDNEW
« no previous file with comments | « test/analyzer_test.dart ('k') | test/testing.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698