39 references to TestOutcome
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (39)
Interfaces\ITestResult.cs (1)
25TestOutcome Outcome { get; set; }
ObjectModel\RunInfo.cs (2)
26private readonly TestOutcome _outcome; 46public RunInfo(string textMessage, Exception? ex, string computer, TestOutcome outcome)
ObjectModel\TestResult.cs (3)
234TestOutcome outcome, 292public TestOutcome Outcome { get; set; } 516helper.SaveSimpleField(element, "@outcome", Outcome, default(TestOutcome));
ObjectModel\TestResultAggregation.cs (1)
27TestOutcome outcome,
ObjectModel\TestRunSummary.cs (3)
49private readonly TestOutcome _outcome = TestOutcome.Pending; 94TestOutcome outcome,
ObjectModel\UnitTestResult.cs (1)
22TestOutcome outcome,
TrxLogger.cs (16)
216internal TrxLoggerObjectModel.TestOutcome TestResultOutcome { get; private set; } = TrxLoggerObjectModel.TestOutcome.Passed; 244runMessage = new RunInfo(e.Message, null, Environment.MachineName, TrxLoggerObjectModel.TestOutcome.Warning); 248TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Failed; 249runMessage = new RunInfo(e.Message, null, Environment.MachineName, TrxLoggerObjectModel.TestOutcome.Error); 307if (testResult.Outcome == TrxLoggerObjectModel.TestOutcome.Failed) 309TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Failed; 312else if (testResult.Outcome == TrxLoggerObjectModel.TestOutcome.Passed) 366if (TestResultOutcome == TrxLoggerObjectModel.TestOutcome.Passed) 368TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Completed; 380TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Error; 383RunInfo runMessage = new(msg, null, Environment.MachineName, TrxLoggerObjectModel.TestOutcome.Error); 686TrxLoggerObjectModel.TestOutcome testOutcome = Converter.ToOutcome(rocksteadyTestResult.Outcome); 772private TrxLoggerObjectModel.TestOutcome ChangeTestOutcomeIfNecessary(TrxLoggerObjectModel.TestOutcome outcome) 781outcome = TrxLoggerObjectModel.TestOutcome.Failed;
Utility\Converter.cs (10)
104TrxObjectModel.TestOutcome testOutcome, 143/// The <see cref="TestOutcome"/>. 145public static TrxObjectModel.TestOutcome ToOutcome(VisualStudio.TestPlatform.ObjectModel.TestOutcome rockSteadyOutcome) 147TrxObjectModel.TestOutcome outcome = TrxObjectModel.TestOutcome.Failed; 152outcome = TrxObjectModel.TestOutcome.Failed; 155outcome = TrxObjectModel.TestOutcome.Passed; 160outcome = TrxObjectModel.TestOutcome.NotExecuted; 419testResult.Outcome = TrxObjectModel.TestOutcome.Error; 684TrxObjectModel.TestOutcome outcome,
XML\XmlPersistence.cs (2)
470TrxObjectModel.TestOutcome outcome = (TrxObjectModel.TestOutcome)i;