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

Side by Side Diff: test/dev_dependency_test.dart

Issue 1215833002: Use the new test runner. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 6 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'descriptor.dart' as d; 5 import 'descriptor.dart' as d;
6 import 'test_pub.dart'; 6 import 'test_pub.dart';
7 7
8 main() { 8 main() {
9 initConfig();
10 integration("includes root package's dev dependencies", () { 9 integration("includes root package's dev dependencies", () {
11 d.dir('foo', [ 10 d.dir('foo', [
12 d.libDir('foo'), 11 d.libDir('foo'),
13 d.libPubspec('foo', '0.0.1') 12 d.libPubspec('foo', '0.0.1')
14 ]).create(); 13 ]).create();
15 14
16 d.dir('bar', [ 15 d.dir('bar', [
17 d.libDir('bar'), 16 d.libDir('bar'),
18 d.libPubspec('bar', '0.0.1') 17 d.libPubspec('bar', '0.0.1')
19 ]).create(); 18 ]).create();
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 pubGet(); 99 pubGet();
101 100
102 d.dir(packagesPath, [ 101 d.dir(packagesPath, [
103 d.dir("foo", [ 102 d.dir("foo", [
104 d.file("foo.dart", 'main() => "foo";') 103 d.file("foo.dart", 'main() => "foo";')
105 ]), 104 ]),
106 d.nothing("bar") 105 d.nothing("bar")
107 ]).validate(); 106 ]).validate();
108 }); 107 });
109 } 108 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698