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

Unified Diff: test/io.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/frontend/matcher/throws_type_test.dart ('k') | test/runner/browser/chrome_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/io.dart
diff --git a/test/io.dart b/test/io.dart
index c92ec938df7c3f2fc21455aee9b78748d3d2d535..9dccdaef5772d4ed5f3c1430ca33f7ea67b2d504 100644
--- a/test/io.dart
+++ b/test/io.dart
@@ -2,21 +2,21 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library unittest.test.io;
+library test.test.io;
import 'dart:io';
import 'package:path/path.dart' as p;
-import 'package:unittest/src/util/io.dart';
+import 'package:test/src/util/io.dart';
-/// The path to the root directory of the `unittest` package.
-final String packageDir = p.dirname(p.dirname(libraryPath(#unittest.test.io)));
+/// The path to the root directory of the `test` package.
+final String packageDir = p.dirname(p.dirname(libraryPath(#test.test.io)));
-/// Runs the unittest executable with the package root set properly.
+/// Runs the test executable with the package root set properly.
ProcessResult runUnittest(List<String> args, {String workingDirectory,
Map<String, String> environment}) {
var allArgs = [
- p.absolute(p.join(packageDir, 'bin/unittest.dart')),
+ p.absolute(p.join(packageDir, 'bin/test.dart')),
"--package-root=${p.join(packageDir, 'packages')}"
]..addAll(args);
« no previous file with comments | « test/frontend/matcher/throws_type_test.dart ('k') | test/runner/browser/chrome_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698