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

Unified Diff: test/runner/signal_test.dart

Issue 1096943003: Rename {run,start}Unittest to {run,start}Test. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/runner/runner_test.dart ('k') | test/runner/test_on_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/signal_test.dart
diff --git a/test/runner/signal_test.dart b/test/runner/signal_test.dart
index d0e7520a49be2dc6a1aa7d373786249419360eb5..81fbbb5b4cd3dc12d4936f2aaa795d028bc7c278 100644
--- a/test/runner/signal_test.dart
+++ b/test/runner/signal_test.dart
@@ -43,7 +43,7 @@ void main() {
}
""");
- return _startUnittest(["test.dart"]).then((process) {
+ return _startTest(["test.dart"]).then((process) {
return _lines.bind(process.stdout).first.then((line) {
expect(line, equals("in test.dart"));
process.kill();
@@ -58,7 +58,7 @@ void main() {
new File(p.join(_sandbox, "test.dart"))
.writeAsStringSync("void main() {}");
- return _startUnittest(["-p", "chrome", "test.dart"]).then((process) {
+ return _startTest(["-p", "chrome", "test.dart"]).then((process) {
return _lines.bind(process.stdout).first.then((line) {
expect(line, equals("Compiling test.dart..."));
process.kill();
@@ -77,7 +77,7 @@ void main() {
}
""");
- return _startUnittest(["test.dart"]).then((process) {
+ return _startTest(["test.dart"]).then((process) {
return _lines.bind(process.stdout).first.then((line) {
expect(line, equals("in test.dart"));
process.kill();
@@ -114,7 +114,7 @@ void main() {
}
""");
- return _startUnittest(["test.dart"]).then((process) {
+ return _startTest(["test.dart"]).then((process) {
return _lines.bind(process.stdout).skip(2).first.then((line) {
expect(line, equals("running test"));
process.kill();
@@ -147,7 +147,7 @@ void main() {
}
""");
- return _startUnittest(["-p", "chrome", "test.dart"]).then((process) {
+ return _startTest(["-p", "chrome", "test.dart"]).then((process) {
return _lines.bind(process.stdout).skip(3).first.then((line) {
expect(line, equals("running test"));
process.kill();
@@ -170,7 +170,7 @@ void main() {
}
""");
- return _startUnittest(["test.dart"]).then((process) {
+ return _startTest(["test.dart"]).then((process) {
return _lines.bind(process.stdout).skip(2).first.then((line) {
expect(line, equals("running test"));
process.kill();
@@ -214,7 +214,7 @@ void main() {
}
""");
- return _startUnittest(["test.dart"]).then((process) {
+ return _startTest(["test.dart"]).then((process) {
return _lines.bind(process.stdout).skip(2).first.then((line) {
expect(line, equals("running test"));
process.kill();
@@ -255,7 +255,7 @@ void main() {
}
""");
- return _startUnittest(["test.dart"]).then((process) {
+ return _startTest(["test.dart"]).then((process) {
return _lines.bind(process.stdout).skip(2).first.then((line) {
expect(line, equals("running test"));
process.kill();
@@ -270,8 +270,8 @@ void main() {
});
}
-Future<Process> _startUnittest(List<String> args) {
+Future<Process> _startTest(List<String> args) {
new Directory(_tempDir).create();
- return startUnittest(args, workingDirectory: _sandbox,
+ return startTest(args, workingDirectory: _sandbox,
environment: {"_UNITTEST_TEMP_DIR": _tempDir});
}
« no previous file with comments | « test/runner/runner_test.dart ('k') | test/runner/test_on_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698