public AbstractConsoleReporter instantiateConsoleReporter()
{
if ( isUseFile() )
{
return isPrintSummary() ? new ConsoleReporter( trimStackTrace ) : null;
}
else if ( isRedirectTestOutputToFile() || BRIEF_REPORT_FORMAT.equals( getReportFormat() ) )
{
return new BriefConsoleReporter( trimStackTrace );
}