41 references to TestOutcome
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (41)
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)
29TestOutcome outcome,
ObjectModel\TestRunSummary.cs (3)
49private readonly TestOutcome _outcome = TestOutcome.Pending; 94TestOutcome outcome,
ObjectModel\UnitTestResult.cs (1)
22TestOutcome outcome,
TrxLogger.cs (18)
241internal TrxLoggerObjectModel.TestOutcome TestResultOutcome { get; private set; } = TrxLoggerObjectModel.TestOutcome.Passed; 269runMessage = new RunInfo(e.Message, null, Environment.MachineName, TrxLoggerObjectModel.TestOutcome.Warning); 275TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Failed; 278runMessage = new RunInfo(e.Message, null, Environment.MachineName, TrxLoggerObjectModel.TestOutcome.Error); 337if (testResult.Outcome == TrxLoggerObjectModel.TestOutcome.Failed) 339TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Failed; 342else if (testResult.Outcome == TrxLoggerObjectModel.TestOutcome.Passed) 355if (parentTestResult!.Outcome == TrxLoggerObjectModel.TestOutcome.Failed) 359else if (parentTestResult.Outcome == TrxLoggerObjectModel.TestOutcome.Passed) 414if (TestResultOutcome == TrxLoggerObjectModel.TestOutcome.Passed) 416TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Completed; 428TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Error; 431RunInfo runMessage = new(msg, null, Environment.MachineName, TrxLoggerObjectModel.TestOutcome.Error); 739TrxLoggerObjectModel.TestOutcome testOutcome = Converter.ToOutcome(rocksteadyTestResult.Outcome); 826private TrxLoggerObjectModel.TestOutcome ChangeTestOutcomeIfNecessary(TrxLoggerObjectModel.TestOutcome outcome) 835outcome = 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;