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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/get/relative_symlink_test.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 library pub_tests;
2 import 'dart:io';
3 import '../descriptor.dart' as d;
4 import '../test_pub.dart';
5 main() {
6 if (Platform.operatingSystem == "windows") return;
7 initConfig();
8 integration('uses a relative symlink for the self link', () {
9 d.dir(appPath, [d.appPubspec(), d.libDir('foo')]).create();
10 pubGet();
11 scheduleRename(appPath, "moved");
12 d.dir(
13 "moved",
14 [
15 d.dir(
16 "packages",
17 [d.dir("myapp", [d.file('foo.dart', 'main() => "foo";')])])]).va lidate();
18 });
19 integration('uses a relative symlink for secondary packages directory', () {
20 d.dir(appPath, [d.appPubspec(), d.libDir('foo'), d.dir("bin")]).create();
21 pubGet();
22 scheduleRename(appPath, "moved");
23 d.dir(
24 "moved",
25 [
26 d.dir(
27 "bin",
28 [
29 d.dir(
30 "packages",
31 [d.dir("myapp", [d.file('foo.dart', 'main() => "foo";')] )])])]).validate();
32 });
33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698