Inheritance: extends PHPUnit_Framework_TestCase
コード例 #1
0
ファイル: DirExistsInputTest.php プロジェクト: alx/rosaveloso
 /**
  * PHP5 type constructor
  */
 function __construct($dir = '', $errMsgPrefix = '', $customErrMsg = '')
 {
     parent::__construct($errMsgPrefix, $customErrMsg);
     $this->_dir = $dir;
 }
コード例 #2
0
 /**
  * PHP5 type constructor
  */
 function __construct($errMsgCallback, $file = '', $errMsgPrefix = '', $customErrMsg = '')
 {
     parent::__construct($errMsgCallback, $errMsgPrefix, $customErrMsg);
     $this->_file = $file;
 }
コード例 #3
0
ファイル: InputTest.php プロジェクト: musicsnap/Cdoco_Yaf_Ext
 public function fileNameProvider()
 {
     return array_map(function ($a) {
         return array($a, InputTest::outputNameFor($a));
     }, self::findInputNames());
 }
コード例 #4
0
 /**
  * PHP5 type constructor
  */
 function __construct($errMsgCallback, $lowerBound, $upperBound = '', $errMsgPrefix = '', $customErrMsg = '')
 {
     parent::__construct($errMsgCallback, $errMsgPrefix, $customErrMsg);
     $this->_lower = $lowerBound;
     $this->_upper = $upperBound;
 }