getErrorHandlerSettings() public static method

Returns the error handler settings for a test.
public static getErrorHandlerSettings ( string $className, string $methodName ) : boolean
$className string
$methodName string
return boolean
Esempio n. 1
0
 /**
  * @since Method available since Release 3.4.0
  */
 protected function setUseErrorHandlerFromAnnotation()
 {
     try {
         $useErrorHandler = PHPUnit_Util_Test::getErrorHandlerSettings(get_class($this), $this->name);
         if ($useErrorHandler !== null) {
             $this->setUseErrorHandler($useErrorHandler);
         }
     } catch (ReflectionException $e) {
     }
 }