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

Side by Side Diff: test/get/hosted/gets_a_package_with_busted_dev_dependencies_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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library pub_tests; 5 library pub_tests;
6 6
7 import 'package:pub/src/exit_codes.dart' as exit_codes; 7 import 'package:pub/src/exit_codes.dart' as exit_codes;
8 8
9 import '../../descriptor.dart' as d; 9 import '../../descriptor.dart' as d;
10 import '../../test_pub.dart'; 10 import '../../test_pub.dart';
11 11
12 main() { 12 main() {
13 initConfig();
14
15 // Regression test for issue 22194. 13 // Regression test for issue 22194.
16 integration('gets a dependency with broken dev dependencies from a pub ' 14 integration('gets a dependency with broken dev dependencies from a pub '
17 'server', () { 15 'server', () {
18 servePackages((builder) { 16 servePackages((builder) {
19 builder.serve("foo", "1.2.3", pubspec: { 17 builder.serve("foo", "1.2.3", pubspec: {
20 "dev_dependencies": { 18 "dev_dependencies": {
21 "busted": {"not a real source": null} 19 "busted": {"not a real source": null}
22 } 20 }
23 }); 21 });
24 }); 22 });
25 23
26 d.appDir({"foo": "1.2.3"}).create(); 24 d.appDir({"foo": "1.2.3"}).create();
27 25
28 pubGet(); 26 pubGet();
29 27
30 d.cacheDir({"foo": "1.2.3"}).validate(); 28 d.cacheDir({"foo": "1.2.3"}).validate();
31 d.packagesDir({"foo": "1.2.3"}).validate(); 29 d.packagesDir({"foo": "1.2.3"}).validate();
32 }); 30 });
33 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698