Completion\CompletionTests.cs (40)
76testLspServer.GetLocations("caret").Single(),
123testLspServer.GetLocations("caret").Single(),
156testLspServer.GetLocations("caret").Single(),
184testLspServer.GetLocations("caret").Single(),
216testLspServer.GetLocations("caret").Single(),
239testLspServer.GetLocations("caret").Single(),
261testLspServer.GetLocations("caret").Single(),
295testLspServer.GetLocations("caret").Single(),
319testLspServer.GetLocations("caret").Single(),
347testLspServer.GetLocations("caret").Single(),
372testLspServer.GetLocations("caret").Single(),
409testLspServer.GetLocations("caret").Single(),
446testLspServer.GetLocations("caret").Single(),
498testLspServer.GetLocations("caret").Single(),
538testLspServer.GetLocations("caret").Single(),
593testLspServer.GetLocations("caret").Single(),
624testLspServer.GetLocations("caret").Single(),
652testLspServer.GetLocations("caret").Single(),
678testLspServer.GetLocations("caret").Single(),
705testLspServer.GetLocations("caret").Single(),
757testLspServer.GetLocations("caret").Single(),
808var caretLocation = testLspServer.GetLocations("caret").Single();
861var caretLocation = testLspServer.GetLocations("caret").Single();
878testLspServer.GetLocations("caret").Single(),
927var caretLocation = testLspServer.GetLocations("caret").Single();
944testLspServer.GetLocations("caret").Single(),
993var caretLocation = testLspServer.GetLocations("caret").Single();
1010testLspServer.GetLocations("caret").Single(),
1022testLspServer.GetLocations("caret").Single(),
1035testLspServer.GetLocations("caret").Single(),
1088var firstCaret = testLspServer.GetLocations("firstCaret").Single();
1104testLspServer.GetLocations("secondCaret").Single(),
1152var caretLocation = testLspServer.GetLocations("caret").Single();
1155testLspServer.GetLocations("caret").Single(),
1211var firstCaretLocation = testLspServer.GetLocations("firstCaret").Single();
1227var secondCaretLocation = testLspServer.GetLocations("secondCaret").Single();
1284testLspServer.GetLocations("caret").Single(),
1337var caretLocation = testLspServer.GetLocations("caret").Single();
1354testLspServer.GetLocations("caret").Single(),
1378testLspServer.GetLocations("caret").Single(),
References\FindAllReferencesHandlerTests.cs (13)
52var results = await RunFindAllReferencesAsync<LSP.VSInternalReferenceItem>(testLspServer, testLspServer.GetLocations("caret").First());
53AssertLocationsEqual(testLspServer.GetLocations("reference"), results.Select(result => result.Location));
90var results = await RunFindAllReferencesAsync<LSP.VSInternalReferenceItem>(testLspServer, testLspServer.GetLocations("caret").First(), progress);
103AssertLocationsEqual(testLspServer.GetLocations("reference"), results.Select(result => result.Location));
138var results = await RunFindAllReferencesAsync<LSP.VSInternalReferenceItem>(testLspServer, testLspServer.GetLocations("caret").First());
139AssertLocationsEqual(testLspServer.GetLocations("reference"), results.Select(result => result.Location));
181var results = await RunFindAllReferencesAsync<LSP.VSInternalReferenceItem>(testLspServer, testLspServer.GetLocations("caret").First());
182AssertLocationsEqual(testLspServer.GetLocations("reference"), results.Select(result => result.Location));
205var results = await RunFindAllReferencesAsync<LSP.VSInternalReferenceItem>(testLspServer, testLspServer.GetLocations("caret").First());
224var results = await RunFindAllReferencesAsync<LSP.VSInternalReferenceItem>(testLspServer, testLspServer.GetLocations("caret").First());
246var results = await RunFindAllReferencesAsync<LSP.VSInternalReferenceItem>(testLspServer, testLspServer.GetLocations("caret").First());
276var results = await RunFindAllReferencesAsync<LSP.VSInternalReferenceItem>(testLspServer, testLspServer.GetLocations("caret").First());
288var results = await RunFindAllReferencesAsync<LSP.VSInternalReferenceItem>(testLspServer, testLspServer.GetLocations("caret").First());
Symbols\DocumentSymbolsTests.cs (6)
47CreateDocumentSymbol(LSP.SymbolKind.Class, "A", "A", testLspServer.GetLocations("class").Single(), testLspServer.GetLocations("classSelection").Single())
49CreateDocumentSymbol(LSP.SymbolKind.Method, "M", "M()", testLspServer.GetLocations("method").Single(), testLspServer.GetLocations("methodSelection").Single(), expected.First());
68CreateSymbolInformation(LSP.SymbolKind.Class, "A", testLspServer.GetLocations("class").Single(), Glyph.ClassInternal),
69CreateSymbolInformation(LSP.SymbolKind.Method, "M()", testLspServer.GetLocations("method").Single(), Glyph.MethodPrivate, "A")
Symbols\WorkspaceSymbolsTests.cs (10)
41CreateSymbolInformation(LSP.SymbolKind.Class, "A", testLspServer.GetLocations("class").Single(), Glyph.ClassInternal, GetContainerName(testLspServer.GetCurrentSolution()))
61CreateSymbolInformation(LSP.SymbolKind.Class, "A", testLspServer.GetLocations("class").Single(), Glyph.ClassInternal, GetContainerName(testLspServer.GetCurrentSolution()))
87CreateSymbolInformation(LSP.SymbolKind.Method, "M", testLspServer.GetLocations("method").Single(), Glyph.MethodPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "A"))
110CreateSymbolInformation(LSP.SymbolKind.Variable, "i", testLspServer.GetLocations("local").Single(), Glyph.Local, GetContainerName(testLspServer.GetCurrentSolution(), "A.M.i"))
136CreateSymbolInformation(LSP.SymbolKind.Field, "F", testLspServer.GetLocations("field")[0], Glyph.FieldPrivate, classAContainerName),
137CreateSymbolInformation(LSP.SymbolKind.Class, "F", testLspServer.GetLocations("class").Single(), Glyph.ClassPrivate, classAContainerName),
138CreateSymbolInformation(LSP.SymbolKind.Field, "F", testLspServer.GetLocations("field")[1], Glyph.FieldPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "A.F"))
167CreateSymbolInformation(LSP.SymbolKind.Method, "M", testLspServer.GetLocations("method")[0], Glyph.MethodPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "A")),
168CreateSymbolInformation(LSP.SymbolKind.Method, "M", testLspServer.GetLocations("method")[1], Glyph.MethodPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "B"))
202CreateSymbolInformation(LSP.SymbolKind.Class, "A", testLspServer.GetLocations("class").Single(), Glyph.ClassInternal, GetContainerName(testLspServer.GetCurrentSolution()))