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

Side by Side Diff: tests/standalone/io/path_test.dart

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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 | « tests/standalone/io/options_test.dart ('k') | tests/standalone/io/pipe_server_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 // Test the Path class in dart:io. 5 // Test the Path class in dart:io.
6 6
7 import "package:expect/expect.dart";
8 import "dart:io"; 7 import "dart:io";
9 8
10 void main() { 9 void main() {
11 testBaseFunctions(); 10 testBaseFunctions();
12 testRaw(); 11 testRaw();
13 testCanonicalize(); 12 testCanonicalize();
14 testJoinAppend(); 13 testJoinAppend();
15 testRelativeTo(); 14 testRelativeTo();
16 testWindowsShare(); 15 testWindowsShare();
17 } 16 }
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 Expect.isTrue(canonical.toString().startsWith('/share/a')); 294 Expect.isTrue(canonical.toString().startsWith('/share/a'));
296 Expect.isTrue(canonical.toNativePath().startsWith(r'\\share\a')); 295 Expect.isTrue(canonical.toNativePath().startsWith(r'\\share\a'));
297 Expect.listEquals(['share', 'a', 'c'], canonical.segments()); 296 Expect.listEquals(['share', 'a', 'c'], canonical.segments());
298 var appended = canonical.append('d'); 297 var appended = canonical.append('d');
299 Expect.isTrue(appended.isAbsolute); 298 Expect.isTrue(appended.isAbsolute);
300 Expect.isTrue(appended.isWindowsShare); 299 Expect.isTrue(appended.isWindowsShare);
301 var directoryPath = canonical.directoryPath; 300 var directoryPath = canonical.directoryPath;
302 Expect.isTrue(directoryPath.isAbsolute); 301 Expect.isTrue(directoryPath.isAbsolute);
303 Expect.isTrue(directoryPath.isWindowsShare); 302 Expect.isTrue(directoryPath.isWindowsShare);
304 } 303 }
OLDNEW
« no previous file with comments | « tests/standalone/io/options_test.dart ('k') | tests/standalone/io/pipe_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698