1 write to Output
Microsoft.CodeAnalysis.Test.Utilities (1)
FX\ProcessResult.cs (1)
24Output = output;
30 references to Output
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TestUtilities\DotNetSdkTestBase.cs (1)
214Assert.True(result.ExitCode == 0, $"MSBuild failed with exit code {result.ExitCode}: {result.Output}");
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (11)
CommandLineTests.cs (11)
6021Assert.False(result.ContainsErrors, $"Compilation error(s) occurred: {result.Output} {result.Errors}"); 6055Assert.False(result.ContainsErrors, $"Compilation error(s) occurred: {result.Output} {result.Errors}"); 6080Assert.False(result.ContainsErrors, $"Compilation error(s) occurred: {result.Output} {result.Errors}"); 6081Assert.Equal("Hello World!", result.Output.Trim()); 6108Assert.Contains(((int)ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected).ToString(), result.Output); 6136Assert.Contains(((int)ErrorCode.WRN_FileAlreadyIncluded).ToString(), result.Output); 12033result.Output.Trim()); 12041result.Output.Trim()); 12270"The specified module could not be found. (Exception from HRESULT: 0x8007007E)'", result.Output.Trim()); 12274AssertEx.AssertEqualToleratingWhitespaceDifferences("", result.Output.Trim()); 12283Assert.Equal("", result.Output.Trim());
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (5)
CsiTests.cs (5)
37AssertEx.AssertEqualToleratingWhitespaceDifferences(dir.Path + ";C", result.Output); 72AssertEx.AssertEqualToleratingWhitespaceDifferences(expected, result.Output); 112AssertEx.AssertEqualToleratingWhitespaceDifferences("DataSet", result.Output); 137AssertEx.AssertEqualToleratingWhitespaceDifferences("OK", result.Output); 154AssertEx.AssertEqualToleratingWhitespaceDifferences("OK", result.Output);
Microsoft.CodeAnalysis.Test.Utilities (1)
FX\ProcessResult.cs (1)
35this.Output +
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (5)
CommandLineTests.vb (5)
676Assert.False(result.ContainsErrors, $"Compilation error(s) occurred: {result.Output} {result.Errors}") 717Assert.False(result.ContainsErrors, $"Compilation error(s) occurred: {result.Output} {result.Errors}") 746Assert.Contains(CInt(ERRID.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected).ToString(), result.Output) 9689result.Output.Trim()) 9697result.Output.Trim())
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (5)
NetCoreTests.cs (1)
46Assert.True(restoreResult.ExitCode == 0, $"{dotNetExeName} failed with exit code {restoreResult.ExitCode}: {restoreResult.Output}");
NewlyCreatedProjectsFromDotNetNew.cs (4)
112var lines = result.Output.Split(["\r", "\n"], StringSplitOptions.RemoveEmptyEntries); 191if (newResult.Output.Contains("Restoring")) 267result.Output, 273output?.WriteLine(result.Output);
VBCSCompiler.UnitTests (2)
CompilerServerTests.cs (2)
265Assert.Equal(expectedOutput.Trim(), result.Output.Trim()); 1471Assert.Equal("", result.Output.Trim());