ICSharpCode.NRefactory.CSharp.CSharpOutputVisitorTests.BlankLinesAfterUsings C# (CSharp) Method

BlankLinesAfterUsings() private method

private BlankLinesAfterUsings ( ) : void
return void
		public void BlankLinesAfterUsings() {
			var code = @"using System;
using System.Collections;
using List = System.Collections.List;
namespace NS
{
	using System.Collections.Generic;
	using Collection = System.Collections.Collection;
	using System.Xml;
	class C {}
}
";
			var unit = SyntaxTree.Parse(code);
			var options = FormattingOptionsFactory.CreateMono();
			options.MinimumBlankLinesAfterUsings = 2;
			AssertOutput("using System;\nusing System.Collections;\nusing List = System.Collections.List;\n\n\nnamespace NS\n{\n$using System.Collections.Generic;\n$using Collection = System.Collections.Collection;\n$using System.Xml;\n\n\n$class C\n${\n$}\n}\n", unit, options);
		}