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

Side by Side Diff: sdk/lib/_internal/pub/test/directory_tree_test.dart

Issue 14297021: Move pub into sdk/lib/_internal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Disallow package: imports of pub. Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 lock_file_test; 5 library lock_file_test;
6 6
7 import 'package:unittest/unittest.dart'; 7 import 'package:unittest/unittest.dart';
8 8
9 import '../../pub/directory_tree.dart'; 9 import '../lib/src/directory_tree.dart';
10 10
11 main() { 11 main() {
12 test('no files', () { 12 test('no files', () {
13 expect(generateTree([]), equals("")); 13 expect(generateTree([]), equals(""));
14 }); 14 });
15 15
16 test('up to ten files in one directory are shown', () { 16 test('up to ten files in one directory are shown', () {
17 var files = [ 17 var files = [
18 "dir/a.dart", 18 "dir/a.dart",
19 "dir/b.dart", 19 "dir/b.dart",
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 |-- absolute_test.dart 137 |-- absolute_test.dart
138 |-- all_test.dart 138 |-- all_test.dart
139 |-- basename_test.dart 139 |-- basename_test.dart
140 | (7 more...) 140 | (7 more...)
141 |-- path_windows_test.dart 141 |-- path_windows_test.dart
142 |-- relative_test.dart 142 |-- relative_test.dart
143 '-- split_test.dart 143 '-- split_test.dart
144 """)); 144 """));
145 }); 145 });
146 } 146 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/pub/test/dev_dependency_test.dart ('k') | sdk/lib/_internal/pub/test/error_group_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698