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

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

Issue 576473003: Split refactoring problems into init, options and final. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/protocol_matchers.dart
diff --git a/pkg/analysis_server/test/integration/protocol_matchers.dart b/pkg/analysis_server/test/integration/protocol_matchers.dart
index 8956f99f47da6f1568bd3c469c89d44511ee73a8..ee6e0d67676a8c2cd855ceb3db1e6d67114e118a 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -649,7 +649,9 @@ final Matcher isEditGetRefactoringParams = new LazyMatcher(() => new MatchesJson
* edit.getRefactoring result
*
* {
- * "problems": List<RefactoringProblem>
+ * "initialProblems": List<RefactoringProblem>
+ * "optionsProblems": List<RefactoringProblem>
+ * "finalProblems": List<RefactoringProblem>
* "feedback": optional RefactoringFeedback
* "change": optional SourceChange
* "potentialEdits": optional List<String>
@@ -657,7 +659,9 @@ final Matcher isEditGetRefactoringParams = new LazyMatcher(() => new MatchesJson
*/
final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJsonObject(
"edit.getRefactoring result", {
- "problems": isListOf(isRefactoringProblem)
+ "initialProblems": isListOf(isRefactoringProblem),
+ "optionsProblems": isListOf(isRefactoringProblem),
+ "finalProblems": isListOf(isRefactoringProblem)
}, optionalFields: {
"feedback": isRefactoringFeedback,
"change": isSourceChange,
« no previous file with comments | « pkg/analysis_server/test/integration/integration_test_methods.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698