| 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);
|
| -}
|
|
|