private function printTestdox(PHPUnit_Framework_Test $test, $char) { if ($test instanceof Zoetrope_SeleniumTestCase) { /* @var $test Zoetrope_SeleniumTestCase */ $test_name = $test->getNameHumanReadable(); } else { $test_name = 'Unknown test in ' . get_class($test); } echo '[' . $char . '] ' . $test_name . chr(10); }