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

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

Issue 1453433002: Move diagnostics to `diagnostics` domain (#24931). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: master merge Created 5 years, 1 month 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) 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 989 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 */ 1000 */
1001 final Matcher isExecutionLaunchDataParams = new LazyMatcher(() => new MatchesJso nObject( 1001 final Matcher isExecutionLaunchDataParams = new LazyMatcher(() => new MatchesJso nObject(
1002 "execution.launchData params", { 1002 "execution.launchData params", {
1003 "file": isFilePath 1003 "file": isFilePath
1004 }, optionalFields: { 1004 }, optionalFields: {
1005 "kind": isExecutableKind, 1005 "kind": isExecutableKind,
1006 "referencedFiles": isListOf(isFilePath) 1006 "referencedFiles": isListOf(isFilePath)
1007 })); 1007 }));
1008 1008
1009 /** 1009 /**
1010 * experimental.getDiagnostics params 1010 * diagnostic.getDiagnostics params
1011 */ 1011 */
1012 final Matcher isExperimentalGetDiagnosticsParams = isNull; 1012 final Matcher isDiagnosticGetDiagnosticsParams = isNull;
1013 1013
1014 /** 1014 /**
1015 * experimental.getDiagnostics result 1015 * diagnostic.getDiagnostics result
1016 * 1016 *
1017 * { 1017 * {
1018 * "contexts": List<ContextData> 1018 * "contexts": List<ContextData>
1019 * } 1019 * }
1020 */ 1020 */
1021 final Matcher isExperimentalGetDiagnosticsResult = new LazyMatcher(() => new Mat chesJsonObject( 1021 final Matcher isDiagnosticGetDiagnosticsResult = new LazyMatcher(() => new Match esJsonObject(
1022 "experimental.getDiagnostics result", { 1022 "diagnostic.getDiagnostics result", {
1023 "contexts": isListOf(isContextData) 1023 "contexts": isListOf(isContextData)
1024 })); 1024 }));
1025 1025
1026 /** 1026 /**
1027 * AddContentOverlay 1027 * AddContentOverlay
1028 * 1028 *
1029 * { 1029 * {
1030 * "type": "add" 1030 * "type": "add"
1031 * "content": String 1031 * "content": String
1032 * } 1032 * }
(...skipping 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after
2447 * 2447 *
2448 * { 2448 * {
2449 * "newName": String 2449 * "newName": String
2450 * } 2450 * }
2451 */ 2451 */
2452 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2452 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2453 "rename options", { 2453 "rename options", {
2454 "newName": isString 2454 "newName": isString
2455 })); 2455 }));
2456 2456
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/integration/integration_test_methods.dart ('k') | pkg/analysis_server/test/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698