public void TestRootHandling(int testNumber, LineBreakRule lineBreakRule) { var stylerOptions = new StylerOptions(config: this.legacyConfig) { AttributesTolerance = 3, MaxAttributesPerLine = 4, SeparateByGroups = true, RootElementLineBreakRule = lineBreakRule, }; this.DoTestCase(stylerOptions, testNumber); }
public void TestRootHandling(int testNumber, LineBreakRule lineBreakRule) { var stylerOptions = new StylerOptions { AttributesTolerance = 3, MaxAttributesPerLine = 4, PutAttributeOrderRuleGroupsOnSeparateLines = true, RootElementLineBreakRule = lineBreakRule, }; DoTestCase(stylerOptions, testNumber); }
public void TestRootHandling(int testNumber, LineBreakRule lineBreakRule) { var stylerOptions = new StylerOptions( config: this.GetConfiguration(@"TestConfigurations\LegacyTestSettings.json")) { AttributesTolerance = 3, MaxAttributesPerLine = 4, PutAttributeOrderRuleGroupsOnSeparateLines = true, RootElementLineBreakRule = lineBreakRule, }; this.DoTestCase(stylerOptions, testNumber); }