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

Unified Diff: tests/standalone/src/io/ListInputStreamTest.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/ListInputStreamTest.dart
diff --git a/tests/standalone/src/io/ListInputStreamTest.dart b/tests/standalone/src/io/ListInputStreamTest.dart
index 89f15d2e991ac9d736057a28965a270bb6fbc09c..b4aa435c6884c14813ef95e603159ef4c209cd53 100644
--- a/tests/standalone/src/io/ListInputStreamTest.dart
+++ b/tests/standalone/src/io/ListInputStreamTest.dart
@@ -6,7 +6,7 @@
#import("dart:isolate");
void testEmptyListInputStream() {
- InputStream stream = new ListInputStream();
+ ListInputStream stream = new ListInputStream();
stream.write([]);
stream.markEndOfStream();
ReceivePort donePort = new ReceivePort();
@@ -26,7 +26,7 @@ void testEmptyListInputStream() {
}
void testEmptyDynamicListInputStream() {
- InputStream stream = new ListInputStream();
+ ListInputStream stream = new ListInputStream();
ReceivePort donePort = new ReceivePort();
void onData() {
@@ -46,7 +46,7 @@ void testEmptyDynamicListInputStream() {
void testListInputStream1() {
List<int> data = [0x00, 0x01, 0x10, 0x11, 0x7e, 0x7f, 0x80, 0x81, 0xfe, 0xff];
- InputStream stream = new ListInputStream();
+ ListInputStream stream = new ListInputStream();
stream.write(data);
stream.markEndOfStream();
int count = 0;
@@ -71,7 +71,7 @@ void testListInputStream1() {
void testListInputStream2() {
List<int> data = [0x00, 0x01, 0x10, 0x11, 0x7e, 0x7f, 0x80, 0x81, 0xfe, 0xff];
- InputStream stream = new ListInputStream();
+ ListInputStream stream = new ListInputStream();
stream.write(data);
stream.markEndOfStream();
int count = 0;
@@ -98,10 +98,10 @@ void testListInputStream2() {
void testListInputStreamPipe1() {
List<int> data = [0x00, 0x01, 0x10, 0x11, 0x7e, 0x7f, 0x80, 0x81, 0xfe, 0xff];
- InputStream input = new ListInputStream();
+ ListInputStream input = new ListInputStream();
input.write(data);
input.markEndOfStream();
- OutputStream output = new ListOutputStream();
+ ListOutputStream output = new ListOutputStream();
ReceivePort donePort = new ReceivePort();
void onClosed() {
@@ -118,13 +118,13 @@ void testListInputStreamPipe1() {
void testListInputStreamPipe2() {
List<int> data = [0x00, 0x01, 0x10, 0x11, 0x7e, 0x7f, 0x80, 0x81, 0xfe, 0xff];
- OutputStream output = new ListOutputStream();
+ ListOutputStream output = new ListOutputStream();
ReceivePort donePort = new ReceivePort();
int count = 0;
void onClosed() {
if (count < 10) {
- InputStream input = new ListInputStream();
+ ListInputStream input = new ListInputStream();
input.write(data);
input.markEndOfStream();
input.onClosed = onClosed;
@@ -141,7 +141,7 @@ void testListInputStreamPipe2() {
}
}
- InputStream input = new ListInputStream();
+ ListInputStream input = new ListInputStream();
input.write(data);
input.markEndOfStream();
input.onClosed = onClosed;
@@ -153,7 +153,7 @@ void testListInputStreamPipe2() {
void testListInputClose1() {
List<int> data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
- InputStream stream = new ListInputStream();
+ ListInputStream stream = new ListInputStream();
stream.write(data);
stream.markEndOfStream();
ReceivePort donePort = new ReceivePort();
@@ -175,7 +175,7 @@ void testListInputClose1() {
void testListInputClose2() {
List<int> data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
- InputStream stream = new ListInputStream();
+ ListInputStream stream = new ListInputStream();
stream.write(data);
stream.markEndOfStream();
ReceivePort donePort = new ReceivePort();
@@ -199,7 +199,7 @@ void testListInputClose2() {
void testDynamicListInputStream() {
List<int> data = [0x00, 0x01, 0x10, 0x11, 0x7e, 0x7f, 0x80, 0x81, 0xfe, 0xff];
- InputStream stream = new ListInputStream();
+ ListInputStream stream = new ListInputStream();
int count = 0;
ReceivePort donePort = new ReceivePort();
@@ -230,7 +230,7 @@ void testDynamicListInputStream() {
void testDynamicListInputClose1() {
List<int> data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
- InputStream stream = new ListInputStream();
+ ListInputStream stream = new ListInputStream();
ReceivePort donePort = new ReceivePort();
void onData() {
@@ -252,7 +252,7 @@ void testDynamicListInputClose1() {
void testDynamicListInputClose2() {
List<int> data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
- InputStream stream = new ListInputStream();
+ ListInputStream stream = new ListInputStream();
ReceivePort donePort = new ReceivePort();
int count = 0;

Powered by Google App Engine
This is Rietveld 408576698