本文整理匯總了PHP中GroupTest::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP GroupTest::__construct方法的具體用法?PHP GroupTest::__construct怎麽用?PHP GroupTest::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類GroupTest
的用法示例。
在下文中一共展示了GroupTest::__construct方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: dirname
function __construct($title = false)
{
parent::__construct($title);
$path = dirname(__FILE__);
$this->addTestClass('TestOfAnnotations');
$this->addTestClass('TestOfAnnotation');
$this->addTestClass('TestOfAnnotationParser');
$this->addTestClass('TestOfDocComment');
}
示例2:
function __construct($title = false)
{
parent::__construct($title);
$this->addTestClass('TestOfAnnotations');
$this->addTestClass('TestOfPerformanceFeatures');
$this->addTestClass('TestOfSupportingFeatures');
$this->addTestClass('TestOfAnnotation');
$this->addTestClass('TestOfConstrainedAnnotation');
$this->addTestClass('TestOfMatchers');
$this->addTestClass('TestOfAnnotationMatchers');
$this->addTestClass('TestOfDocComment');
}
示例3: __construct
/**
* Constructor.
* Loads in all the testcases.
*/
public function __construct()
{
parent::__construct("TestOfMessage");
$this->addTestCase(new GeneralTestOfMessage());
$this->addTestCase(new TestOfMessageWithSubParts());
$this->addTestCase(new TestOfMessageWithAttachments());
$this->addTestCase(new TestOfMessageWithSubPartsAndAttachments());
$this->addTestCase(new TestOfMessageWithEmbeddedFiles());
$this->addTestCase(new TestOfMessageWithSubPartsAndEmbeddedFiles());
$this->addTestCase(new TestOfMessageWithAttachmentsAndEmbeddedFiles());
$this->addTestCase(new TestOfMessageWithAttachments_EmbeddedFiles_AndSubParts());
}
示例4:
/**
* Constructor
*
* @param string $label
*/
function __construct($label)
{
parent::__construct($label);
}