dart-sdk/pkg/analysis_server/test
Danny Tuppeny c81b2bac1b [analysis_server] Enable calling LSP handlers over the legacy protocol
This currently only allows "textDocument/hover". Handlers may need some tweaks to remove any dependencies on LspAnalysisServer before they can be enabled.

Capabilities and config are hard-coded to a very basic set (which I suspect will expand as new handlers are added). Reverse requests and notifications are not currently supported (I suspect these will be added when there are more concrete use cases for them because they may need to be conditional based on real client capabilities/needs).

Change-Id: I8a096f9530ad1518ac5ee876aea2560d269a27ae
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/312303
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2023-07-06 14:15:16 +00:00
..
analysis Pre-fix unreachable_from_main for instance members. 2023-06-09 22:39:27 +00:00
channel Implement the legacy protocol for showing messages and URIs to users 2023-03-24 18:10:17 +00:00
client Convert the completion documentation tests 2023-06-13 00:32:57 +00:00
edit Issue 52177. Fix rename refactoring for type parameter of a class. 2023-04-27 04:51:26 +00:00
integration [analysis_server] Enable calling LSP handlers over the legacy protocol 2023-07-06 14:15:16 +00:00
lsp [analysis_server] Modify code action/refactor tests to verify whole set of edits 2023-07-06 14:05:09 +00:00
lsp_over_legacy [analysis_server] Enable calling LSP handlers over the legacy protocol 2023-07-06 14:15:16 +00:00
mock_packages [analysis_server] add a fix for use_decorated_box 2023-02-09 22:12:11 +00:00
plugin Separate testFile and testFilePath in server tests. 2023-06-07 23:56:09 +00:00
search Move FuzzyMatcher to analyzer. 2023-05-22 23:10:07 +00:00
services Deprecate Element.enclosingElement, use enclosingElement2 instead. 2023-06-29 19:45:19 +00:00
src [analysis_server] Modify code action/refactor tests to verify whole set of edits 2023-07-06 14:05:09 +00:00
stress + fix dangling library comments 2023-04-11 20:17:38 +00:00
timing [analysis_server] Avoid Future-of-implicit-dynamic in tests 2023-03-07 21:12:58 +00:00
tool [analysis_server] Update LSP generated classes to latest published version of the spec 2023-04-24 15:09:20 +00:00
utilities Remove signs '=' from autosnapshotting arg. 2023-05-30 16:33:43 +00:00
utils + fix dangling library comments 2023-04-11 20:17:38 +00:00
abstract_context.dart Remove shipped features, and deprecated experiments from tests. 2023-06-24 16:23:28 +00:00
abstract_single_unit.dart Refactors to allow for parse only mode for lints and fixes. 2023-06-22 18:20:15 +00:00
analysis_abstract.dart Remove AbstractAnalysisTest. 2022-04-24 04:25:50 +00:00
analysis_server_base.dart Remove shipped features, and deprecated experiments from tests. 2023-06-24 16:23:28 +00:00
analysis_server_test.dart Pre-fix unreachable_from_main for instance members. 2023-06-09 22:39:27 +00:00
benchmarks_test.dart [analysis_server] Allow skipping slow benchmarks with env variable 2023-06-05 16:01:35 +00:00
completion_test.dart Remove debug output from analysis_server/ tests. 2023-04-26 19:58:48 +00:00
completion_test_support.dart [analysis_server] Add type arguments to remaining raw types 2023-03-16 20:37:57 +00:00
constants.dart Migrate analysis_server and analysis_server_client protocol. 2021-04-02 06:46:41 +00:00
domain_analysis_test.dart Reland "[analysis_server] Analyze fix data in fix_data folder" 2023-04-25 00:08:54 +00:00
domain_completion_test.dart + completion suggestions for pubspec "screenshots" 2023-05-05 16:54:24 +00:00
domain_completion_util.dart Rename newFile2() to newFile(). 2022-04-19 02:59:57 +00:00
domain_diagnostic_test.dart Stop using main in test code in more places, part 3 2022-05-06 22:34:50 +00:00
domain_execution_test.dart [analysis_server] remove unneeded new 2023-01-05 03:05:58 +00:00
domain_server_test.dart Use OpenUriNotificationSender to replace separate flag and sending method. 2023-04-26 18:17:37 +00:00
mocks.dart [analysis_server] Add type arguments to remaining raw types 2023-03-16 20:37:57 +00:00
mocks_lsp.dart [analysis_server] Avoid Future-of-implicit-dynamic in tests 2023-03-07 21:12:58 +00:00
protocol_server_test.dart Rework ElementImpl and AugmentationElementImpl hierarchies to use XyzOrAugmentationElementMixin(s). 2023-07-05 20:03:47 +00:00
protocol_test.dart Migrate analysis_server and analysis_server_client protocol. 2021-04-02 06:46:41 +00:00
socket_server_test.dart Implement the legacy protocol for showing messages and URIs to users 2023-03-24 18:10:17 +00:00
test_all.dart [analysis_server] Enable calling LSP handlers over the legacy protocol 2023-07-06 14:15:16 +00:00
verify_error_fix_status_test.dart If verify_error_fix_status_test fails, output the status file path. 2023-03-31 14:40:47 +00:00
verify_no_solo_test.dart Restore sync file methods in AnalysisSession. 2022-03-21 23:27:57 +00:00
verify_sorted_test.dart [flip-modifiers]: Reapply "Enforce current library restrictions." 2023-03-03 09:37:38 +00:00
verify_tests_test.dart linter 1.32.0 2022-12-15 22:51:28 +00:00