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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/get/git/locked_revision_without_repo_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 path;
3 import 'package:scheduled_test/scheduled_test.dart';
4 import '../../../lib/src/io.dart';
5 import '../../descriptor.dart' as d;
6 import '../../test_pub.dart';
7 main() {
8 initConfig();
9 integration('checks out the repository for a locked revision', () {
10 ensureGit();
11 d.git('foo.git', [d.libDir('foo'), d.libPubspec('foo', '1.0.0')]).create();
12 d.appDir({
13 "foo": {
14 "git": "../foo.git"
15 }
16 }).create();
17 pubGet();
18 d.dir(
19 packagesPath,
20 [d.dir('foo', [d.file('foo.dart', 'main() => "foo";')])]).validate();
21 schedule(() => deleteEntry(path.join(sandboxDir, packagesPath)));
22 schedule(() => deleteEntry(path.join(sandboxDir, cachePath)));
23 d.git(
24 'foo.git',
25 [d.libDir('foo', 'foo 2'), d.libPubspec('foo', '1.0.0')]).commit();
26 pubGet();
27 d.dir(
28 packagesPath,
29 [d.dir('foo', [d.file('foo.dart', 'main() => "foo";')])]).validate();
30 });
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698