13 references to TestCSharpObjectFormatter
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (1)
ObjectFormatterTests.cs (1)
21private static readonly ObjectFormatter s_formatter = new TestCSharpObjectFormatter();
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (12)
ObjectFormatterTests.cs (10)
29private static readonly TestCSharpObjectFormatter s_formatter = new TestCSharpObjectFormatter(); 51str = new TestCSharpObjectFormatter(maximumLineLength: 51).FormatObject(sort, SingleLineOptions); 55str = new TestCSharpObjectFormatter(maximumLineLength: 5).FormatObject(sort, SingleLineOptions); 59str = new TestCSharpObjectFormatter(maximumLineLength: 4).FormatObject(sort, SingleLineOptions); 62str = new TestCSharpObjectFormatter(maximumLineLength: 3).FormatObject(sort, SingleLineOptions); 65str = new TestCSharpObjectFormatter(maximumLineLength: 2).FormatObject(sort, SingleLineOptions); 68str = new TestCSharpObjectFormatter(maximumLineLength: 1).FormatObject(sort, SingleLineOptions); 71str = new TestCSharpObjectFormatter(maximumLineLength: 80).FormatObject(sort, SingleLineOptions); 370var str = new TestCSharpObjectFormatter(maximumLineLength: 20).FormatObject(obj, SingleLineOptions); 373str = new TestCSharpObjectFormatter(maximumLineLength: 20).FormatObject(obj, SeparateLinesOptions);
PrintOptionsTests.cs (2)
16private static readonly ObjectFormatter s_formatter = new TestCSharpObjectFormatter(); 46var formatter = new TestCSharpObjectFormatter(includeCodePoints: true);