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

Unified Diff: test/runner/loader_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/isolate_listener_test.dart ('k') | test/runner/parse_metadata_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/loader_test.dart
diff --git a/test/runner/loader_test.dart b/test/runner/loader_test.dart
index 4f2a1ddf80e47f96178dbcdb945dcb77eff4ca14..9be28d77ff7ebf23b264a90dd39dece8e810ba73 100644
--- a/test/runner/loader_test.dart
+++ b/test/runner/loader_test.dart
@@ -7,10 +7,10 @@
import 'dart:io';
import 'package:path/path.dart' as p;
-import 'package:unittest/src/backend/state.dart';
-import 'package:unittest/src/backend/test_platform.dart';
-import 'package:unittest/src/runner/loader.dart';
-import 'package:unittest/unittest.dart';
+import 'package:test/src/backend/state.dart';
+import 'package:test/src/backend/test_platform.dart';
+import 'package:test/src/runner/loader.dart';
+import 'package:test/test.dart';
import '../io.dart';
import '../utils.dart';
@@ -21,7 +21,7 @@ String _sandbox;
final _tests = """
import 'dart:async';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
void main() {
test("success", () {});
@@ -34,7 +34,7 @@ void main() {
setUp(() {
_loader = new Loader([TestPlatform.vm],
packageRoot: p.join(packageDir, 'packages'));
- _sandbox = Directory.systemTemp.createTempSync('unittest_').path;
+ _sandbox = Directory.systemTemp.createTempSync('test_').path;
});
tearDown(() {
@@ -46,7 +46,7 @@ void main() {
var suite;
setUp(() {
/// TODO(nweiz): Use scheduled_test for this once it's compatible with
- /// this version of unittest.
+ /// this version of test.
new File(p.join(_sandbox, 'a_test.dart')).writeAsStringSync(_tests);
return _loader.loadFile(p.join(_sandbox, 'a_test.dart')).then((suites) {
expect(suites, hasLength(1));
@@ -116,7 +116,7 @@ void main() {
var suites;
setUp(() {
/// TODO(nweiz): Use scheduled_test for this once it's compatible with
- /// this version of unittest.
+ /// this version of test.
new File(p.join(_sandbox, 'a_test.dart')).writeAsStringSync(_tests);
new File(p.join(_sandbox, 'another_test.dart'))
.writeAsStringSync(_tests);
« no previous file with comments | « test/runner/isolate_listener_test.dart ('k') | test/runner/parse_metadata_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698