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

Unified Diff: utils/tests/pub/install/git/different_repo_name_test.dart

Issue 12437022: Use scheduled_test for Pub tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: re-upload 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 8f5657c7dec6e8b58ad53c625fa4b9301c2da4a3..3c30faf8e69e8ac7e7982f7ba99b0a77417e4353 100644
--- a/utils/tests/pub/install/git/different_repo_name_test.dart
+++ b/utils/tests/pub/install/git/different_repo_name_test.dart
@@ -6,6 +6,7 @@ library pub_tests;
import 'dart:io';
+import '../../descriptor.dart' as d;
import '../../test_pub.dart';
main() {
@@ -13,27 +14,27 @@ main() {
'pubspec', () {
ensureGit();
- git('foo.git', [
- libDir('weirdname'),
- libPubspec('weirdname', '1.0.0')
- ]).scheduleCreate();
+ d.git('foo.git', [
+ d.libDir('weirdname'),
+ d.libPubspec('weirdname', '1.0.0')
+ ]).create();
- dir(appPath, [
- pubspec({
+ d.dir(appPath, [
+ d.pubspec({
"name": "myapp",
"dependencies": {
"weirdname": {"git": "../foo.git"}
}
})
- ]).scheduleCreate();
+ ]).create();
schedulePub(args: ['install'],
output: new RegExp(r"Dependencies installed!$"));
- dir(packagesPath, [
- dir('weirdname', [
- file('weirdname.dart', 'main() => "weirdname";')
+ d.dir(packagesPath, [
+ d.dir('weirdname', [
+ d.file('weirdname.dart', 'main() => "weirdname";')
])
- ]).scheduleValidate();
+ ]).validate();
});
}

Powered by Google App Engine
This is Rietveld 408576698