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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. 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 | « 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";
7 import "dart:io"; 8 import "dart:io";
8 9
9 void main() { 10 void main() {
10 testBaseFunctions(); 11 testBaseFunctions();
11 testRaw(); 12 testRaw();
12 testToNativePath(); 13 testToNativePath();
13 testCanonicalize(); 14 testCanonicalize();
14 testJoinAppend(); 15 testJoinAppend();
15 testRelativeTo(); 16 testRelativeTo();
16 testWindowsShare(); 17 testWindowsShare();
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 Expect.equals('../../c', CPath.relativeTo(cPath).toString()); 332 Expect.equals('../../c', CPath.relativeTo(cPath).toString());
332 Expect.equals('../b/d', cPath.relativeTo(CPath).toString()); 333 Expect.equals('../b/d', cPath.relativeTo(CPath).toString());
333 Expect.equals('.', DPath.relativeTo(DPath).toString()); 334 Expect.equals('.', DPath.relativeTo(DPath).toString());
334 Expect.equals('.', NoPath.relativeTo(NoPath).toString()); 335 Expect.equals('.', NoPath.relativeTo(NoPath).toString());
335 Expect.equals('.', C2Path.relativeTo(cPath).toString()); 336 Expect.equals('.', C2Path.relativeTo(cPath).toString());
336 Expect.equals('..', C3Path.relativeTo(cPath).toString()); 337 Expect.equals('..', C3Path.relativeTo(cPath).toString());
337 Expect.equals('d', cPath.relativeTo(C3Path).toString()); 338 Expect.equals('d', cPath.relativeTo(C3Path).toString());
338 Expect.equals('a/b/d', cPath.relativeTo(C4Path).toString()); 339 Expect.equals('a/b/d', cPath.relativeTo(C4Path).toString());
339 Expect.equals('../../../', C4Path.relativeTo(cPath).toString()); 340 Expect.equals('../../../', C4Path.relativeTo(cPath).toString());
340 } 341 }
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