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

Unified Diff: utils/tests/pub/install/hosted/install_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_test.dart
diff --git a/utils/tests/pub/install/hosted/install_test.dart b/utils/tests/pub/install/hosted/install_test.dart
index 5db55532ddc4920e33612f727f6f1335456ad0f6..5bc120c3d7a9c2d4cc57e6b9e8e193bfd2adab3f 100644
--- a/utils/tests/pub/install/hosted/install_test.dart
+++ b/utils/tests/pub/install/hosted/install_test.dart
@@ -6,27 +6,26 @@ library pub_tests;
import 'dart:io';
-import '../../descriptor.dart' as d;
import '../../test_pub.dart';
main() {
initConfig();
integration('installs a package from a pub server', () {
- servePackages([packageMap("foo", "1.2.3")]);
+ servePackages([package("foo", "1.2.3")]);
- 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"}).validate();
- d.packagesDir({"foo": "1.2.3"}).validate();
+ cacheDir({"foo": "1.2.3"}).scheduleValidate();
+ packagesDir({"foo": "1.2.3"}).scheduleValidate();
});
integration('URL encodes the package name', () {
servePackages([]);
- d.appDir([dependencyMap("bad name!", "1.2.3")]).create();
+ appDir([dependency("bad name!", "1.2.3")]).scheduleCreate();
schedulePub(args: ['install'],
error: new RegExp('Could not find package "bad name!" at '

Powered by Google App Engine
This is Rietveld 408576698