public override TestResult MergeResults(TestResult inMemory, TestResultMessage fromTheWire) { // The only type of message we should receive from the wire is a GallioTestResult. // However, we can receive multiple results in the case where the test is data-driven // so we need to merge them. GallioTestResult gallioInMemory = inMemory as GallioTestResult; if (gallioInMemory == null && inMemory != null) { gallioInMemory = new GallioTestResult(gallioInMemory); } GallioTestResult gallioFromTheWire = fromTheWire as GallioTestResult; if (gallioFromTheWire == null && fromTheWire is TestResult) { gallioFromTheWire = new GallioTestResult((TestResult)fromTheWire); } return(GallioTestResultFactory.Merge(gallioInMemory, gallioFromTheWire)); }
public override TestResult MergeResults(TestResult inMemory, TestResultMessage fromTheWire) { // The only type of message we should receive from the wire is a GallioTestResult. // However, we can receive multiple results in the case where the test is data-driven // so we need to merge them. GallioTestResult gallioInMemory = inMemory as GallioTestResult; if (gallioInMemory == null && inMemory != null) gallioInMemory = new GallioTestResult(gallioInMemory); GallioTestResult gallioFromTheWire = fromTheWire as GallioTestResult; if (gallioFromTheWire == null && fromTheWire is TestResult) gallioFromTheWire = new GallioTestResult((TestResult)fromTheWire); return GallioTestResultFactory.Merge(gallioInMemory, gallioFromTheWire); }
public TestResult MergeResults(TestResult inMemory, TestResultMessage fromTheWire) { return target.MergeResults(inMemory, fromTheWire); }
public static MSVST4U_UnitTestResult New_MSVST4U_UnitTestResult_DataDriven(Guid runId, ITestElement test, TestOutcome outcome, TestResultCounter counters, MSVSTTC_TestResult[] innerResults) { return MSVST4U_Tunnels.CreateAggregateDataTestResult(runId, test, outcome, counters, innerResults); }
public TestResult MergeResults(TestResult inMemory, TestResultMessage fromTheWire) { return(target.MergeResults(inMemory, fromTheWire)); }