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

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

Issue 1506323002: Explicitly specify that FilePath is not just absolute, but also a normalized path. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add an error for invalid file paths. Created 5 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
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 2086 matching lines...) Expand 10 before | Expand all | Expand 10 after
2097 * enum { 2097 * enum {
2098 * CONTENT_MODIFIED 2098 * CONTENT_MODIFIED
2099 * FILE_NOT_ANALYZED 2099 * FILE_NOT_ANALYZED
2100 * FORMAT_INVALID_FILE 2100 * FORMAT_INVALID_FILE
2101 * FORMAT_WITH_ERRORS 2101 * FORMAT_WITH_ERRORS
2102 * GET_ERRORS_INVALID_FILE 2102 * GET_ERRORS_INVALID_FILE
2103 * GET_NAVIGATION_INVALID_FILE 2103 * GET_NAVIGATION_INVALID_FILE
2104 * GET_REACHABLE_SOURCES_INVALID_FILE 2104 * GET_REACHABLE_SOURCES_INVALID_FILE
2105 * INVALID_ANALYSIS_ROOT 2105 * INVALID_ANALYSIS_ROOT
2106 * INVALID_EXECUTION_CONTEXT 2106 * INVALID_EXECUTION_CONTEXT
2107 * INVALID_FILE_PATH_FORMAT
2107 * INVALID_OVERLAY_CHANGE 2108 * INVALID_OVERLAY_CHANGE
2108 * INVALID_PARAMETER 2109 * INVALID_PARAMETER
2109 * INVALID_REQUEST 2110 * INVALID_REQUEST
2110 * NO_INDEX_GENERATED 2111 * NO_INDEX_GENERATED
2111 * ORGANIZE_DIRECTIVES_ERROR 2112 * ORGANIZE_DIRECTIVES_ERROR
2112 * REFACTORING_REQUEST_CANCELLED 2113 * REFACTORING_REQUEST_CANCELLED
2113 * SERVER_ALREADY_STARTED 2114 * SERVER_ALREADY_STARTED
2114 * SERVER_ERROR 2115 * SERVER_ERROR
2115 * SORT_MEMBERS_INVALID_FILE 2116 * SORT_MEMBERS_INVALID_FILE
2116 * SORT_MEMBERS_PARSE_ERRORS 2117 * SORT_MEMBERS_PARSE_ERRORS
2117 * UNANALYZED_PRIORITY_FILES 2118 * UNANALYZED_PRIORITY_FILES
2118 * UNKNOWN_REQUEST 2119 * UNKNOWN_REQUEST
2119 * UNKNOWN_SOURCE 2120 * UNKNOWN_SOURCE
2120 * UNSUPPORTED_FEATURE 2121 * UNSUPPORTED_FEATURE
2121 * } 2122 * }
2122 */ 2123 */
2123 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ 2124 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [
2124 "CONTENT_MODIFIED", 2125 "CONTENT_MODIFIED",
2125 "FILE_NOT_ANALYZED", 2126 "FILE_NOT_ANALYZED",
2126 "FORMAT_INVALID_FILE", 2127 "FORMAT_INVALID_FILE",
2127 "FORMAT_WITH_ERRORS", 2128 "FORMAT_WITH_ERRORS",
2128 "GET_ERRORS_INVALID_FILE", 2129 "GET_ERRORS_INVALID_FILE",
2129 "GET_NAVIGATION_INVALID_FILE", 2130 "GET_NAVIGATION_INVALID_FILE",
2130 "GET_REACHABLE_SOURCES_INVALID_FILE", 2131 "GET_REACHABLE_SOURCES_INVALID_FILE",
2131 "INVALID_ANALYSIS_ROOT", 2132 "INVALID_ANALYSIS_ROOT",
2132 "INVALID_EXECUTION_CONTEXT", 2133 "INVALID_EXECUTION_CONTEXT",
2134 "INVALID_FILE_PATH_FORMAT",
2133 "INVALID_OVERLAY_CHANGE", 2135 "INVALID_OVERLAY_CHANGE",
2134 "INVALID_PARAMETER", 2136 "INVALID_PARAMETER",
2135 "INVALID_REQUEST", 2137 "INVALID_REQUEST",
2136 "NO_INDEX_GENERATED", 2138 "NO_INDEX_GENERATED",
2137 "ORGANIZE_DIRECTIVES_ERROR", 2139 "ORGANIZE_DIRECTIVES_ERROR",
2138 "REFACTORING_REQUEST_CANCELLED", 2140 "REFACTORING_REQUEST_CANCELLED",
2139 "SERVER_ALREADY_STARTED", 2141 "SERVER_ALREADY_STARTED",
2140 "SERVER_ERROR", 2142 "SERVER_ERROR",
2141 "SORT_MEMBERS_INVALID_FILE", 2143 "SORT_MEMBERS_INVALID_FILE",
2142 "SORT_MEMBERS_PARSE_ERRORS", 2144 "SORT_MEMBERS_PARSE_ERRORS",
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
2475 * 2477 *
2476 * { 2478 * {
2477 * "newName": String 2479 * "newName": String
2478 * } 2480 * }
2479 */ 2481 */
2480 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2482 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2481 "rename options", { 2483 "rename options", {
2482 "newName": isString 2484 "newName": isString
2483 })); 2485 }));
2484 2486
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698