本文整理匯總了PHP中SimpleReporter::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP SimpleReporter::__construct方法的具體用法?PHP SimpleReporter::__construct怎麽用?PHP SimpleReporter::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類SimpleReporter
的用法示例。
在下文中一共展示了SimpleReporter::__construct方法的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: DOMDocument
function __construct()
{
parent::__construct();
$this->doc = new DOMDocument();
$this->doc->loadXML('<testsuite/>');
$this->root = $this->doc->documentElement;
}
示例2: __construct
/**
* Ethna_UnitTestReporterのコンストラクタ
*
* @access public
* @param string $character_set キャラクタセット
*/
public function __construct($character_set = 'UTF-8')
{
parent::__construct();
$this->_character_set = $character_set;
$this->report = array();
$this->result = array();
}
示例3: __construct
public function __construct($test_case_pattern = '/^TestOf(.*)$/')
{
parent::__construct();
$this->_test_case_pattern = empty($test_case_pattern) ? '/^(.*)$/' : $test_case_pattern;
}
示例4: __construct
/**
* Does nothing yet. The first output will be sent on the first test start.
*/
public function __construct()
{
parent::__construct();
}
示例5: TestDoxReporter
function TestDoxReporter($test_case_pattern = '/^TestOf(.*)$/')
{
parent::__construct();
$this->_test_case_pattern = empty($test_case_pattern) ? '/^(.*)$/' : $test_case_pattern;
}
示例6:
/**
* Sets up indentation and namespace.
* @param string $namespace Namespace to add to each tag.
* @param string $indent Indenting to add on each nesting.
* @access public
*/
function __construct($namespace = false, $indent = ' ')
{
parent::__construct();
$this->namespace = $namespace ? $namespace . ':' : '';
$this->indent = $indent;
}
示例7: array
function __construct()
{
parent::__construct();
$this->results = array();
}
示例8: __construct
public function __construct($microTimeStart)
{
parent::__construct();
$this->_microTimeStart = $microTimeStart;
}
示例9:
/**
* Does nothing yet. The first output will
* be sent on the first test start. For use
* by a web browser.
* @access public
*/
function __construct($path = '../ui/')
{
parent::__construct();
$this->path = $path;
}
示例10: __construct
public function __construct($character_set = 'utf-8')
{
parent::__construct();
$this->_character_set = $character_set;
}
示例11: __construct
public function __construct()
{
parent::__construct();
$this->doc = new DOMDocument();
$this->doc->loadXML('<testsuite/>');
$this->root = $this->doc->documentElement;
$base_path = defined('MAKELOS_BASE_DIR') ? MAKELOS_BASE_DIR : AK_BASE_DIR;
$file_path = AkConfig::getOption('report_path', $base_path . DS . 'reports' . DS . 'units.xml');
AkFileSystem::file_put_contents($file_path, "<?xml version=\"1.0\"?>\n", array('base_path' => $base_path));
$this->_fp = @fopen($file_path, 'a');
}
示例12: __construct
/**
* Creates a new KortCliReporter instance.
*/
public function __construct()
{
parent::__construct();
date_default_timezone_set('UTC');
}
示例13: TreemapStack
function __construct()
{
parent::__construct();
$this->stack = new TreemapStack();
$this->graph = null;
}