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

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

Issue 10533078: Enable standalone/io/http_test, splitting it into three separate tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 6 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/http_read_test.dart ('k') | tests/standalone/io/http_server_socket_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_server_early_client_close_test.dart
diff --git a/tests/standalone/io/http_server_early_client_close_test.dart b/tests/standalone/io/http_server_early_client_close_test.dart
index 9df075c510c7ce5fc5e74b1392d30cc9ced39b7a..6a62b3749b92653243ed19813e1ec5442a3b14f5 100644
--- a/tests/standalone/io/http_server_early_client_close_test.dart
+++ b/tests/standalone/io/http_server_early_client_close_test.dart
@@ -15,7 +15,7 @@ void sendData(List<int> data, int port) {
}
class EarlyCloseTest {
- EarlyCloseTest(Object this.data,
+ EarlyCloseTest(this.data,
String this.exception,
[bool this.expectRequest = false]);
@@ -32,7 +32,7 @@ class EarlyCloseTest {
calledOnRequest = true;
};
ReceivePort port = new ReceivePort();
- server.onError = (Exception error) {
+ server.onError = (error) {
Expect.isFalse(calledOnError);
Expect.equals(exception, error.message);
Expect.equals(expectRequest, calledOnRequest);
@@ -50,7 +50,7 @@ class EarlyCloseTest {
return c.future;
}
- final Object data;
+ final data;
final String exception;
final bool expectRequest;
}
« no previous file with comments | « tests/standalone/io/http_read_test.dart ('k') | tests/standalone/io/http_server_socket_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698