| Index: pkg/analysis_server/test/integration/integration_test_methods.dart
|
| diff --git a/pkg/analysis_server/test/integration/integration_test_methods.dart b/pkg/analysis_server/test/integration/integration_test_methods.dart
|
| index 4bad372f81c95002987cfd5c07f6711d038dee45..14251bba346577299b2951a0648d9dd7c3d6577c 100644
|
| --- a/pkg/analysis_server/test/integration/integration_test_methods.dart
|
| +++ b/pkg/analysis_server/test/integration/integration_test_methods.dart
|
| @@ -1630,6 +1630,23 @@ abstract class IntegrationTestMixin {
|
| }
|
|
|
| /**
|
| + * Return the port of the diagnostic web server. If the server is not running
|
| + * this call will start the server. If unable to start the diagnostic web
|
| + * server, this call will return an error of DEBUG_PORT_COULD_NOT_BE_OPENED.
|
| + *
|
| + * Returns
|
| + *
|
| + * port (int)
|
| + *
|
| + * The diagnostic server port.
|
| + */
|
| + Future<DiagnosticGetServerPortResult> sendDiagnosticGetServerPort() async {
|
| + var result = await server.send("diagnostic.getServerPort", null);
|
| + ResponseDecoder decoder = new ResponseDecoder(null);
|
| + return new DiagnosticGetServerPortResult.fromJson(decoder, 'result', result);
|
| + }
|
| +
|
| + /**
|
| * Initialize the fields in InttestMixin, and ensure that notifications will
|
| * be handled.
|
| */
|
|
|