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

Unified Diff: utils/tests/pub/install/hosted/resolve_constraints_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/resolve_constraints_test.dart
diff --git a/utils/tests/pub/install/hosted/resolve_constraints_test.dart b/utils/tests/pub/install/hosted/resolve_constraints_test.dart
index 2b6f2b03c1f9948b16aa8638c60ce31026317f3c..fa95d32cd7535a94371355e361135e0c462b3568 100644
--- a/utils/tests/pub/install/hosted/resolve_constraints_test.dart
+++ b/utils/tests/pub/install/hosted/resolve_constraints_test.dart
@@ -6,34 +6,33 @@ library pub_tests;
import 'dart:io';
-import '../../descriptor.dart' as d;
import '../../test_pub.dart';
main() {
integration('resolves version constraints from a pub server', () {
servePackages([
- packageMap("foo", "1.2.3", [dependencyMap("baz", ">=2.0.0")]),
- packageMap("bar", "2.3.4", [dependencyMap("baz", "<3.0.0")]),
- packageMap("baz", "2.0.3"),
- packageMap("baz", "2.0.4"),
- packageMap("baz", "3.0.1")
+ package("foo", "1.2.3", [dependency("baz", ">=2.0.0")]),
+ package("bar", "2.3.4", [dependency("baz", "<3.0.0")]),
+ package("baz", "2.0.3"),
+ package("baz", "2.0.4"),
+ package("baz", "3.0.1")
]);
- d.appDir([dependencyMap("foo"), dependencyMap("bar")]).create();
+ appDir([dependency("foo"), dependency("bar")]).scheduleCreate();
schedulePub(args: ['install'],
output: new RegExp("Dependencies installed!\$"));
- d.cacheDir({
+ cacheDir({
"foo": "1.2.3",
"bar": "2.3.4",
"baz": "2.0.4"
- }).validate();
+ }).scheduleValidate();
- d.packagesDir({
+ packagesDir({
"foo": "1.2.3",
"bar": "2.3.4",
"baz": "2.0.4"
- }).validate();
+ }).scheduleValidate();
});
}

Powered by Google App Engine
This is Rietveld 408576698