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

Unified Diff: utils/tests/pub/install/hosted/install_transitive_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/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 23e4bd69496a873bc3ac621f585cedc104bb577b..b111d79d15f850888c03af12caf317a9d180d345 100644
--- a/utils/tests/pub/install/hosted/install_transitive_test.dart
+++ b/utils/tests/pub/install/hosted/install_transitive_test.dart
@@ -6,24 +6,23 @@ 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([
- 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")
+ 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")
]);
- d.appDir([dependencyMap("foo", "1.2.3")]).create();
+ appDir([dependency("foo", "1.2.3")]).scheduleCreate();
schedulePub(args: ['install'],
output: new RegExp("Dependencies installed!\$"));
- d.cacheDir({"foo": "1.2.3", "bar": "2.0.4"}).validate();
- d.packagesDir({"foo": "1.2.3", "bar": "2.0.4"}).validate();
+ cacheDir({"foo": "1.2.3", "bar": "2.0.4"}).scheduleValidate();
+ packagesDir({"foo": "1.2.3", "bar": "2.0.4"}).scheduleValidate();
});
}
« 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