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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/get/git/check_out_and_upgrade_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 main() {
5 initConfig();
6 integration('checks out and upgrades a package from Git', () {
7 ensureGit();
8 d.git('foo.git', [d.libDir('foo'), d.libPubspec('foo', '1.0.0')]).create();
9 d.appDir({
10 "foo": {
11 "git": "../foo.git"
12 }
13 }).create();
14 pubGet();
15 d.dir(
16 cachePath,
17 [
18 d.dir(
19 'git',
20 [
21 d.dir('cache', [d.gitPackageRepoCacheDir('foo')]),
22 d.gitPackageRevisionCacheDir('foo')])]).validate();
23 d.dir(
24 packagesPath,
25 [d.dir('foo', [d.file('foo.dart', 'main() => "foo";')])]).validate();
26 d.git(
27 'foo.git',
28 [d.libDir('foo', 'foo 2'), d.libPubspec('foo', '1.0.0')]).commit();
29 pubUpgrade();
30 d.dir(
31 cachePath,
32 [
33 d.dir(
34 'git',
35 [
36 d.dir('cache', [d.gitPackageRepoCacheDir('foo')]),
37 d.gitPackageRevisionCacheDir('foo'),
38 d.gitPackageRevisionCacheDir('foo', 2)])]).validate();
39 d.dir(
40 packagesPath,
41 [d.dir('foo', [d.file('foo.dart', 'main() => "foo 2";')])]).validate();
42 });
43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698