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

Unified Diff: utils/tests/pub/install/git/different_repo_name_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
Index: utils/tests/pub/install/git/different_repo_name_test.dart
diff --git a/utils/tests/pub/install/git/different_repo_name_test.dart b/utils/tests/pub/install/git/different_repo_name_test.dart
index 3c30faf8e69e8ac7e7982f7ba99b0a77417e4353..8f5657c7dec6e8b58ad53c625fa4b9301c2da4a3 100644
--- a/utils/tests/pub/install/git/different_repo_name_test.dart
+++ b/utils/tests/pub/install/git/different_repo_name_test.dart
@@ -6,7 +6,6 @@ library pub_tests;
import 'dart:io';
-import '../../descriptor.dart' as d;
import '../../test_pub.dart';
main() {
@@ -14,27 +13,27 @@ main() {
'pubspec', () {
ensureGit();
- d.git('foo.git', [
- d.libDir('weirdname'),
- d.libPubspec('weirdname', '1.0.0')
- ]).create();
+ git('foo.git', [
+ libDir('weirdname'),
+ libPubspec('weirdname', '1.0.0')
+ ]).scheduleCreate();
- d.dir(appPath, [
- d.pubspec({
+ dir(appPath, [
+ pubspec({
"name": "myapp",
"dependencies": {
"weirdname": {"git": "../foo.git"}
}
})
- ]).create();
+ ]).scheduleCreate();
schedulePub(args: ['install'],
output: new RegExp(r"Dependencies installed!$"));
- d.dir(packagesPath, [
- d.dir('weirdname', [
- d.file('weirdname.dart', 'main() => "weirdname";')
+ dir(packagesPath, [
+ dir('weirdname', [
+ file('weirdname.dart', 'main() => "weirdname";')
])
- ]).validate();
+ ]).scheduleValidate();
});
}

Powered by Google App Engine
This is Rietveld 408576698