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

Side by Side Diff: test/deps_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 'package:scheduled_test/scheduled_test.dart'; 5 import 'package:scheduled_test/scheduled_test.dart';
6 6
7 import 'descriptor.dart' as d; 7 import 'descriptor.dart' as d;
8 import 'test_pub.dart'; 8 import 'test_pub.dart';
9 9
10 main() { 10 main() {
11 initConfig();
12
13 setUp(() { 11 setUp(() {
14 servePackages((builder) { 12 servePackages((builder) {
15 builder.serve("normal", "1.2.3", deps: { 13 builder.serve("normal", "1.2.3", deps: {
16 "transitive": "any", 14 "transitive": "any",
17 "circular_a": "any" 15 "circular_a": "any"
18 }); 16 });
19 builder.serve("transitive", "1.2.3", deps: {"shared": "any"}); 17 builder.serve("transitive", "1.2.3", deps: {"shared": "any"});
20 builder.serve("shared", "1.2.3", deps: {"other": "any"}); 18 builder.serve("shared", "1.2.3", deps: {"other": "any"});
21 builder.serve("unittest", "1.2.3", deps: {"shared": "any"}); 19 builder.serve("unittest", "1.2.3", deps: {"shared": "any"});
22 builder.serve("other", "1.0.0"); 20 builder.serve("other", "1.0.0");
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 | '-- transitive 1.2.3 120 | '-- transitive 1.2.3
123 | '-- shared... 121 | '-- shared...
124 |-- overridden 2.0.0 122 |-- overridden 2.0.0
125 |-- override_only 1.2.3 123 |-- override_only 1.2.3
126 '-- unittest 1.2.3 124 '-- unittest 1.2.3
127 '-- shared 1.2.3 125 '-- shared 1.2.3
128 '-- other 1.0.0 126 '-- other 1.0.0
129 '''); 127 ''');
130 }); 128 });
131 } 129 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698