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

Side by Side Diff: utils/tests/pub/io_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/install/relative_symlink_test.dart ('k') | utils/tests/pub/lock_file_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 io_test; 5 library io_test;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import '../../../pkg/pathos/lib/path.dart' as path; 9 import 'package:pathos/path.dart' as path;
10 import '../../../pkg/unittest/lib/unittest.dart'; 10 import 'package:unittest/unittest.dart';
11 11
12 import '../../pub/io.dart'; 12 import '../../pub/io.dart';
13 import '../../pub/utils.dart'; 13 import '../../pub/utils.dart';
14 import 'test_pub.dart'; 14 import 'test_pub.dart';
15 15
16 main() { 16 main() {
17 initConfig(); 17 initConfig();
18 18
19 group('listDir', () { 19 group('listDir', () {
20 test('lists a simple directory non-recursively', () { 20 test('lists a simple directory non-recursively', () {
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 return createSymlink(targetPath, symlink1Path) 282 return createSymlink(targetPath, symlink1Path)
283 .then((_) => createSymlink(symlink1Path, symlink2Path)) 283 .then((_) => createSymlink(symlink1Path, symlink2Path))
284 .then((_) { 284 .then((_) {
285 expect(predicate(symlink2Path), equals(forMultiLevelFileSymlink)); 285 expect(predicate(symlink2Path), equals(forMultiLevelFileSymlink));
286 }); 286 });
287 }), completes); 287 }), completes);
288 }); 288 });
289 } 289 }
290 }); 290 });
291 } 291 }
OLDNEW
« no previous file with comments | « utils/tests/pub/install/relative_symlink_test.dart ('k') | utils/tests/pub/lock_file_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698