}
private void executeTestSet( Class<?> clazz, RunListener reporter, RunNotifier listeners )
throws ReporterException, TestSetFailedException
{
final ReportEntry report = new SimpleReportEntry( this.getClass().getName(), clazz.getName() );
reporter.testSetStarting( report );
try
{
execute( clazz, listeners, this.requestedTestMethod );
}
catch ( TestSetFailedException e )
{
throw e;
}
catch ( Throwable e )
{
reporter.testError( new SimpleReportEntry( report.getSourceName(), report.getName(),
new PojoStackTraceWriter( report.getSourceName(),
report.getName(), e ) ) );
}
finally
{
reporter.testSetCompleted( report );
}