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

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

Issue 800913002: Report pub status (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 "isFatal": isBool, 79 "isFatal": isBool,
80 "message": isString, 80 "message": isString,
81 "stackTrace": isString 81 "stackTrace": isString
82 })); 82 }));
83 83
84 /** 84 /**
85 * server.status params 85 * server.status params
86 * 86 *
87 * { 87 * {
88 * "analysis": optional AnalysisStatus 88 * "analysis": optional AnalysisStatus
89 * "pub": optional PubStatus
89 * } 90 * }
90 */ 91 */
91 final Matcher isServerStatusParams = new LazyMatcher(() => new MatchesJsonObject ( 92 final Matcher isServerStatusParams = new LazyMatcher(() => new MatchesJsonObject (
92 "server.status params", null, optionalFields: { 93 "server.status params", null, optionalFields: {
93 "analysis": isAnalysisStatus 94 "analysis": isAnalysisStatus,
95 "pub": isPubStatus
94 })); 96 }));
95 97
96 /** 98 /**
97 * analysis.getErrors params 99 * analysis.getErrors params
98 * 100 *
99 * { 101 * {
100 * "file": FilePath 102 * "file": FilePath
101 * } 103 * }
102 */ 104 */
103 final Matcher isAnalysisGetErrorsParams = new LazyMatcher(() => new MatchesJsonO bject( 105 final Matcher isAnalysisGetErrorsParams = new LazyMatcher(() => new MatchesJsonO bject(
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1588 * "offset": int 1590 * "offset": int
1589 * } 1591 * }
1590 */ 1592 */
1591 final Matcher isPosition = new LazyMatcher(() => new MatchesJsonObject( 1593 final Matcher isPosition = new LazyMatcher(() => new MatchesJsonObject(
1592 "Position", { 1594 "Position", {
1593 "file": isFilePath, 1595 "file": isFilePath,
1594 "offset": isInt 1596 "offset": isInt
1595 })); 1597 }));
1596 1598
1597 /** 1599 /**
1600 * PubStatus
1601 *
1602 * {
1603 * "isListingPackageDirs": bool
1604 * }
1605 */
1606 final Matcher isPubStatus = new LazyMatcher(() => new MatchesJsonObject(
1607 "PubStatus", {
1608 "isListingPackageDirs": isBool
1609 }));
1610
1611 /**
1598 * RefactoringKind 1612 * RefactoringKind
1599 * 1613 *
1600 * enum { 1614 * enum {
1601 * CONVERT_GETTER_TO_METHOD 1615 * CONVERT_GETTER_TO_METHOD
1602 * CONVERT_METHOD_TO_GETTER 1616 * CONVERT_METHOD_TO_GETTER
1603 * EXTRACT_LOCAL_VARIABLE 1617 * EXTRACT_LOCAL_VARIABLE
1604 * EXTRACT_METHOD 1618 * EXTRACT_METHOD
1605 * INLINE_LOCAL_VARIABLE 1619 * INLINE_LOCAL_VARIABLE
1606 * INLINE_METHOD 1620 * INLINE_METHOD
1607 * MOVE_FILE 1621 * MOVE_FILE
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
2095 * 2109 *
2096 * { 2110 * {
2097 * "newName": String 2111 * "newName": String
2098 * } 2112 * }
2099 */ 2113 */
2100 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2114 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2101 "rename options", { 2115 "rename options", {
2102 "newName": isString 2116 "newName": isString
2103 })); 2117 }));
2104 2118
OLDNEW
« 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