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

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

Issue 13724021: Remove deprecated Expect from the libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 import "package:expect/expect.dart";
5 import "dart:async"; 6 import "dart:async";
6 import "dart:io"; 7 import "dart:io";
7 import "dart:isolate"; 8 import "dart:isolate";
8 9
9 // Test the dart:io Link class. 10 // Test the dart:io Link class.
10 11
11 testCreateSync() { 12 testCreateSync() {
12 Path base = new Path(new Directory('').createTempSync().path); 13 Path base = new Path(new Directory('').createTempSync().path);
13 String link = base.append('link').toNativePath(); 14 String link = base.append('link').toNativePath();
14 String target = base.append('target').toNativePath(); 15 String target = base.append('target').toNativePath();
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 134 }
134 Future.wait(futures).then((_) { 135 Future.wait(futures).then((_) {
135 baseDir.deleteSync(recursive: true); 136 baseDir.deleteSync(recursive: true);
136 }); 137 });
137 } 138 }
138 139
139 140
140 main() { 141 main() {
141 testCreateSync(); 142 testCreateSync();
142 } 143 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698