f84a81002c
Just little things: * Convert the class AnalysisOptionsFileConfig and it's `toContent` method into a single function. * Convert the class PubspecYamlFileConfig and it's `toContent` method into a single function. * Privatize ExpectedDiagnostic fields `diagnosticMatcher`, `offset`, `length`, `messageContains`, ExpectedError field `codes`, ExpectedLint field `lintName`, LintRuleTest field `collectionIncludedPaths`, _ContextResolutionTest field `sdkRoot`. * Privatize `writeTestPackageAnalysisOptionsFile` and `writeTestPackagePubspecYamlFile` * Start doc comments with a single-sentence summary (https://dart.dev/effective-dart/documentation#do-start-doc-comments-with-a-single-sentence-summary and https://dart.dev/effective-dart/documentation#do-separate-the-first-sentence-of-a-doc-comment-into-its-own-paragraph) * Document with third-person verbs (https://dart.dev/effective-dart/documentation#prefer-starting-function-or-method-comments-with-third-person-verbs) Change-Id: I7d584810cd339f8184fe14c3151b55988bf2cfff Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/386580 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
This folder is for the "lsp" domain in the legacy server.
Tests for the native LSP server are in the lsp_server folder.