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

Unified Diff: tests/standalone/src/io/StringStreamTest.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/StringStreamTest.dart
diff --git a/tests/standalone/src/io/StringStreamTest.dart b/tests/standalone/src/io/StringStreamTest.dart
index 97233313de0139e62d63224d3c06f9f1221e24db..104f8a2f48e1f4802c20a26fe7db30526c33b769 100644
--- a/tests/standalone/src/io/StringStreamTest.dart
+++ b/tests/standalone/src/io/StringStreamTest.dart
@@ -11,7 +11,7 @@ void testUtf8() {
0xdf, 0xbf,
0xe0, 0xa0, 0x80,
0xef, 0xbf, 0xbf];
- InputStream s = new ListInputStream();
+ ListInputStream s = new ListInputStream();
s.write(data);
s.markEndOfStream();
StringInputStream stream = new StringInputStream(s);
@@ -34,7 +34,7 @@ void testLatin1() {
0x44, 0x61, 0x72, 0x74,
0x80,
0xff];
- InputStream s = new ListInputStream();
+ ListInputStream s = new ListInputStream();
s.write(data);
s.markEndOfStream();
StringInputStream stream = new StringInputStream(s, Encoding.ISO_8859_1);
@@ -54,7 +54,7 @@ void testAscii() {
List<int> data = [0x01,
0x44, 0x61, 0x72, 0x74,
0x7f];
- InputStream s = new ListInputStream();
+ ListInputStream s = new ListInputStream();
s.write(data);
s.markEndOfStream();
StringInputStream stream =
@@ -70,7 +70,7 @@ void testAscii() {
}
void testReadLine1() {
- InputStream s = new ListInputStream();
+ ListInputStream s = new ListInputStream();
StringInputStream stream = new StringInputStream(s);
var stage = 0;
@@ -101,7 +101,7 @@ void testReadLine1() {
}
void testReadLine2() {
- InputStream s = new ListInputStream();
+ ListInputStream s = new ListInputStream();
StringInputStream stream = new StringInputStream(s);
var stage = 0;
@@ -165,7 +165,7 @@ void testReadLine2() {
s.write("Line1\nLine2\r\nLine3\rLi".charCodes());
}
-class TestException {
+class TestException implements Exception {
TestException();
}

Powered by Google App Engine
This is Rietveld 408576698