13 references to TestCSharpObjectFormatter
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (1)
ObjectFormatterTests.cs (1)
21
private static readonly ObjectFormatter s_formatter = new
TestCSharpObjectFormatter
();
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (12)
ObjectFormatterTests.cs (10)
28
private static readonly TestCSharpObjectFormatter s_formatter = new
TestCSharpObjectFormatter
();
50
str = new
TestCSharpObjectFormatter
(maximumLineLength: 51).FormatObject(sort, SingleLineOptions);
54
str = new
TestCSharpObjectFormatter
(maximumLineLength: 5).FormatObject(sort, SingleLineOptions);
58
str = new
TestCSharpObjectFormatter
(maximumLineLength: 4).FormatObject(sort, SingleLineOptions);
61
str = new
TestCSharpObjectFormatter
(maximumLineLength: 3).FormatObject(sort, SingleLineOptions);
64
str = new
TestCSharpObjectFormatter
(maximumLineLength: 2).FormatObject(sort, SingleLineOptions);
67
str = new
TestCSharpObjectFormatter
(maximumLineLength: 1).FormatObject(sort, SingleLineOptions);
70
str = new
TestCSharpObjectFormatter
(maximumLineLength: 80).FormatObject(sort, SingleLineOptions);
369
var str = new
TestCSharpObjectFormatter
(maximumLineLength: 20).FormatObject(obj, SingleLineOptions);
372
str = new
TestCSharpObjectFormatter
(maximumLineLength: 20).FormatObject(obj, SeparateLinesOptions);
PrintOptionsTests.cs (2)
16
private static readonly ObjectFormatter s_formatter = new
TestCSharpObjectFormatter
();
46
var formatter = new
TestCSharpObjectFormatter
(includeCodePoints: true);