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

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

Issue 899243002: Make standalone tests not dependent on current working directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove stray blank line Created 5 years, 10 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/io/file_test.dart ('k') | tests/standalone/io/read_into_const_list_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/platform_test.dart
diff --git a/tests/standalone/io/platform_test.dart b/tests/standalone/io/platform_test.dart
index 5abdc0f72035f742a6b46366c5a3a48c6b70795b..bf59383db3df661431e2adb61df9b7b54a17e4c8 100644
--- a/tests/standalone/io/platform_test.dart
+++ b/tests/standalone/io/platform_test.dart
@@ -67,6 +67,8 @@ testIsolate() {
}
main() {
+ // This tests assumes paths relative to dart main directory
+ Directory.current = Platform.script.resolve('../../..').toFilePath();
test();
testIsolate();
}
« no previous file with comments | « tests/standalone/io/file_test.dart ('k') | tests/standalone/io/read_into_const_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698