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

Side by Side Diff: pkg/analysis_server/test/integration/support/protocol_matchers.dart

Issue 2991893002: Remove the uri from the ImportedElements object in the experimental spec API (Closed)
Patch Set: Created 3 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script 6 // To regenerate the file, use the script
7 // "pkg/analysis_server/tool/spec/generate_files". 7 // "pkg/analysis_server/tool/spec/generate_files".
8 8
9 /** 9 /**
10 * Matchers for data types defined in the analysis server API 10 * Matchers for data types defined in the analysis server API
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 * } 682 * }
683 */ 683 */
684 final Matcher isImplementedMember = new LazyMatcher(() => new MatchesJsonObject( 684 final Matcher isImplementedMember = new LazyMatcher(() => new MatchesJsonObject(
685 "ImplementedMember", {"offset": isInt, "length": isInt})); 685 "ImplementedMember", {"offset": isInt, "length": isInt}));
686 686
687 /** 687 /**
688 * ImportedElements 688 * ImportedElements
689 * 689 *
690 * { 690 * {
691 * "path": FilePath 691 * "path": FilePath
692 * "uri": String
693 * "prefix": String 692 * "prefix": String
694 * "elements": List<String> 693 * "elements": List<String>
695 * } 694 * }
696 */ 695 */
697 final Matcher isImportedElements = 696 final Matcher isImportedElements = new LazyMatcher(() => new MatchesJsonObject(
698 new LazyMatcher(() => new MatchesJsonObject("ImportedElements", { 697 "ImportedElements",
699 "path": isFilePath, 698 {"path": isFilePath, "prefix": isString, "elements": isListOf(isString)}));
700 "uri": isString,
701 "prefix": isString,
702 "elements": isListOf(isString)
703 }));
704 699
705 /** 700 /**
706 * LinkedEditGroup 701 * LinkedEditGroup
707 * 702 *
708 * { 703 * {
709 * "positions": List<Position> 704 * "positions": List<Position>
710 * "length": int 705 * "length": int
711 * "suggestions": List<LinkedEditSuggestion> 706 * "suggestions": List<LinkedEditSuggestion>
712 * } 707 * }
713 */ 708 */
(...skipping 1830 matching lines...) Expand 10 before | Expand all | Expand 10 after
2544 * server.status params 2539 * server.status params
2545 * 2540 *
2546 * { 2541 * {
2547 * "analysis": optional AnalysisStatus 2542 * "analysis": optional AnalysisStatus
2548 * "pub": optional PubStatus 2543 * "pub": optional PubStatus
2549 * } 2544 * }
2550 */ 2545 */
2551 final Matcher isServerStatusParams = new LazyMatcher(() => 2546 final Matcher isServerStatusParams = new LazyMatcher(() =>
2552 new MatchesJsonObject("server.status params", null, 2547 new MatchesJsonObject("server.status params", null,
2553 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus})); 2548 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus}));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698