BadTestSuite::run PHP Method

run() public method

Sends a single error to the reporter.
public run ( SimpleReporter $reporter )
$reporter SimpleReporter Current test reporter.
    public function run($reporter)
    {
        $reporter->paintGroupStart($this->getLabel(), $this->getSize());
        $reporter->paintFail('Bad TestSuite [' . $this->getLabel() . '] with error [' . $this->error . ']');
        $reporter->paintGroupEnd($this->getLabel());
        return $reporter->getStatus();
    }