35 references to TestHtmlRequestInvoker
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (21)
Cohost\CohostDocumentPullDiagnosticsTest.cs (2)
42
var requestInvoker = new
TestHtmlRequestInvoker
([(VSInternalMethods.DocumentPullDiagnosticName, (VSInternalDiagnosticReport[]?)null)]);
589
var requestInvoker = new
TestHtmlRequestInvoker
([(VSInternalMethods.DocumentPullDiagnosticName, htmlResponse)]);
Cohost\CohostOnTypeFormattingEndpointTest.cs (1)
139
requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentOnTypeFormattingName, htmlEdits)]);
Cohost\CohostRangeFormattingEndpointTest.cs (1)
187
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentFormattingName, htmlEdits)]);
Cohost\CohostSnippetCompletionTest.cs (1)
45
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentCompletionName, response)]);
Cohost\CohostTextPresentationEndpointTest.cs (1)
53
var requestInvoker = new
TestHtmlRequestInvoker
([(VSInternalMethods.TextDocumentTextPresentationName, htmlResponse)]);
Cohost\CohostUriPresentationEndpointTest.cs (1)
248
var requestInvoker = new
TestHtmlRequestInvoker
([(VSInternalMethods.TextDocumentUriPresentationName, htmlResponse)]);
Cohost\CohostWrapWithTagEndpointTest.cs (1)
194
var requestInvoker = new
TestHtmlRequestInvoker
([(LanguageServerConstants.RazorWrapWithTagEndpoint, htmlResponse)]);
Cohost\Formatting\FormattingTestBase.cs (1)
64
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentOnTypeFormattingName, htmlEdits)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentCompletionEndpointTest.cs (2)
524
var requestInvoker = new
TestHtmlRequestInvoker
((Methods.TextDocumentCompletionName, (object?)null));
1320
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentCompletionName, response)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentCompletionResolveEndpointTest.cs (1)
51
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentCompletionResolveName, response)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentHighlightEndpointTest.cs (1)
153
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentDocumentHighlightName, htmlResponse)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFoldingRangeEndpointTest.cs (1)
391
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentFoldingRangeName, htmlRanges)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostGoToDefinitionEndpointTest.cs (1)
1074
var requestInvoker = new
TestHtmlRequestInvoker
(
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostGoToImplementationEndpointTest.cs (1)
184
: new
TestHtmlRequestInvoker
([(Methods.TextDocumentImplementationName, new SumType<LspLocation[], VSInternalReferenceItem[]>?(new LspLocation[] { htmlResponse }))]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostHoverEndpointTest.cs (1)
391
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentHoverName, htmlResponse)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostOnAutoInsertEndpointTest.cs (1)
574
var requestInvoker = new
TestHtmlRequestInvoker
([(VSInternalMethods.OnAutoInsertName, response)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostRenameEndpointTest.cs (1)
1474
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentRenameName, (object?)null)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostSignatureHelpEndpointTest.cs (1)
97
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentSignatureHelpName, (object?)null)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Formatting\DocumentFormattingTestBase.cs (1)
113
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentFormattingName, htmlEdits)]);
Microsoft.VisualStudioCode.RazorExtension.UnitTests (14)
Endpoints\CohostDocumentPullDiagnosticsTest.cs (2)
41
var requestInvoker = new
TestHtmlRequestInvoker
([(VSInternalMethods.DocumentPullDiagnosticName, (VSInternalDiagnosticReport[]?)null)]);
65
var requestInvoker = new
TestHtmlRequestInvoker
([(VSInternalMethods.DocumentPullDiagnosticName, htmlResponse)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentCompletionEndpointTest.cs (2)
524
var requestInvoker = new
TestHtmlRequestInvoker
((Methods.TextDocumentCompletionName, (object?)null));
1320
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentCompletionName, response)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentCompletionResolveEndpointTest.cs (1)
51
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentCompletionResolveName, response)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentHighlightEndpointTest.cs (1)
153
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentDocumentHighlightName, htmlResponse)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFoldingRangeEndpointTest.cs (1)
391
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentFoldingRangeName, htmlRanges)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostGoToDefinitionEndpointTest.cs (1)
1074
var requestInvoker = new
TestHtmlRequestInvoker
(
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostGoToImplementationEndpointTest.cs (1)
184
: new
TestHtmlRequestInvoker
([(Methods.TextDocumentImplementationName, new SumType<LspLocation[], VSInternalReferenceItem[]>?(new LspLocation[] { htmlResponse }))]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostHoverEndpointTest.cs (1)
391
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentHoverName, htmlResponse)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostOnAutoInsertEndpointTest.cs (1)
574
var requestInvoker = new
TestHtmlRequestInvoker
([(VSInternalMethods.OnAutoInsertName, response)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostRenameEndpointTest.cs (1)
1474
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentRenameName, (object?)null)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostSignatureHelpEndpointTest.cs (1)
97
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentSignatureHelpName, (object?)null)]);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Formatting\DocumentFormattingTestBase.cs (1)
113
var requestInvoker = new
TestHtmlRequestInvoker
([(Methods.TextDocumentFormattingName, htmlEdits)]);