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

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

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 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/io/socket_many_connections_test.dart
diff --git a/tests/standalone/io/socket_many_connections_test.dart b/tests/standalone/io/socket_many_connections_test.dart
index 0c789ec850b9f5677670ddbcd344b2ecc2ae5875..70d4e666e1647eaec7a0df1168bdcd46d9b320cd 100644
--- a/tests/standalone/io/socket_many_connections_test.dart
+++ b/tests/standalone/io/socket_many_connections_test.dart
@@ -15,7 +15,6 @@ part "testing_server.dart";
const CONNECTIONS = 200;
class SocketManyConnectionsTest {
-
SocketManyConnectionsTest.start()
: _connections = 0,
_sockets = new List<Socket>(CONNECTIONS) {
@@ -23,7 +22,6 @@ class SocketManyConnectionsTest {
}
void run() {
-
void connectHandler() {
_connections++;
if (_connections == CONNECTIONS) {
@@ -64,7 +62,6 @@ class SocketManyConnectionsTest {
int _connections;
}
-
void startTestServer(SendPort replyPort) {
var server = new TestServer();
server.init().then((port) {
@@ -73,7 +70,6 @@ void startTestServer(SendPort replyPort) {
}
class TestServer extends TestingServer {
-
void onConnection(Socket connection) {
Socket _client;
@@ -89,10 +85,7 @@ class TestServer extends TestingServer {
}
_connections++;
- connection.listen(
- (data) {},
- onDone: closeHandler,
- onError: errorHandler);
+ connection.listen((data) {}, onDone: closeHandler, onError: errorHandler);
}
int _connections = 0;

Powered by Google App Engine
This is Rietveld 408576698