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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/serve/serve_from_dependency_lib_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 '../descriptor.dart' as d;
3 import '../test_pub.dart';
4 import 'utils.dart';
5 main() {
6 initConfig();
7 integration("'packages' URLs look in the dependency's lib directory", () {
8 d.dir(
9 "foo",
10 [
11 d.libPubspec("foo", "0.0.1"),
12 d.dir(
13 "lib",
14 [
15 d.file("lib.dart", "foo() => 'foo';"),
16 d.dir("sub", [d.file("lib.dart", "bar() => 'bar';")])])]).cr eate();
17 d.dir(appPath, [d.appPubspec({
18 "foo": {
19 "path": "../foo"
20 }
21 })]).create();
22 pubServe(shouldGetFirst: true);
23 requestShouldSucceed("packages/foo/lib.dart", "foo() => 'foo';");
24 requestShouldSucceed("packages/foo/sub/lib.dart", "bar() => 'bar';");
25 requestShouldSucceed("foo/packages/foo/lib.dart", "foo() => 'foo';");
26 requestShouldSucceed("a/b/packages/foo/sub/lib.dart", "bar() => 'bar';");
27 endPubServe();
28 });
29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698