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

Side by Side Diff: utils/tests/pub/directory_tree_test.dart

Issue 12782016: Switch pkg packages, pub, and dartdoc to use package: imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. 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
« no previous file with comments | « utils/tests/pub/dev_dependency_test.dart ('k') | utils/tests/pub/error_group_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '../../../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
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 }
OLDNEW
« no previous file with comments | « utils/tests/pub/dev_dependency_test.dart ('k') | utils/tests/pub/error_group_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698