27 references to OpenDocumentAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (27)
Completion\CompletionTests.cs (6)
862
await testLspServer.
OpenDocumentAsync
(caretLocation.Uri);
928
await testLspServer.
OpenDocumentAsync
(caretLocation.Uri);
994
await testLspServer.
OpenDocumentAsync
(caretLocation.Uri);
1089
await testLspServer.
OpenDocumentAsync
(firstCaret.Uri);
1212
await testLspServer.
OpenDocumentAsync
(firstCaretLocation.Uri);
1338
await testLspServer.
OpenDocumentAsync
(caretLocation.Uri);
Diagnostics\AbstractPullDiagnosticTestsBase.cs (1)
213
private protected static Task OpenDocumentAsync(TestLspServer testLspServer, Document document) => testLspServer.
OpenDocumentAsync
(document.GetURI());
Diagnostics\PullDiagnosticTests.cs (5)
550
await testLspServer.
OpenDocumentAsync
(csproj1Document.GetURI());
551
await testLspServer.
OpenDocumentAsync
(csproj2Document.GetURI());
596
await testLspServer.
OpenDocumentAsync
(csproj1Document.GetURI());
597
await testLspServer.
OpenDocumentAsync
(csproj2Document.GetURI());
1678
await testLspServer.
OpenDocumentAsync
(uri);
DocumentChanges\DocumentChangesTests.cs (1)
332
private static Task DidOpen(TestLspServer testLspServer, Uri uri) => testLspServer.
OpenDocumentAsync
(uri);
Miscellaneous\LspMiscellaneousFilesWorkspaceTests.cs (6)
43
await testLspServer.
OpenDocumentAsync
(looseFileUri, source).ConfigureAwait(false);
71
await testLspServer.
OpenDocumentAsync
(looseFileUri, string.Empty).ConfigureAwait(false);
99
await testLspServer.
OpenDocumentAsync
(looseFileUri, source).ConfigureAwait(false);
124
await testLspServer.
OpenDocumentAsync
(fileInWorkspaceUri).ConfigureAwait(false);
146
await testLspServer.
OpenDocumentAsync
(looseFileUri, source).ConfigureAwait(false);
193
await testLspServer.
OpenDocumentAsync
(looseFileUri, source).ConfigureAwait(false);
SpellCheck\SpellCheckTests.cs (1)
550
=> testLspServer.
OpenDocumentAsync
(document.GetURI());
Workspaces\LspWorkspaceManagerTests.cs (7)
35
await testLspServer.
OpenDocumentAsync
(documentUri, "LSP text");
187
await testLspServer.
OpenDocumentAsync
(newDocumentUri);
208
await testLspServer.
OpenDocumentAsync
(newDocumentUri, "LSP text");
334
await testLspServer.
OpenDocumentAsync
(firstWorkspaceDocumentUri);
389
await testLspServer.
OpenDocumentAsync
(firstWorkspaceDocumentUri);
475
await testLspServer.
OpenDocumentAsync
(documentUri, "Text");
486
await testLspServer.
OpenDocumentAsync
(documentUri, openText);