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

Side by Side Diff: utils/tests/pub/install/path/shared_dependency_symlink_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 | « no previous file | utils/tests/pub/install/path/shared_dependency_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 import 'dart:io';
6
7 import '../../../../../pkg/pathos/lib/path.dart' as path;
8
9 import '../../test_pub.dart';
10
11 main() {
12 // new File().fullPathSync() does not resolve through NTFS junction points,
13 // so this feature does not work on Windows.
14 if (Platform.operatingSystem == "windows") return;
15
16 initConfig();
17 integration("shared dependency with symlink", () {
18 dir("shared", [
19 libDir("shared"),
20 libPubspec("shared", "0.0.1")
21 ]).scheduleCreate();
22
23 dir("foo", [
24 libDir("foo"),
25 libPubspec("foo", "0.0.1", deps: [
26 {"path": "../shared"}
27 ])
28 ]).scheduleCreate();
29
30 dir("bar", [
31 libDir("bar"),
32 libPubspec("bar", "0.0.1", deps: [
33 {"path": "../link/shared"}
34 ])
35 ]).scheduleCreate();
36
37 dir(appPath, [
38 pubspec({
39 "name": "myapp",
40 "dependencies": {
41 "foo": {"path": "../foo"},
42 "bar": {"path": "../bar"}
43 }
44 })
45 ]).scheduleCreate();
46
47 dir("link").scheduleCreate();
48 scheduleSymlink("shared", path.join("link", "shared"));
49
50 schedulePub(args: ["install"],
51 output: new RegExp(r"Dependencies installed!$"));
52
53 dir(packagesPath, [
54 dir("foo", [file("foo.dart", 'main() => "foo";')]),
55 dir("bar", [file("bar.dart", 'main() => "bar";')]),
56 dir("shared", [file("shared.dart", 'main() => "shared";')])
57 ]).scheduleValidate();
58 });
59 }
OLDNEW
« no previous file with comments | « no previous file | utils/tests/pub/install/path/shared_dependency_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698