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