| Index: pkg/analysis_server/test/integration/integration_tests.dart
|
| diff --git a/pkg/analysis_server/test/integration/integration_tests.dart b/pkg/analysis_server/test/integration/integration_tests.dart
|
| index 71b5378a4b24a839ab4ad7a981dc1cb6494a212a..b278c96025cfe36b7d79066140cbb66dd3b1d75b 100644
|
| --- a/pkg/analysis_server/test/integration/integration_tests.dart
|
| +++ b/pkg/analysis_server/test/integration/integration_tests.dart
|
| @@ -154,6 +154,11 @@ abstract class AbstractAnalysisServerIntegrationTest
|
| }
|
|
|
| /**
|
| + * Return `true` if the new analysis driver should be used by these tests.
|
| + */
|
| + bool get enableNewAnalysisDriver => false;
|
| +
|
| + /**
|
| * Print out any messages exchanged with the server. If some messages have
|
| * already been exchanged with the server, they are printed out immediately.
|
| */
|
| @@ -242,6 +247,7 @@ abstract class AbstractAnalysisServerIntegrationTest
|
| server.start(
|
| checked: checked,
|
| diagnosticPort: diagnosticPort,
|
| + enableNewAnalysisDriver: enableNewAnalysisDriver,
|
| servicesPort: servicesPort);
|
|
|
| /**
|
| @@ -636,6 +642,7 @@ class Server {
|
| {bool checked: true,
|
| bool debugServer: false,
|
| int diagnosticPort,
|
| + bool enableNewAnalysisDriver: false,
|
| bool profileServer: false,
|
| String sdkPath,
|
| int servicesPort,
|
| @@ -691,6 +698,9 @@ class Server {
|
| if (useAnalysisHighlight2) {
|
| arguments.add('--useAnalysisHighlight2');
|
| }
|
| + if (enableNewAnalysisDriver) {
|
| + arguments.add('--enable-new-analysis-driver');
|
| + }
|
| // print('Launching $serverPath');
|
| // print('$dartBinary ${arguments.join(' ')}');
|
| return Process.start(dartBinary, arguments).then((Process process) {
|
|
|