public function run($reporter)
{
$reporter->paintGroupStart($this->getLabel(), $this->getSize());
for ($i = 0, $count = count($this->test_cases); $i < $count; $i++) {
if (is_string($this->test_cases[$i])) {
$class = $this->test_cases[$i];
$test = new $class();
$test->run($reporter);
unset($test);
} else {
$this->test_cases[$i]->run($reporter);
}
}
$reporter->paintGroupEnd($this->getLabel());
return $reporter->getStatus();
}