OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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; | |
6 | |
7 import '../descriptor.dart' as d; | 5 import '../descriptor.dart' as d; |
8 import '../test_pub.dart'; | 6 import '../test_pub.dart'; |
9 import 'utils.dart'; | 7 import 'utils.dart'; |
10 | 8 |
11 void main() { | 9 void main() { |
12 integration("doesn't return a dependency's transformer that can't run on lib", | 10 integration("doesn't return a dependency's transformer that can't run on lib", |
13 () { | 11 () { |
14 d.dir(appPath, [ | 12 d.dir(appPath, [ |
15 d.pubspec({ | 13 d.pubspec({ |
16 "name": "myapp", | 14 "name": "myapp", |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 ]), | 116 ]), |
119 d.dir("test", [d.file("foo_test.dart", "")]) | 117 d.dir("test", [d.file("foo_test.dart", "")]) |
120 ]).create(); | 118 ]).create(); |
121 | 119 |
122 expectDependencies({ | 120 expectDependencies({ |
123 'foo/bar': [], | 121 'foo/bar': [], |
124 'myapp': ['foo/bar'] | 122 'myapp': ['foo/bar'] |
125 }); | 123 }); |
126 }); | 124 }); |
127 } | 125 } |
OLD | NEW |