11 references to TestFormattingRuleFactoryServiceFactory
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Formatting\Indentation\CSharpFormatterTestsBase.cs (2)
38private static readonly TestComposition s_composition = EditorTestCompositions.EditorFeatures.AddParts(typeof(TestFormattingRuleFactoryServiceFactory)); 116var factory = (TestFormattingRuleFactoryServiceFactory.Factory)workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Formatting\Indentation\SmartIndenterTests.cs (2)
30.AddParts(typeof(TestFormattingRuleFactoryServiceFactory)); 3487var provider = (TestFormattingRuleFactoryServiceFactory.Factory)workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Formatting\CoreFormatterTestsBase.cs (3)
43private static readonly TestComposition s_composition = EditorTestCompositions.EditorFeatures.AddParts(typeof(TestFormattingRuleFactoryServiceFactory)); 98if (workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>() is TestFormattingRuleFactoryServiceFactory.Factory factory && factory.BaseIndentation != 0 && factory.TextSpan.Contains(p.Position)) 196var factory = (TestFormattingRuleFactoryServiceFactory.Factory)formattingRuleProvider;
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (4)
Formatting\Indentation\SmartIndenterTests.vb (2)
21AddParts(GetType(TestFormattingRuleFactoryServiceFactory)) 2989TestFormattingRuleFactoryServiceFactory.Factory)
Formatting\VisualBasicFormatterTestBase.vb (2)
25GetType(TestFormattingRuleFactoryServiceFactory)) 56Dim factory = CType(formattingRuleProvider, TestFormattingRuleFactoryServiceFactory.Factory)