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

Unified Diff: test/runner/runner_test.dart

Issue 1053443002: Rename the package to "test". (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 9 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/parse_metadata_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/runner_test.dart
diff --git a/test/runner/runner_test.dart b/test/runner/runner_test.dart
index eb31b313cc604dcda5adde0ed3e48ee3587c7e3e..af67c03590988164b0ae24d3a417721437cb0eab 100644
--- a/test/runner/runner_test.dart
+++ b/test/runner/runner_test.dart
@@ -7,8 +7,8 @@
import 'dart:io';
import 'package:path/path.dart' as p;
-import 'package:unittest/src/util/exit_codes.dart' as exit_codes;
-import 'package:unittest/unittest.dart';
+import 'package:test/src/util/exit_codes.dart' as exit_codes;
+import 'package:test/test.dart';
import '../io.dart';
@@ -17,7 +17,7 @@ String _sandbox;
final _success = """
import 'dart:async';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
void main() {
test("success", () {});
@@ -27,7 +27,7 @@ void main() {
final _failure = """
import 'dart:async';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
void main() {
test("failure", () => throw new TestFailure("oh no"));
@@ -35,7 +35,7 @@ void main() {
""";
final _usage = """
-Usage: pub run unittest:unittest [files or directories...]
+Usage: pub run test:test [files or directories...]
-h, --help Shows this usage information.
-n, --name A substring of the name of the test to run.
@@ -51,7 +51,7 @@ Usage: pub run unittest:unittest [files or directories...]
void main() {
setUp(() {
- _sandbox = Directory.systemTemp.createTempSync('unittest_').path;
+ _sandbox = Directory.systemTemp.createTempSync('test_').path;
});
tearDown(() {
@@ -281,7 +281,7 @@ $_usage"""));
new File(p.join(_sandbox, "test.dart")).writeAsStringSync("""
import 'dart:async';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
void main() {
test("selected 1", () {});
@@ -299,7 +299,7 @@ void main() {
new File(p.join(_sandbox, "test.dart")).writeAsStringSync("""
import 'dart:async';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
void main() {
test("test 1", () {});
@@ -328,7 +328,7 @@ void main() {
new File(p.join(_sandbox, "test.dart")).writeAsStringSync("""
import 'dart:async';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
void main() {
test("selected 1", () {});
@@ -346,7 +346,7 @@ void main() {
new File(p.join(_sandbox, "test.dart")).writeAsStringSync("""
import 'dart:async';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
void main() {
test("test 1", () => throw new TestFailure("oh no"));
« no previous file with comments | « test/runner/parse_metadata_test.dart ('k') | test/runner/test_on_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698