ConvertTestResult() public method

public ConvertTestResult ( NUnit.Core.TestResult result ) : Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult
result NUnit.Core.TestResult
return Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult
Ejemplo n.º 1
0
        public void TestFinished(XmlNode resultNode)
        {
            TestResult ourResult = _testConverter.ConvertTestResult(resultNode);

            _recorder.RecordEnd(ourResult.TestCase, ourResult.Outcome);
            _recorder.RecordResult(ourResult);
        }
Ejemplo n.º 2
0
        public void TestFinished(NUnit.Core.TestResult result)
        {
            TestResult ourResult = testConverter.ConvertTestResult(result);

            ourResult.Messages.Add(new TestResultMessage(TestResultMessage.StandardOutCategory, Output));
            this.testLog.RecordEnd(ourResult.TestCase, ourResult.Outcome);
            this.testLog.RecordResult(ourResult);
            Output = "";
        }