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

Unified Diff: utils/tests/pub/install/relative_symlink_test.dart

Issue 12782005: Revert "Use scheduled_test for Pub tests." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « utils/tests/pub/install/pub_install_test.dart ('k') | utils/tests/pub/oauth2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/install/relative_symlink_test.dart
diff --git a/utils/tests/pub/install/relative_symlink_test.dart b/utils/tests/pub/install/relative_symlink_test.dart
index 57919996b2871647febf9b2f1861ae5d9edafafa..166a7caa0636c833037fb031b2dc71da486b4f34 100644
--- a/utils/tests/pub/install/relative_symlink_test.dart
+++ b/utils/tests/pub/install/relative_symlink_test.dart
@@ -6,9 +6,7 @@ library pub_tests;
import 'dart:io';
-import '../../../../pkg/scheduled_test/lib/scheduled_test.dart';
-
-import '../descriptor.dart' as d;
+import '../../../../pkg/unittest/lib/unittest.dart';
import '../test_pub.dart';
main() {
@@ -20,45 +18,45 @@ main() {
initConfig();
integration('uses a relative symlink for the self link', () {
- d.dir(appPath, [
- d.appPubspec([]),
- d.libDir('foo')
- ]).create();
+ dir(appPath, [
+ appPubspec([]),
+ libDir('foo')
+ ]).scheduleCreate();
schedulePub(args: ['install'],
output: new RegExp(r"Dependencies installed!$"));
scheduleRename(appPath, "moved");
- d.dir("moved", [
- d.dir("packages", [
- d.dir("myapp", [
- d.file('foo.dart', 'main() => "foo";')
+ dir("moved", [
+ dir("packages", [
+ dir("myapp", [
+ file('foo.dart', 'main() => "foo";')
])
])
- ]).validate();
+ ]).scheduleValidate();
});
integration('uses a relative symlink for secondary packages directory', () {
- d.dir(appPath, [
- d.appPubspec([]),
- d.libDir('foo'),
- d.dir("bin")
- ]).create();
+ dir(appPath, [
+ appPubspec([]),
+ libDir('foo'),
+ dir("bin")
+ ]).scheduleCreate();
schedulePub(args: ['install'],
output: new RegExp(r"Dependencies installed!$"));
scheduleRename(appPath, "moved");
- d.dir("moved", [
- d.dir("bin", [
- d.dir("packages", [
- d.dir("myapp", [
- d.file('foo.dart', 'main() => "foo";')
+ dir("moved", [
+ dir("bin", [
+ dir("packages", [
+ dir("myapp", [
+ file('foo.dart', 'main() => "foo";')
])
])
])
- ]).validate();
+ ]).scheduleValidate();
});
}
« no previous file with comments | « utils/tests/pub/install/pub_install_test.dart ('k') | utils/tests/pub/oauth2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698