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

Unified Diff: utils/tests/pub/install/hosted/install_transitive_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/hosted/install_transitive_test.dart
diff --git a/utils/tests/pub/install/hosted/install_transitive_test.dart b/utils/tests/pub/install/hosted/install_transitive_test.dart
index b111d79d15f850888c03af12caf317a9d180d345..23e4bd69496a873bc3ac621f585cedc104bb577b 100644
--- a/utils/tests/pub/install/hosted/install_transitive_test.dart
+++ b/utils/tests/pub/install/hosted/install_transitive_test.dart
@@ -6,23 +6,24 @@ library pub_tests;
import 'dart:io';
+import '../../descriptor.dart' as d;
import '../../test_pub.dart';
main() {
integration('installs packages transitively from a pub server', () {
servePackages([
- package("foo", "1.2.3", [dependency("bar", "2.0.4")]),
- package("bar", "2.0.3"),
- package("bar", "2.0.4"),
- package("bar", "2.0.5")
+ packageMap("foo", "1.2.3", [dependencyMap("bar", "2.0.4")]),
+ packageMap("bar", "2.0.3"),
+ packageMap("bar", "2.0.4"),
+ packageMap("bar", "2.0.5")
]);
- appDir([dependency("foo", "1.2.3")]).scheduleCreate();
+ d.appDir([dependencyMap("foo", "1.2.3")]).create();
schedulePub(args: ['install'],
output: new RegExp("Dependencies installed!\$"));
- cacheDir({"foo": "1.2.3", "bar": "2.0.4"}).scheduleValidate();
- packagesDir({"foo": "1.2.3", "bar": "2.0.4"}).scheduleValidate();
+ d.cacheDir({"foo": "1.2.3", "bar": "2.0.4"}).validate();
+ d.packagesDir({"foo": "1.2.3", "bar": "2.0.4"}).validate();
});
}
« no previous file with comments | « utils/tests/pub/install/hosted/install_test.dart ('k') | utils/tests/pub/install/hosted/remove_removed_dependency_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698