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

Side by Side Diff: pkg/polymer/test/run_all.dart

Issue 23539003: Turn on Polymer TodoMVC tests on Dart buildbots (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « pkg/polymer/test/run.sh ('k') | pkg/unittest/lib/test_controller.js » ('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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 addGroup('transform/all_phases_test.dart', all_phases_test.main); 45 addGroup('transform/all_phases_test.dart', all_phases_test.main);
46 46
47 endToEndTests('data/unit/', 'data/out'); 47 endToEndTests('data/unit/', 'data/out');
48 48
49 // Note: if you're adding more render test suites, make sure to update run.sh 49 // Note: if you're adding more render test suites, make sure to update run.sh
50 // as well for convenient baseline diff/updating. 50 // as well for convenient baseline diff/updating.
51 51
52 // TODO(jmesserly): figure out why this fails in content_shell but works in 52 // TODO(jmesserly): figure out why this fails in content_shell but works in
53 // Dartium and Firefox when using the ShadowDOM polyfill. 53 // Dartium and Firefox when using the ShadowDOM polyfill.
54 exampleTest('../example/component/news', ['--no-shadowdom']..addAll(args)); 54 exampleTest('../example/component/news', ['--no-shadowdom']..addAll(args));
55
56 exampleTest('../../../samples/third_party/todomvc');
57 } 55 }
58 56
59 void exampleTest(String path, [List args]) { 57 void exampleTest(String path, [List args]) {
60 // TODO(sigmund): renderTests currently contatenates [path] with the out 58 // TODO(sigmund): renderTests currently contatenates [path] with the out
61 // folder. This can be a problem with relative paths that go up (like todomvc 59 // folder. This can be a problem with relative paths that go up (like todomvc
62 // above, which has '../../../'). If we continue running tests with 60 // above, which has '../../../'). If we continue running tests with
63 // test/run.sh, we should fix this. For now we work around this problem by 61 // test/run.sh, we should fix this. For now we work around this problem by
64 // using a long path 'data/out/example/test'. That way we avoid dumping output 62 // using a long path 'data/out/example/test'. That way we avoid dumping output
65 // in the source-tree. 63 // in the source-tree.
66 renderTests(path, '$path/test', '$path/test/expected', 64 renderTests(path, '$path/test', '$path/test/expected',
67 'data/out/example/test', arguments: args); 65 'data/out/example/test', arguments: args);
68 } 66 }
OLDNEW
« no previous file with comments | « pkg/polymer/test/run.sh ('k') | pkg/unittest/lib/test_controller.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698