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

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 change 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 '../../../pkg/unittest/lib/unittest.dart'; 7 import 'package:unittest/unittest.dart';
8 import '../../pub/directory_tree.dart'; 8 import '../../pub/directory_tree.dart';
Andrei Mouravski 2013/03/27 01:16:37 Newline to match others.
nweiz 2013/03/27 21:03:52 Done.
9 9
10 main() { 10 main() {
11 test('no files', () { 11 test('no files', () {
12 expect(generateTree([]), equals("")); 12 expect(generateTree([]), equals(""));
13 }); 13 });
14 14
15 test('up to ten files in one directory are shown', () { 15 test('up to ten files in one directory are shown', () {
16 var files = [ 16 var files = [
17 "dir/a.dart", 17 "dir/a.dart",
18 "dir/b.dart", 18 "dir/b.dart",
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 |-- absolute_test.dart 136 |-- absolute_test.dart
137 |-- all_test.dart 137 |-- all_test.dart
138 |-- basename_test.dart 138 |-- basename_test.dart
139 | (7 more...) 139 | (7 more...)
140 |-- path_windows_test.dart 140 |-- path_windows_test.dart
141 |-- relative_test.dart 141 |-- relative_test.dart
142 '-- split_test.dart 142 '-- split_test.dart
143 """)); 143 """));
144 }); 144 });
145 } 145 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698