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

Side by Side Diff: frog/tests/frog/src/NodeTestHelper.dart

Issue 10037027: unittest step2: bye bye to multiple entrypoints for unittest (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #library('NodeTestHelper'); 5 #library('NodeTestHelper');
6 6
7 #import('unittest_node.dart'); 7 #import('../../../../lib/unittest/unittest.dart');
8 #import('../../../lib/node/node.dart'); 8 #import('../../../lib/node/node.dart');
9 9
10 /** 10 /**
11 * Helper method to be able to run the test from: 11 * Helper method to be able to run the test from:
12 * top-level-directory 12 * top-level-directory
13 * frog 13 * frog
14 * frog/tests/frog/src 14 * frog/tests/frog/src
15 */ 15 */
16 16
17 String getFilename(String pathName) { 17 String getFilename(String pathName) {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 /** 159 /**
160 * List entry is name-of-test, argument-to-child, stdin, expected-error, 160 * List entry is name-of-test, argument-to-child, stdin, expected-error,
161 * expected-stdout, expected-stderr 161 * expected-stdout, expected-stderr
162 */ 162 */
163 void asyncFuzzyTests(String helperProgram, List<List<String>> tests) { 163 void asyncFuzzyTests(String helperProgram, List<List<String>> tests) {
164 for (var test in tests) { 164 for (var test in tests) {
165 asyncFuzzyTestWithHelperProgram(test[0], helperProgram, 165 asyncFuzzyTestWithHelperProgram(test[0], helperProgram,
166 [test[1]], test[2], test[3], test[4], test[5]); 166 [test[1]], test[2], test[3], test[4], test[5]);
167 } 167 }
168 } 168 }
OLDNEW
« no previous file with comments | « frog/tests/frog/src/NodeProcessTest.dart ('k') | frog/tests/frog/src/PrototypePatchingTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698