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

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

Issue 10035056: Fix a number of editor errors and warnings in io tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
Index: tests/standalone/src/io/FileTest.dart
diff --git a/tests/standalone/src/io/FileTest.dart b/tests/standalone/src/io/FileTest.dart
index 196aac3bc3a37884edce1a82d756f538de429889..3c5cdfda64f1fab03ef79754a889079030718b50 100644
--- a/tests/standalone/src/io/FileTest.dart
+++ b/tests/standalone/src/io/FileTest.dart
@@ -754,7 +754,7 @@ class FileTest {
RandomAccessFile openedFile = file.openSync(FileMode.WRITE);
try {
List<int> buffer = new List<int>(10);
- bool readDone = openedFile.readListSync(buffer, 0, 12);
+ openedFile.readListSync(buffer, 0, 12);
} catch (IndexOutOfRangeException ex) {
exceptionCaught = true;
} catch (Exception ex) {
@@ -765,7 +765,7 @@ class FileTest {
exceptionCaught = false;
try {
List<int> buffer = new List<int>(10);
- bool readDone = openedFile.readListSync(buffer, 6, 6);
+ openedFile.readListSync(buffer, 6, 6);
} catch (IndexOutOfRangeException ex) {
exceptionCaught = true;
} catch (Exception ex) {
@@ -776,7 +776,7 @@ class FileTest {
exceptionCaught = false;
try {
List<int> buffer = new List<int>(10);
- bool readDone = openedFile.readListSync(buffer, -1, 1);
+ openedFile.readListSync(buffer, -1, 1);
} catch (IndexOutOfRangeException ex) {
exceptionCaught = true;
} catch (Exception ex) {
@@ -787,7 +787,7 @@ class FileTest {
exceptionCaught = false;
try {
List<int> buffer = new List<int>(10);
- bool readDone = openedFile.readListSync(buffer, 0, -1);
+ openedFile.readListSync(buffer, 0, -1);
} catch (IndexOutOfRangeException ex) {
exceptionCaught = true;
} catch (Exception ex) {
@@ -798,7 +798,7 @@ class FileTest {
exceptionCaught = false;
try {
List<int> buffer = new List<int>(10);
- bool readDone = openedFile.writeListSync(buffer, 0, 12);
+ openedFile.writeListSync(buffer, 0, 12);
} catch (IndexOutOfRangeException ex) {
exceptionCaught = true;
} catch (Exception ex) {
@@ -809,7 +809,7 @@ class FileTest {
exceptionCaught = false;
try {
List<int> buffer = new List<int>(10);
- bool readDone = openedFile.writeListSync(buffer, 6, 6);
+ openedFile.writeListSync(buffer, 6, 6);
} catch (IndexOutOfRangeException ex) {
exceptionCaught = true;
} catch (Exception ex) {
@@ -820,7 +820,7 @@ class FileTest {
exceptionCaught = false;
try {
List<int> buffer = new List<int>(10);
- bool readDone = openedFile.writeListSync(buffer, -1, 1);
+ openedFile.writeListSync(buffer, -1, 1);
} catch (IndexOutOfRangeException ex) {
exceptionCaught = true;
} catch (Exception ex) {
@@ -831,7 +831,7 @@ class FileTest {
exceptionCaught = false;
try {
List<int> buffer = new List<int>(10);
- bool readDone = openedFile.writeListSync(buffer, 0, -1);
+ openedFile.writeListSync(buffer, 0, -1);
} catch (IndexOutOfRangeException ex) {
exceptionCaught = true;
} catch (Exception ex) {

Powered by Google App Engine
This is Rietveld 408576698