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

Unified Diff: dart/tests/standalone/src/FileInputStreamTest.dart

Issue 8261009: Create a standalone test directory and move tests in runtime/tests/dart (mostly) to that directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 2 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
Index: dart/tests/standalone/src/FileInputStreamTest.dart
===================================================================
--- dart/tests/standalone/src/FileInputStreamTest.dart (revision 386)
+++ dart/tests/standalone/src/FileInputStreamTest.dart (working copy)
@@ -13,10 +13,10 @@
// Helper method to be able to run the test from the runtime
// directory, or the top directory.
String getFilename(String path) =>
- FileUtil.fileExists(path) ? path : 'runtime/' + path;
+ FileUtil.fileExists(path) ? path : '../' + path;
main() {
- String fName = getFilename("tests/dart/src/readuntil_test.dat");
+ String fName = getFilename("tests/standalone/src/readuntil_test.dat");
// File contains "Hello Dart, wassup!"
File file = new File(fName, false);
FileInputStream x = new FileInputStream(file);

Powered by Google App Engine
This is Rietveld 408576698