private void ReportTestResult(TestResult testResult)
{
VsTestResult result = testResult.ToVsTestResult();
_throttle.Execute(delegate
{
// This is part of a workaround for a Visual Studio bug. See above.
_frameworkHandle.RecordResult(result);
});
_frameworkHandle.RecordEnd(result.TestCase, result.Outcome);
}