本文整理汇总了PHP中TestSuite::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP TestSuite::__construct方法的具体用法?PHP TestSuite::__construct怎么用?PHP TestSuite::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TestSuite
的用法示例。
在下文中一共展示了TestSuite::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
parent::__construct();
$this->addFile(dirname(__FILE__) . '/unit/unit-test-wpps-module.php');
$this->addFile(dirname(__FILE__) . '/unit/unit-test-wpps-settings.php');
$this->addFile(dirname(__FILE__) . '/unit/unit-test-wpps-instance-class.php');
}
示例2: __construct
public function __construct()
{
parent::__construct();
$this->addFile(TestPath . 'languageforge/semdomtrans/commands/AllTests.php');
$this->addFile(TestPath . 'languageforge/semdomtrans/dto/AllTests.php');
$this->addFile(TestPath . 'languageforge/semdomtrans/models/AllTests.php');
}
示例3: __construct
public function __construct()
{
parent::__construct('RemoteCP Versioning System Tests');
$this->addFile(__DIR__ . '/base_test.php');
$this->addFile(__DIR__ . '/semver_test.php');
$this->addFile(__DIR__ . '/regression_test.php');
}
示例4: dirname
function __construct()
{
parent::__construct('All tests');
$p = dirname(__FILE__);
ini_set('include_path', dirname($p) . PATH_SEPARATOR . ini_get('include_path'));
$this->addFile($p . '/ForgeUpgrade_BucketFilterTest.php');
}
示例5:
function __construct()
{
parent::__construct();
$dr = $_SERVER['DOCUMENT_ROOT'] . "/dtest/utests/";
$this->addFile($dr . 'ControllerTests.php');
$this->addFile($dr . 'ViewTests.php');
}
示例6: __construct
public function __construct()
{
parent::__construct('Gihp porcelain tests');
$this->add(new porcelain\tree());
$this->add(new porcelain\tag());
$this->add(new porcelain\branch());
}
示例7:
function __construct()
{
parent::__construct('All tests for SimpleTest ' . SimpleTest::getVersion());
$this->addFile(dirname(__FILE__) . '/unit_tests.php');
$this->addFile(dirname(__FILE__) . '/shell_test.php');
$this->addFile(dirname(__FILE__) . '/live_test.php');
$this->addFile(dirname(__FILE__) . '/acceptance_test.php');
}
示例8: __construct
public function __construct($label = false)
{
if (!$label) {
$this->_init();
} else {
parent::__construct($label);
}
}
示例9:
function __construct()
{
parent::__construct();
$this->addFile('UnitToppaAutoLoaderWp.php');
$this->addFile('UnitToppaDatabaseFacadeWp.php');
$this->addFile('UnitToppaFunctions.php');
$this->addFile('UnitToppaHtmlFormField.php');
}
示例10: __construct
public function __construct()
{
parent::__construct();
$this->addFile(TestPath . 'libraries/scriptureforge/AllTests.php');
$this->addFile(TestPath . 'libraries/LanguageData_Test.php');
$this->addFile(TestPath . 'libraries/ParatextExport_Test.php');
$this->addFile(TestPath . 'libraries/Website_Test.php');
}
示例11: dirname
function __construct()
{
parent::__construct('Coverage Unit tests');
$path = dirname(__FILE__) . '/*_test.php';
foreach (glob($path) as $test) {
$this->addFile($test);
}
}
示例12:
function __construct($label = FALSE)
{
parent::__construct($label);
$this->addTestFile('uplTestData.php');
$this->addTestFile('uploadCopyrightData.php');
// agent add data is not ready yet....due to javascript.
//$this->addTestFile('AgentAddData.php');
// do the uploads and output in text...
}
示例13: __construct
public function __construct()
{
parent::__construct();
$this->addFile(TestPath . 'shared/dto/ManageUsersDto_Test.php');
$this->addFile(TestPath . 'shared/dto/ProjectListDto_Test.php');
$this->addFile(TestPath . 'shared/dto/RightsHelper_Test.php');
$this->addFile(TestPath . 'shared/dto/UserProfileDto_Test.php');
$this->addFile(TestPath . 'shared/dto/ProjectManagementDto_Test.php');
}
示例14: foreach
function __construct()
{
parent::__construct();
foreach (glob(__DIR__ . "/Test*.php") as $testFile) {
if (strpos($testFile, "Data.php") === false) {
$this->addFile($testFile);
}
}
}
示例15: __construct
public function __construct()
{
parent::__construct('All tests for SimpleTest ' . SimpleTest::getVersion());
$this->addFile(dirname(__FILE__) . '/unit_tests.php');
$this->addFile(dirname(__FILE__) . '/shell_test.php');
$this->addFile(dirname(__FILE__) . '/live_test.php');
// jakoch: disabled acceptance tests.
// because, we will not test against a live server over the network.
//$this->addFile(dirname(__FILE__) . '/acceptance_test.php');
}