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

Unified Diff: pkg/analysis_server/test/integration/asynchrony_test.dart

Issue 725143004: Format and sort analyzer and analysis_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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: pkg/analysis_server/test/integration/asynchrony_test.dart
diff --git a/pkg/analysis_server/test/integration/asynchrony_test.dart b/pkg/analysis_server/test/integration/asynchrony_test.dart
index 79eb1b23e1c1a6de769b259384a7a4f99d47069a..0194facb18f42cf6c2eeefe7578f61b9d085c7ed 100644
--- a/pkg/analysis_server/test/integration/asynchrony_test.dart
+++ b/pkg/analysis_server/test/integration/asynchrony_test.dart
@@ -11,6 +11,10 @@ import 'package:unittest/unittest.dart';
import '../reflective_tests.dart';
import 'integration_tests.dart';
+main() {
+ runReflectiveTests(AsynchronyIntegrationTest);
+}
+
/**
* Verify that the server's input and output streams are asynchronous by
* attempting to flood its input buffer with commands without listening to
@@ -23,14 +27,14 @@ import 'integration_tests.dart';
@ReflectiveTestCase()
class AsynchronyIntegrationTest {
/**
- * Connection to the analysis server.
+ * Number of messages to queue up before listening for responses.
*/
- final Server server = new Server();
+ static const MESSAGE_COUNT = 10000;
/**
- * Number of messages to queue up before listening for responses.
+ * Connection to the analysis server.
*/
- static const MESSAGE_COUNT = 10000;
+ final Server server = new Server();
Future setUp() {
return server.start();
@@ -66,7 +70,3 @@ class AsynchronyIntegrationTest {
});
}
}
-
-main() {
- runReflectiveTests(AsynchronyIntegrationTest);
-}

Powered by Google App Engine
This is Rietveld 408576698