1 instantiation of FormattingTestContext
Microsoft.AspNetCore.Razor.Test.Common (1)
Formatting\FormattingTestCase.cs (1)
37constructorArguments[0] = new FormattingTestContext
8 references to FormattingTestContext
Microsoft.AspNetCore.Razor.Test.Common (1)
Formatting\FormattingTestCase.cs (1)
36Debug.Assert(constructorArguments.Length >= 1 && constructorArguments[0] is FormattingTestContext, $"{TestMethod.TestClass.Class.Name}.{TestMethod.Method.Name} uses a formatting test attribute in a class without a FormattingTestContext parameter?");
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (7)
Cohost\Formatting\FormattingTestBase.cs (5)
25private readonly FormattingTestContext _context; 28private protected FormattingTestBase(FormattingTestContext context, HtmlFormattingService htmlFormattingService, ITestOutputHelper testOutputHelper) 111input = new TestCode(FormattingTestContext.FlipLineEndings(input.OriginalInput)); 112expected = FormattingTestContext.FlipLineEndings(expected); 113htmlFormatted = FormattingTestContext.FlipLineEndings(htmlFormatted);
Cohost\Formatting\OnTypeFormattingTest.cs (2)
18public class OnTypeFormattingTest(FormattingTestContext context, HtmlFormattingFixture fixture, ITestOutputHelper testOutput) 19: FormattingTestBase(context, fixture.Service, testOutput), IClassFixture<FormattingTestContext>