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

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

Issue 14018007: Rename RandomAccessFile.readList and RandomAccessFile.writeList to RandomAccessFile.readInto and Ra… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 7 years, 8 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_error_test.dart ('k') | tests/standalone/io/file_invalid_arguments_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/file_fuzz_test.dart
diff --git a/tests/standalone/io/file_fuzz_test.dart b/tests/standalone/io/file_fuzz_test.dart
index b210bff22a3f6ea6d7b3266537c1eef0e1729cd8..3013a01a0257cfe13db98e22c646910d68d3c23e 100644
--- a/tests/standalone/io/file_fuzz_test.dart
+++ b/tests/standalone/io/file_fuzz_test.dart
@@ -80,8 +80,8 @@ fuzzSyncRandomAccessMethods() {
doItSync(() => opened.writeStringSync(p[0], p[1]));
}
for (var p in typePermutations(3)) {
- doItSync(() => opened.readListSync(p[0], p[1], p[2]));
- doItSync(() => opened.writeListSync(p[0], p[1], p[2]));
+ doItSync(() => opened.readIntoSync(p[0], p[1], p[2]));
+ doItSync(() => opened.writeFromSync(p[0], p[1], p[2]));
}
opened.closeSync();
}
@@ -108,8 +108,8 @@ fuzzAsyncRandomAccessMethods() {
futures.add(doItAsync(() => opened.writeString(p[0], p[1])));
}
for (var p in typePermutations(3)) {
- futures.add(doItAsync(() => opened.readList(p[0], p[1], p[2])));
- futures.add(doItAsync(() => opened.writeList(p[0], p[1], p[2])));
+ futures.add(doItAsync(() => opened.readInto(p[0], p[1], p[2])));
+ futures.add(doItAsync(() => opened.writeFrom(p[0], p[1], p[2])));
}
}
Future.wait(futures).then((ignore) {
« no previous file with comments | « tests/standalone/io/file_error_test.dart ('k') | tests/standalone/io/file_invalid_arguments_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698