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

Unified Diff: utils/tests/pub/update/hosted/remove_removed_transitive_dependency_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/update/hosted/remove_removed_transitive_dependency_test.dart
diff --git a/utils/tests/pub/update/hosted/remove_removed_transitive_dependency_test.dart b/utils/tests/pub/update/hosted/remove_removed_transitive_dependency_test.dart
index 4a4658c6ad1dd5c9bfaa8a3a1699f7d8cf0c899a..fa54439ea41f2dcafca54e4a4cb391be47fbff1e 100644
--- a/utils/tests/pub/update/hosted/remove_removed_transitive_dependency_test.dart
+++ b/utils/tests/pub/update/hosted/remove_removed_transitive_dependency_test.dart
@@ -6,44 +6,43 @@ library pub_tests;
import 'dart:io';
-import '../../descriptor.dart' as d;
import '../../test_pub.dart';
main() {
integration("removes a transitive dependency that's no longer depended "
"on", () {
servePackages([
- packageMap("foo", "1.0.0", [dependencyMap("shared-dep")]),
- packageMap("bar", "1.0.0", [
- dependencyMap("shared-dep"),
- dependencyMap("bar-dep")
+ package("foo", "1.0.0", [dependency("shared-dep")]),
+ package("bar", "1.0.0", [
+ dependency("shared-dep"),
+ dependency("bar-dep")
]),
- packageMap("shared-dep", "1.0.0"),
- packageMap("bar-dep", "1.0.0")
+ package("shared-dep", "1.0.0"),
+ package("bar-dep", "1.0.0")
]);
- d.appDir([dependencyMap("foo"), dependencyMap("bar")]).create();
+ appDir([dependency("foo"), dependency("bar")]).scheduleCreate();
schedulePub(args: ['update'],
output: new RegExp(r"Dependencies updated!$"));
- d.packagesDir({
+ packagesDir({
"foo": "1.0.0",
"bar": "1.0.0",
"shared-dep": "1.0.0",
"bar-dep": "1.0.0",
- }).validate();
+ }).scheduleValidate();
- d.appDir([dependencyMap("foo")]).create();
+ appDir([dependency("foo")]).scheduleCreate();
schedulePub(args: ['update'],
output: new RegExp(r"Dependencies updated!$"));
- d.packagesDir({
+ packagesDir({
"foo": "1.0.0",
"bar": null,
"shared-dep": "1.0.0",
"bar-dep": null,
- }).validate();
+ }).scheduleValidate();
});
}

Powered by Google App Engine
This is Rietveld 408576698