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)
267internal TrxLoggerObjectModel.TestOutcome TestResultOutcome { get; private set; } = TrxLoggerObjectModel.TestOutcome.Passed; 295runMessage = new RunInfo(e.Message, null, Environment.MachineName, TrxLoggerObjectModel.TestOutcome.Warning); 301TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Failed; 304runMessage = new RunInfo(e.Message, null, Environment.MachineName, TrxLoggerObjectModel.TestOutcome.Error); 362if (testResult.Outcome == TrxLoggerObjectModel.TestOutcome.Failed) 364TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Failed; 367else if (testResult.Outcome == TrxLoggerObjectModel.TestOutcome.Passed) 380if (parentTestResult!.Outcome == TrxLoggerObjectModel.TestOutcome.Failed) 384else if (parentTestResult.Outcome == TrxLoggerObjectModel.TestOutcome.Passed) 438if (TestResultOutcome == TrxLoggerObjectModel.TestOutcome.Passed) 440TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Completed; 452TestResultOutcome = TrxLoggerObjectModel.TestOutcome.Error; 455RunInfo runMessage = new(msg, null, Environment.MachineName, TrxLoggerObjectModel.TestOutcome.Error); 776TrxLoggerObjectModel.TestOutcome testOutcome = Converter.ToOutcome(rocksteadyTestResult.Outcome); 862private TrxLoggerObjectModel.TestOutcome ChangeTestOutcomeIfNecessary(TrxLoggerObjectModel.TestOutcome outcome) 871outcome = 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)
469TrxObjectModel.TestOutcome outcome = (TrxObjectModel.TestOutcome)i;