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

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

Issue 12313114: Disable test on Windows for now. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Perma-kill test on Windows. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « utils/tests/pub/install/path/shared_dependency_symlink_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import '../../../../../pkg/pathos/lib/path.dart' as path; 5 import '../../../../../pkg/pathos/lib/path.dart' as path;
6 6
7 import '../../test_pub.dart'; 7 import '../../test_pub.dart';
8 8
9 main() { 9 main() {
10 initConfig(); 10 initConfig();
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 schedulePub(args: ["install"], 121 schedulePub(args: ["install"],
122 output: new RegExp(r"Dependencies installed!$")); 122 output: new RegExp(r"Dependencies installed!$"));
123 123
124 dir(packagesPath, [ 124 dir(packagesPath, [
125 dir("foo", [file("foo.dart", 'main() => "foo";')]), 125 dir("foo", [file("foo.dart", 'main() => "foo";')]),
126 dir("bar", [file("bar.dart", 'main() => "bar";')]), 126 dir("bar", [file("bar.dart", 'main() => "bar";')]),
127 dir("shared", [file("shared.dart", 'main() => "shared";')]) 127 dir("shared", [file("shared.dart", 'main() => "shared";')])
128 ]).scheduleValidate(); 128 ]).scheduleValidate();
129 }); 129 });
130
131 integration("shared dependency with symlink", () {
132 dir("shared", [
133 libDir("shared"),
134 libPubspec("shared", "0.0.1")
135 ]).scheduleCreate();
136
137 dir("foo", [
138 libDir("foo"),
139 libPubspec("foo", "0.0.1", deps: [
140 {"path": "../shared"}
141 ])
142 ]).scheduleCreate();
143
144 dir("bar", [
145 libDir("bar"),
146 libPubspec("bar", "0.0.1", deps: [
147 {"path": "../link/shared"}
148 ])
149 ]).scheduleCreate();
150
151 dir(appPath, [
152 pubspec({
153 "name": "myapp",
154 "dependencies": {
155 "foo": {"path": "../foo"},
156 "bar": {"path": "../bar"}
157 }
158 })
159 ]).scheduleCreate();
160
161 dir("link").scheduleCreate();
162 scheduleSymlink("shared", path.join("link", "shared"));
163
164 schedulePub(args: ["install"],
165 output: new RegExp(r"Dependencies installed!$"));
166
167 dir(packagesPath, [
168 dir("foo", [file("foo.dart", 'main() => "foo";')]),
169 dir("bar", [file("bar.dart", 'main() => "bar";')]),
170 dir("shared", [file("shared.dart", 'main() => "shared";')])
171 ]).scheduleValidate();
172 });
173 } 130 }
OLDNEW
« no previous file with comments | « utils/tests/pub/install/path/shared_dependency_symlink_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698