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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/snapshot/doesnt_snapshot_an_entrypoint_dependency_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 'package:path/path.dart' as p;
3 import 'package:scheduled_test/scheduled_test.dart';
4 import '../descriptor.dart' as d;
5 import '../test_pub.dart';
6 main() {
7 initConfig();
8 integration(
9 "doesn't create a snapshot for a package that depends on the " "entrypoint ",
10 () {
11 servePackages((builder) {
12 builder.serve("foo", "1.2.3", deps: {
13 'bar': '1.2.3'
14 },
15 contents: [
16 d.dir("bin", [d.file("hello.dart", "void main() => print('hello!') ;")])]);
17 builder.serve("bar", "1.2.3", deps: {
18 'myapp': 'any'
19 });
20 });
21 d.appDir({
22 "foo": "1.2.3"
23 }).create();
24 pubGet();
25 d.nothing(p.join(appPath, '.pub', 'bin')).validate();
26 });
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698