Inheritance: extends PHPUnit_Framework_TestCase
示例#1
0
 /**
  * PHP5 type constructor
  */
 function __construct($dir = '', $errMsgPrefix = '', $customErrMsg = '')
 {
     parent::__construct($errMsgPrefix, $customErrMsg);
     $this->_dir = $dir;
 }
 /**
  * PHP5 type constructor
  */
 function __construct($errMsgCallback, $file = '', $errMsgPrefix = '', $customErrMsg = '')
 {
     parent::__construct($errMsgCallback, $errMsgPrefix, $customErrMsg);
     $this->_file = $file;
 }
示例#3
0
 public function fileNameProvider()
 {
     return array_map(function ($a) {
         return array($a, InputTest::outputNameFor($a));
     }, self::findInputNames());
 }
 /**
  * PHP5 type constructor
  */
 function __construct($errMsgCallback, $lowerBound, $upperBound = '', $errMsgPrefix = '', $customErrMsg = '')
 {
     parent::__construct($errMsgCallback, $errMsgPrefix, $customErrMsg);
     $this->_lower = $lowerBound;
     $this->_upper = $upperBound;
 }