本文整理汇总了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;
}