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)
29
private static readonly TestCSharpObjectFormatter s_formatter = new
TestCSharpObjectFormatter
();
51
str = new
TestCSharpObjectFormatter
(maximumLineLength: 51).FormatObject(sort, SingleLineOptions);
55
str = new
TestCSharpObjectFormatter
(maximumLineLength: 5).FormatObject(sort, SingleLineOptions);
59
str = new
TestCSharpObjectFormatter
(maximumLineLength: 4).FormatObject(sort, SingleLineOptions);
62
str = new
TestCSharpObjectFormatter
(maximumLineLength: 3).FormatObject(sort, SingleLineOptions);
65
str = new
TestCSharpObjectFormatter
(maximumLineLength: 2).FormatObject(sort, SingleLineOptions);
68
str = new
TestCSharpObjectFormatter
(maximumLineLength: 1).FormatObject(sort, SingleLineOptions);
71
str = new
TestCSharpObjectFormatter
(maximumLineLength: 80).FormatObject(sort, SingleLineOptions);
370
var str = new
TestCSharpObjectFormatter
(maximumLineLength: 20).FormatObject(obj, SingleLineOptions);
373
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);