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

Unified Diff: tests/standalone/io/directory_test.dart

Issue 19967002: Remove uses of Path class from tests/standalone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix windows error Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/coverage_test.dart ('k') | tests/standalone/io/file_read_special_device_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/directory_test.dart
diff --git a/tests/standalone/io/directory_test.dart b/tests/standalone/io/directory_test.dart
index f9927d39852065d55feabdea5e5da14f25181901..33c66620c4e6140c70cfb88622317e18b5a28a0c 100644
--- a/tests/standalone/io/directory_test.dart
+++ b/tests/standalone/io/directory_test.dart
@@ -404,11 +404,10 @@ class DirectoryTest {
}
}
- static void testFromPath() {
+ static void testEquals() {
var name = new File('.').fullPathSync();
Directory current1 = new Directory(name);
- var path = new Path(name);
- Directory current2 = new Directory.fromPath(path);
+ Directory current2 = new Directory(name);
Expect.equals(current1.path, current2.path);
Expect.isTrue(current1.existsSync());
}
@@ -432,7 +431,7 @@ class DirectoryTest {
testCreateTemp();
testCreateDeleteTemp();
testCurrent();
- testFromPath();
+ testEquals();
}
}
« no previous file with comments | « tests/standalone/coverage_test.dart ('k') | tests/standalone/io/file_read_special_device_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698