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

Unified Diff: tests/standalone/src/io/FileTest.dart

Issue 9572005: Move all tests using dart:io to a separate directory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 8 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/src/io/FileOutputStreamTest.dart ('k') | tests/standalone/src/io/HttpParserTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/FileTest.dart
diff --git a/tests/standalone/src/FileTest.dart b/tests/standalone/src/io/FileTest.dart
similarity index 99%
rename from tests/standalone/src/FileTest.dart
rename to tests/standalone/src/io/FileTest.dart
index 58a9a7b5f08fd83808c11f5dfaf3250403378eb7..f691c5d1a6425fb2525d7837bfb342d279a69384 100644
--- a/tests/standalone/src/FileTest.dart
+++ b/tests/standalone/src/io/FileTest.dart
@@ -888,7 +888,7 @@ class FileTest {
f.readAsText('UTF-8', (text) {
Expect.isTrue(text.endsWith("42 bytes."));
Expect.equals(42, text.length);
- var name = getDataFilename("tests/standalone/src/read_as_text.dat");
+ var name = getDataFilename("tests/standalone/src/io/read_as_text.dat");
var f = new File(name);
f.onError = (e) => Expect.fail("No errors expected");
f.readAsText('UTF-8', (text) {
@@ -918,7 +918,7 @@ class FileTest {
var text = new File(name).readAsTextSync();
Expect.isTrue(text.endsWith("42 bytes."));
Expect.equals(42, text.length);
- name = getDataFilename("tests/standalone/src/read_as_text.dat");
+ name = getDataFilename("tests/standalone/src/io/read_as_text.dat");
text = new File(name).readAsTextSync();
Expect.equals(6, text.length);
var expected = [955, 120, 46, 32, 120, 10];
@@ -955,7 +955,7 @@ class FileTest {
var line = lines[0];
Expect.isTrue(line.endsWith("42 bytes."));
Expect.equals(42, line.length);
- name = getDataFilename("tests/standalone/src/readline_test1.dat");
+ name = getDataFilename("tests/standalone/src/io/readline_test1.dat");
lines = new File(name).readAsLinesSync();
Expect.equals(10, lines.length);
}
« no previous file with comments | « tests/standalone/src/io/FileOutputStreamTest.dart ('k') | tests/standalone/src/io/HttpParserTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698