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

Unified Diff: utils/tests/pub/install/hosted/stay_locked_if_compatible_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/stay_locked_if_compatible_test.dart
diff --git a/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart b/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart
index e6ccc35a55f304845b6f96e4cf362e4bfa58a8c8..768116429cdcafd1a782f49be5c7d23226220456 100644
--- a/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart
+++ b/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart
@@ -6,27 +6,28 @@ library pub_tests;
import 'dart:io';
+import '../../descriptor.dart' as d;
import '../../test_pub.dart';
main() {
integration("doesn't update a locked pub server package with a new "
"compatible constraint", () {
- servePackages([package("foo", "1.0.0")]);
+ servePackages([packageMap("foo", "1.0.0")]);
- appDir([dependency("foo")]).scheduleCreate();
+ d.appDir([dependencyMap("foo")]).create();
schedulePub(args: ['install'],
output: new RegExp(r"Dependencies installed!$"));
- packagesDir({"foo": "1.0.0"}).scheduleValidate();
+ d.packagesDir({"foo": "1.0.0"}).validate();
- servePackages([package("foo", "1.0.1")]);
+ servePackages([packageMap("foo", "1.0.1")]);
- appDir([dependency("foo", ">=1.0.0")]).scheduleCreate();
+ d.appDir([dependencyMap("foo", ">=1.0.0")]).create();
schedulePub(args: ['install'],
output: new RegExp(r"Dependencies installed!$"));
- packagesDir({"foo": "1.0.0"}).scheduleValidate();
+ d.packagesDir({"foo": "1.0.0"}).validate();
});
}

Powered by Google App Engine
This is Rietveld 408576698