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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/hosted/remove_removed_transitive_dependency_test.dart

Issue 896623005: Use native async/await support in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 library pub_tests;
6
7 import '../descriptor.dart' as d;
8 import '../test_pub.dart';
9
10 main() {
11 initConfig();
12
13 forBothPubGetAndUpgrade((command) {
14 integration(
15 "removes a transitive dependency that's no longer depended " "on",
16 () {
17 servePackages((builder) {
18 builder.serve("foo", "1.0.0", deps: {
19 "shared-dep": "any"
20 });
21 builder.serve("bar", "1.0.0", deps: {
22 "shared-dep": "any",
23 "bar-dep": "any"
24 });
25 builder.serve("shared-dep", "1.0.0");
26 builder.serve("bar-dep", "1.0.0");
27 });
28
29 d.appDir({
30 "foo": "any",
31 "bar": "any"
32 }).create();
33
34 pubCommand(command);
35
36 d.packagesDir({
37 "foo": "1.0.0",
38 "bar": "1.0.0",
39 "shared-dep": "1.0.0",
40 "bar-dep": "1.0.0",
41 }).validate();
42
43 d.appDir({
44 "foo": "any"
45 }).create();
46
47 pubCommand(command);
48
49 d.packagesDir({
50 "foo": "1.0.0",
51 "bar": null,
52 "shared-dep": "1.0.0",
53 "bar-dep": null,
54 }).validate();
55 });
56 });
57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698