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

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

Issue 9415043: Port async file operations to be using native ports instead or an isolate (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Implemented all file operations using native ports 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
« runtime/bin/io.dart ('K') | « runtime/vm/dart_api_message.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/FileTest.dart
diff --git a/tests/standalone/src/FileTest.dart b/tests/standalone/src/FileTest.dart
index 5b172bb088e4ab0486d23dbaeb186e37c88ff67d..d86e8fd8b5c20b79eaf46c49d4a38d99fee1ab5d 100644
--- a/tests/standalone/src/FileTest.dart
+++ b/tests/standalone/src/FileTest.dart
@@ -467,7 +467,12 @@ class FileTest {
static void testTruncate() {
File file = new File(tempDirectory.path + "/out_truncate");
- List buffer = const [65, 65, 65, 65, 65, 65, 65, 65, 65, 65];
+ // TODO(sgjesse): Handle this.
Mads Ager (google) 2012/02/20 13:50:31 Should be handled before commit as well.
Søren Gjesse 2012/02/22 16:27:07 Done.
+ // List buffer = const [65, 65, 65, 65, 65, 65, 65, 65, 65, 65];
+ List buffer = new List(10);
+ for (int i = 0; i < 10; i++) {
+ buffer[i] = 65;
+ }
file.errorHandler = (error) {
Expect.fail("testTruncate: No errors expected");
};
« runtime/bin/io.dart ('K') | « runtime/vm/dart_api_message.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698