1 write to Output
Microsoft.CodeAnalysis.Test.Utilities (1)
FX\ProcessResult.cs (1)
24Output = output;
36 references to Output
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (6)
IntegrationTests.cs (5)
103Assert.Equal("", result.Output); 115Assert.Equal(expectedOutput, runningResult.Output); 416Assert.Equal("", result.Output); 421Assert.Equal("Hello\r\nthere\r\nWorld\r\n", runningResult.Output); 612Assert.Contains("/reportanalyzer", result.Output);
TestUtilities\DotNetSdkTestBase.cs (1)
214Assert.True(result.ExitCode == 0, $"MSBuild failed with exit code {result.ExitCode}: {result.Output}");
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (12)
CommandLineTests.cs (12)
5991Assert.False(result.ContainsErrors, $"Compilation error(s) occurred: {result.Output} {result.Errors}"); 6025Assert.False(result.ContainsErrors, $"Compilation error(s) occurred: {result.Output} {result.Errors}"); 6050Assert.False(result.ContainsErrors, $"Compilation error(s) occurred: {result.Output} {result.Errors}"); 6051Assert.Equal("Hello World!", result.Output.Trim()); 6078Assert.Contains(((int)ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected).ToString(), result.Output); 6106Assert.Contains(((int)ErrorCode.WRN_FileAlreadyIncluded).ToString(), result.Output); 12003result.Output.Trim()); 12011result.Output.Trim()); 12027var outputWithoutPaths = Regex.Replace(result.Output, " in .*", ""); 12240"The specified module could not be found. (Exception from HRESULT: 0x8007007E)'", result.Output.Trim()); 12244AssertEx.AssertEqualToleratingWhitespaceDifferences("", result.Output.Trim()); 12253Assert.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) 9662result.Output.Trim()) 9670result.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());