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

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

Powered by Google App Engine
This is Rietveld 408576698