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

Side by Side Diff: test/dependency_computer/import_dependencies_test.dart

Issue 1585513002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 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) 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("reports a dependency if a transformed local file is imported", 10 integration("reports a dependency if a transformed local file is imported",
13 () { 11 () {
14 d.dir(appPath, [ 12 d.dir(appPath, [
15 d.pubspec({ 13 d.pubspec({
16 "name": "myapp", 14 "name": "myapp",
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 ]).create(); 180 ]).create();
183 181
184 d.dir("foo", [ 182 d.dir("foo", [
185 d.pubspec({"name": "foo", "version": "1.0.0"}), 183 d.pubspec({"name": "foo", "version": "1.0.0"}),
186 d.dir("lib", [d.file("transformer.dart", transformer())]) 184 d.dir("lib", [d.file("transformer.dart", transformer())])
187 ]).create(); 185 ]).create();
188 186
189 expectDependencies({'myapp': ['foo'], 'foo': []}); 187 expectDependencies({'myapp': ['foo'], 'foo': []});
190 }); 188 });
191 } 189 }
OLDNEW
« no previous file with comments | « test/dependency_computer/error_test.dart ('k') | test/dependency_computer/no_dependencies_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698