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

Side by Side Diff: pkg/path/test/path_test.dart

Issue 11734010: Update pkg/path to use "package:" imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « pkg/path/test/path_posix_test.dart ('k') | pkg/path/test/path_windows_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 all_test; 5 library all_test;
6 6
7 import 'dart:io' as io; 7 import 'dart:io' as io;
8 8
9 // TODO(rnystrom): Use "package:" path when #7491 is fixed. 9 import 'package:unittest/unittest.dart';
10 import '../../unittest/lib/unittest.dart'; 10 import 'package:path/path.dart' as path;
11 import '../lib/path.dart' as path;
12 11
13 main() { 12 main() {
14 group('path.Style', () { 13 group('path.Style', () {
15 test('name', () { 14 test('name', () {
16 expect(path.Style.posix.name, 'posix'); 15 expect(path.Style.posix.name, 'posix');
17 expect(path.Style.windows.name, 'windows'); 16 expect(path.Style.windows.name, 'windows');
18 }); 17 });
19 18
20 test('separator', () { 19 test('separator', () {
21 expect(path.Style.posix.separator, '/'); 20 expect(path.Style.posix.separator, '/');
(...skipping 29 matching lines...) Expand all
51 } else { 50 } else {
52 expect(builder.style, path.Style.posix); 51 expect(builder.style, path.Style.posix);
53 } 52 }
54 }); 53 });
55 }); 54 });
56 55
57 test('current', () { 56 test('current', () {
58 expect(path.current, new io.Directory.current().path); 57 expect(path.current, new io.Directory.current().path);
59 }); 58 });
60 } 59 }
OLDNEW
« no previous file with comments | « pkg/path/test/path_posix_test.dart ('k') | pkg/path/test/path_windows_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698