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

Side by Side Diff: utils/tests/pub/install/path/shared_dependency_test.dart

Issue 12782016: Switch pkg packages, pub, and dartdoc to use package: imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 8 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
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file
2 // for details. All rights reserved. Use of this source code is governed by a 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 d.file. 3 // BSD-style license that can be found in the LICENSE d.file.
4 4
5 import '../../../../../pkg/pathos/lib/path.dart' as path; 5 import 'package:pathos/path.dart' as path;
6 6
7 import '../../descriptor.dart' as d; 7 import '../../descriptor.dart' as d;
8 import '../../test_pub.dart'; 8 import '../../test_pub.dart';
9 9
10 main() { 10 main() {
11 initConfig(); 11 initConfig();
12 integration("shared dependency with same path", () { 12 integration("shared dependency with same path", () {
13 d.dir("shared", [ 13 d.dir("shared", [
14 d.libDir("shared"), 14 d.libDir("shared"),
15 d.libPubspec("shared", "0.0.1") 15 d.libPubspec("shared", "0.0.1")
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 schedulePub(args: ["install"], 122 schedulePub(args: ["install"],
123 output: new RegExp(r"Dependencies installed!$")); 123 output: new RegExp(r"Dependencies installed!$"));
124 124
125 d.dir(packagesPath, [ 125 d.dir(packagesPath, [
126 d.dir("foo", [d.file("foo.dart", 'main() => "foo";')]), 126 d.dir("foo", [d.file("foo.dart", 'main() => "foo";')]),
127 d.dir("bar", [d.file("bar.dart", 'main() => "bar";')]), 127 d.dir("bar", [d.file("bar.dart", 'main() => "bar";')]),
128 d.dir("shared", [d.file("shared.dart", 'main() => "shared";')]) 128 d.dir("shared", [d.file("shared.dart", 'main() => "shared";')])
129 ]).validate(); 129 ]).validate();
130 }); 130 });
131 } 131 }
OLDNEW
« no previous file with comments | « utils/tests/pub/install/path/shared_dependency_symlink_test.dart ('k') | utils/tests/pub/install/pub_install_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698