OLD | NEW |
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 '../../../pkg/unittest/lib/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; |
| 8 |
8 import '../../pub/directory_tree.dart'; | 9 import '../../pub/directory_tree.dart'; |
9 | 10 |
10 main() { | 11 main() { |
11 test('no files', () { | 12 test('no files', () { |
12 expect(generateTree([]), equals("")); | 13 expect(generateTree([]), equals("")); |
13 }); | 14 }); |
14 | 15 |
15 test('up to ten files in one directory are shown', () { | 16 test('up to ten files in one directory are shown', () { |
16 var files = [ | 17 var files = [ |
17 "dir/a.dart", | 18 "dir/a.dart", |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 |-- absolute_test.dart | 137 |-- absolute_test.dart |
137 |-- all_test.dart | 138 |-- all_test.dart |
138 |-- basename_test.dart | 139 |-- basename_test.dart |
139 | (7 more...) | 140 | (7 more...) |
140 |-- path_windows_test.dart | 141 |-- path_windows_test.dart |
141 |-- relative_test.dart | 142 |-- relative_test.dart |
142 '-- split_test.dart | 143 '-- split_test.dart |
143 """)); | 144 """)); |
144 }); | 145 }); |
145 } | 146 } |
OLD | NEW |