| Index: editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImplTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImplTest.java b/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImplTest.java
|
| index 7cf52ba017561df062344d40e4d31bd7ae05c3fa..81caafa088d23f1a4832ca01e9154d22abcec370 100644
|
| --- a/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImplTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImplTest.java
|
| @@ -1218,7 +1218,7 @@ public class RemoteAnalysisServerImplTest extends AbstractRemoteServerTest {
|
| }
|
|
|
| public void test_analysis_updateOptions_all_false() throws Exception {
|
| - AnalysisOptions options = new AnalysisOptions(false, false, false, false, false, false);
|
| + AnalysisOptions options = new AnalysisOptions(false, false, false, false, false, false, false);
|
| server.analysis_updateOptions(options);
|
| List<JsonObject> requests = requestSink.getRequests();
|
| JsonElement expected = parseJson(//
|
| @@ -1230,6 +1230,7 @@ public class RemoteAnalysisServerImplTest extends AbstractRemoteServerTest {
|
| " 'enableAsync': false,",
|
| " 'enableDeferredLoading': false,",
|
| " 'enableEnums': false,",
|
| + " 'enableNullAwareOperators': false,",
|
| " 'generateDart2jsHints': false,",
|
| " 'generateHints': false,",
|
| " 'generateLints': false",
|
| @@ -1240,7 +1241,7 @@ public class RemoteAnalysisServerImplTest extends AbstractRemoteServerTest {
|
| }
|
|
|
| public void test_analysis_updateOptions_all_true() throws Exception {
|
| - AnalysisOptions options = new AnalysisOptions(true, true, true, true, true, true);
|
| + AnalysisOptions options = new AnalysisOptions(true, true, true, true, true, true, true);
|
| server.analysis_updateOptions(options);
|
| List<JsonObject> requests = requestSink.getRequests();
|
| JsonElement expected = parseJson(//
|
| @@ -1252,6 +1253,7 @@ public class RemoteAnalysisServerImplTest extends AbstractRemoteServerTest {
|
| " 'enableAsync': true,",
|
| " 'enableDeferredLoading': true,",
|
| " 'enableEnums': true,",
|
| + " 'enableNullAwareOperators': true,",
|
| " 'generateDart2jsHints': true,",
|
| " 'generateHints': true,",
|
| " 'generateLints': true",
|
| @@ -1262,7 +1264,7 @@ public class RemoteAnalysisServerImplTest extends AbstractRemoteServerTest {
|
| }
|
|
|
| public void test_analysis_updateOptions_subset1() throws Exception {
|
| - AnalysisOptions options = new AnalysisOptions(true, null, null, null, null, null);
|
| + AnalysisOptions options = new AnalysisOptions(true, null, null, null, null, null, null);
|
| server.analysis_updateOptions(options);
|
| List<JsonObject> requests = requestSink.getRequests();
|
| JsonElement expected = parseJson(//
|
| @@ -1279,7 +1281,7 @@ public class RemoteAnalysisServerImplTest extends AbstractRemoteServerTest {
|
| }
|
|
|
| public void test_analysis_updateOptions_subset2() throws Exception {
|
| - AnalysisOptions options = new AnalysisOptions(false, true, null, null, null, null);
|
| + AnalysisOptions options = new AnalysisOptions(false, true, null, null, null, null, null);
|
| server.analysis_updateOptions(options);
|
| List<JsonObject> requests = requestSink.getRequests();
|
| JsonElement expected = parseJson(//
|
|
|