__construct() public method

Constructs a new TestSuite for .phpt test cases.
public __construct ( string $directory, array $options = [] )
$directory string
$options array Array with ini settings for the php instance run, key being the name if the setting, value the ini value.
コード例 #1
0
ファイル: UploadTestPHPT.php プロジェクト: tekreme73/frametek
 public function __construct()
 {
     parent::__construct(__DIR__);
 }
コード例 #2
0
ファイル: MathUtilTest.php プロジェクト: kingsj/core
 /**
  * Constructs a new test suite
  */
 public function __construct()
 {
     parent::__construct(realpath(dirname(__FILE__) . '/../_code/Util/MathUtil/'));
 }