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

Unified Diff: pkg/analysis_server/test/integration/support/protocol_matchers.dart

Issue 2972833002: Initial implementation of copy/paste support (Closed)
Patch Set: Created 3 years, 5 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: pkg/analysis_server/test/integration/support/protocol_matchers.dart
diff --git a/pkg/analysis_server/test/integration/support/protocol_matchers.dart b/pkg/analysis_server/test/integration/support/protocol_matchers.dart
index e6c2f2729d7cc77ac069c830dbbbd237fbf6ff10..8a688c8b41b5e63ffc746db13a02e9d9d36c5a82 100644
--- a/pkg/analysis_server/test/integration/support/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/support/protocol_matchers.dart
@@ -1030,6 +1030,7 @@ final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject(
* GET_IMPORTED_ELEMENTS_INVALID_FILE
* GET_NAVIGATION_INVALID_FILE
* GET_REACHABLE_SOURCES_INVALID_FILE
+ * IMPORT_ELEMENTS_INVALID_FILE
* INVALID_ANALYSIS_ROOT
* INVALID_EXECUTION_CONTEXT
* INVALID_FILE_PATH_FORMAT
@@ -1058,6 +1059,7 @@ final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [
"GET_IMPORTED_ELEMENTS_INVALID_FILE",
"GET_NAVIGATION_INVALID_FILE",
"GET_REACHABLE_SOURCES_INVALID_FILE",
+ "IMPORT_ELEMENTS_INVALID_FILE",
"INVALID_ANALYSIS_ROOT",
"INVALID_EXECUTION_CONTEXT",
"INVALID_FILE_PATH_FORMAT",
@@ -1312,12 +1314,11 @@ final Matcher isAnalysisGetImportedElementsParams = new LazyMatcher(() =>
*
* {
* "elements": List<ImportedElements>
- * "complete": bool
* }
*/
final Matcher isAnalysisGetImportedElementsResult = new LazyMatcher(() =>
new MatchesJsonObject("analysis.getImportedElements result",
- {"elements": isListOf(isImportedElements), "complete": isBool}));
+ {"elements": isListOf(isImportedElements)}));
/**
* analysis.getLibraryDependencies params
@@ -1988,12 +1989,11 @@ final Matcher isEditImportElementsParams = new LazyMatcher(() =>
*
* {
* "edits": List<SourceEdit>
- * "complete": bool
* }
*/
final Matcher isEditImportElementsResult = new LazyMatcher(() =>
- new MatchesJsonObject("edit.importElements result",
- {"edits": isListOf(isSourceEdit), "complete": isBool}));
+ new MatchesJsonObject(
+ "edit.importElements result", {"edits": isListOf(isSourceEdit)}));
/**
* edit.isPostfixCompletionApplicable params

Powered by Google App Engine
This is Rietveld 408576698