Lines Matching refs:testClass
242 * @param mixed $testClass
246 public function addTestSuite($testClass) argument
248 if (is_string($testClass) && class_exists($testClass)) {
249 $testClass = new ReflectionClass($testClass);
252 if (!is_object($testClass)) {
259 if ($testClass instanceof self) {
260 $this->addTest($testClass);
261 } elseif ($testClass instanceof ReflectionClass) {
264 if (!$testClass->isAbstract()) {
265 if ($testClass->hasMethod(PHPUnit_Runner_BaseTestRunner::SUITE_METHODNAME)) {
266 $method = $testClass->getMethod(
272 $method->invoke(null, $testClass->getName())
280 …if (!$suiteMethod && !$testClass->isAbstract() && $testClass->isSubclassOf(PHPUnit_Framework_TestC…
281 $this->addTest(new self($testClass));