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

Unified Diff: editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImplTest.java

Issue 304273007: Use 'analysis.setSubscriptions' HIGHLIGHTS in Editor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use addAnalysisSubscription/removeAnalysisSubscription Created 6 years, 7 months 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: 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 08e9f92a746587efa5ba4304ecd19d6c6a5856d9..10fe6ad1016248b1d8b30bb3b0cf0e26ee670ce2 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
@@ -170,7 +170,7 @@ public class RemoteAnalysisServerImplTest extends AbstractRemoteServerTest {
public void test_analysis_setSubscriptions() throws Exception {
LinkedHashMap<AnalysisService, List<String>> subscriptions = new LinkedHashMap<AnalysisService, List<String>>();
subscriptions.put(AnalysisService.ERRORS, new ArrayList<String>(0));
- subscriptions.put(AnalysisService.HIGHLIGHT, ImmutableList.of("/fileA.dart"));
+ subscriptions.put(AnalysisService.HIGHLIGHTS, ImmutableList.of("/fileA.dart"));
subscriptions.put(AnalysisService.NAVIGATION, ImmutableList.of("/fileB.dart", "/fileC.dart"));
subscriptions.put(
AnalysisService.OUTLINE,
@@ -185,7 +185,7 @@ public class RemoteAnalysisServerImplTest extends AbstractRemoteServerTest {
" 'params': {",
" 'subscriptions': {",
" ERRORS: [],",
- " HIGHLIGHT: ['/fileA.dart'],",
+ " HIGHLIGHTS: ['/fileA.dart'],",
" NAVIGATION: ['/fileB.dart', '/fileC.dart'],",
" OUTLINE: ['/fileD.dart', '/fileE.dart', '/fileF.dart']",
" }",

Powered by Google App Engine
This is Rietveld 408576698