Test.BuildXL.TestUtilities.XUnit.Extensions.DelegatingMessageBus.LogOutput(string)

Here are the examples of the csharp api Test.BuildXL.TestUtilities.XUnit.Extensions.DelegatingMessageBus.LogOutput(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : DelegatingMessageBus.cs
with MIT License
from microsoft

private void HandleTestFailed(ITestFailed testFailed)
        {
            // This method is effectively the same as DefaultRunnerReporterWithTypesMessageHandler.HandleTestFailed
            Logger.LogError($"    {Escape(testFailed.Test.DisplayName)} [FAIL]");

            lock (Logger.LockObject)
            {
                foreach (var messageLine in global::Xunit.Sdk.ExceptionUtility.CombineMessages(testFailed)
                    .Split(new[] { Environment.NewLine }, StringSplitOptions.None))
                {
                    Logger.LogImportantMessage($"      {messageLine}");
                }

                LogStackTrace(global::Xunit.Sdk.ExceptionUtility.CombineStackTraces(testFailed));
                LogOutput(testFailed.Output);
            }
        }