public override void RecordException(Exception ex, FailureSite site)
{
RecordException(ex);
if (site == FailureSite.SetUp)
{
switch (ResultState.Status)
{
case TestStatus.Skipped:
this.skipCount = this.test.TestCaseCount;
break;
case TestStatus.Failed:
this.failCount = this.test.TestCaseCount;
break;
}
}
}
}