158 references to AssertEqualToleratingWhitespaceDifferences
InteractiveHost.UnitTests (41)
InteractiveHostDesktopTests.cs (25)
493AssertEx.AssertEqualToleratingWhitespaceDifferences("", error);
494AssertEx.AssertEqualToleratingWhitespaceDifferences("1", output);
720AssertEx.AssertEqualToleratingWhitespaceDifferences("", error);
721AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
747AssertEx.AssertEqualToleratingWhitespaceDifferences(
800AssertEx.AssertEqualToleratingWhitespaceDifferences("", error);
801AssertEx.AssertEqualToleratingWhitespaceDifferences(
826AssertEx.AssertEqualToleratingWhitespaceDifferences($@"{initFile.Path}(1,3): error CS1002: {CSharpResources.ERR_SemicolonExpected}
829AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
851AssertEx.AssertEqualToleratingWhitespaceDifferences(
864AssertEx.AssertEqualToleratingWhitespaceDifferences($@"(1,8): error CS0234: {string.Format(CSharpResources.ERR_DottedTypeNameNotFoundInNS, "Missing", "Microsoft")}",
951AssertEx.AssertEqualToleratingWhitespaceDifferences("C { P=null }", output);
991AssertEx.AssertEqualToleratingWhitespaceDifferences("120", output);
992AssertEx.AssertEqualToleratingWhitespaceDifferences("System.Exception: Bang!", error);
999AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadErrorOutputToEnd());
1000AssertEx.AssertEqualToleratingWhitespaceDifferences("8\r\n", await ReadOutputToEnd());
1003AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadErrorOutputToEnd());
1004AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadOutputToEnd());
1007AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadErrorOutputToEnd());
1008AssertEx.AssertEqualToleratingWhitespaceDifferences("4\r\n", await ReadOutputToEnd());
1011AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadErrorOutputToEnd());
1012AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadOutputToEnd());
1015AssertEx.AssertEqualToleratingWhitespaceDifferences("", await ReadErrorOutputToEnd());
1016AssertEx.AssertEqualToleratingWhitespaceDifferences("8\r\n", await ReadOutputToEnd());
1036AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (19)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (9)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (40)
CommandLineRunnerTests.cs (40)
53AssertEx.AssertEqualToleratingWhitespaceDifferences(
68AssertEx.AssertEqualToleratingWhitespaceDifferences(
91AssertEx.AssertEqualToleratingWhitespaceDifferences(
126AssertEx.AssertEqualToleratingWhitespaceDifferences(
151AssertEx.AssertEqualToleratingWhitespaceDifferences(
166AssertEx.AssertEqualToleratingWhitespaceDifferences(
257AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Out.ToString());
258AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Error.ToString());
281AssertEx.AssertEqualToleratingWhitespaceDifferences(
304AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
321AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
348AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
370AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
389AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
404AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Out.ToString());
405AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Error.ToString());
415AssertEx.AssertEqualToleratingWhitespaceDifferences(
428AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString());
432AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString());
436AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString());
440AssertEx.AssertEqualToleratingWhitespaceDifferences(s_compilerVersion, runner.Console.Out.ToString());
458AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Out.ToString());
459AssertEx.AssertEqualToleratingWhitespaceDifferences(error, runner.Console.Error.ToString());
468AssertEx.AssertEqualToleratingWhitespaceDifferences(
476AssertEx.AssertEqualToleratingWhitespaceDifferences(
495AssertEx.AssertEqualToleratingWhitespaceDifferences("3", runner.Console.Out.ToString());
547AssertEx.AssertEqualToleratingWhitespaceDifferences(@"
584AssertEx.AssertEqualToleratingWhitespaceDifferences(@"
608AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
623AssertEx.AssertEqualToleratingWhitespaceDifferences(
644AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
659AssertEx.AssertEqualToleratingWhitespaceDifferences(
714AssertEx.AssertEqualToleratingWhitespaceDifferences(@"
734AssertEx.AssertEqualToleratingWhitespaceDifferences($@"
743AssertEx.AssertEqualToleratingWhitespaceDifferences(
843AssertEx.AssertEqualToleratingWhitespaceDifferences(
866AssertEx.AssertEqualToleratingWhitespaceDifferences(
879AssertEx.AssertEqualToleratingWhitespaceDifferences(
895AssertEx.AssertEqualToleratingWhitespaceDifferences(
914AssertEx.AssertEqualToleratingWhitespaceDifferences(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (10)
Compilation\CompilationDifference.cs (3)
68AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedIL, actualIL, escapeQuotes: false, expectedValueSourcePath: callerPath, expectedValueSourceLine: callerLine);
79AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedSignature, actualSignature, escapeQuotes: true, expectedValueSourcePath: callerPath, expectedValueSourceLine: callerLine);
102AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedIL, actualIL, escapeQuotes: false, expectedValueSourcePath: callerPath, expectedValueSourceLine: callerLine);
CompilationVerifier.cs (4)
197AssertEx.AssertEqualToleratingWhitespaceDifferences(expected, output, escapeQuotes: false);
389AssertEx.AssertEqualToleratingWhitespaceDifferences(verification.ILVerifyMessage, actualMessage);
581AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedSignature, actualSignature, escapeQuotes: true, expectedValueSourcePath: callerPath, expectedValueSourceLine: callerLine);
599AssertEx.AssertEqualToleratingWhitespaceDifferences(expectedIL, actualIL, message: null, escapeQuotes, callerPath, callerLine);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (5)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Scripting.UnitTests (9)
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
Roslyn.Test.PdbUtilities (1)
VBCSCompiler.UnitTests (1)