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

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

Issue 570453002: gracefully handle internal exceptions during request (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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 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/spec/generate_files". 7 // "pkg/analysis_server/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 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 1634
1635 /** 1635 /**
1636 * RequestErrorCode 1636 * RequestErrorCode
1637 * 1637 *
1638 * enum { 1638 * enum {
1639 * GET_ERRORS_INVALID_FILE 1639 * GET_ERRORS_INVALID_FILE
1640 * INVALID_OVERLAY_CHANGE 1640 * INVALID_OVERLAY_CHANGE
1641 * INVALID_PARAMETER 1641 * INVALID_PARAMETER
1642 * INVALID_REQUEST 1642 * INVALID_REQUEST
1643 * SERVER_ALREADY_STARTED 1643 * SERVER_ALREADY_STARTED
1644 * SERVER_ERROR
1644 * UNANALYZED_PRIORITY_FILES 1645 * UNANALYZED_PRIORITY_FILES
1645 * UNKNOWN_REQUEST 1646 * UNKNOWN_REQUEST
1646 * UNSUPPORTED_FEATURE 1647 * UNSUPPORTED_FEATURE
1647 * } 1648 * }
1648 */ 1649 */
1649 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ 1650 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [
1650 "GET_ERRORS_INVALID_FILE", 1651 "GET_ERRORS_INVALID_FILE",
1651 "INVALID_OVERLAY_CHANGE", 1652 "INVALID_OVERLAY_CHANGE",
1652 "INVALID_PARAMETER", 1653 "INVALID_PARAMETER",
1653 "INVALID_REQUEST", 1654 "INVALID_REQUEST",
1654 "SERVER_ALREADY_STARTED", 1655 "SERVER_ALREADY_STARTED",
1656 "SERVER_ERROR",
1655 "UNANALYZED_PRIORITY_FILES", 1657 "UNANALYZED_PRIORITY_FILES",
1656 "UNKNOWN_REQUEST", 1658 "UNKNOWN_REQUEST",
1657 "UNSUPPORTED_FEATURE" 1659 "UNSUPPORTED_FEATURE"
1658 ]); 1660 ]);
1659 1661
1660 /** 1662 /**
1661 * SearchId 1663 * SearchId
1662 * 1664 *
1663 * String 1665 * String
1664 */ 1666 */
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1962 * 1964 *
1963 * { 1965 * {
1964 * "newName": String 1966 * "newName": String
1965 * } 1967 * }
1966 */ 1968 */
1967 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 1969 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
1968 "rename options", { 1970 "rename options", {
1969 "newName": isString 1971 "newName": isString
1970 })); 1972 }));
1971 1973
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/socket_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698