本文整理汇总了PHP中HtmlReporter::paintGroupStart方法的典型用法代码示例。如果您正苦于以下问题:PHP HtmlReporter::paintGroupStart方法的具体用法?PHP HtmlReporter::paintGroupStart怎么用?PHP HtmlReporter::paintGroupStart使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HtmlReporter
的用法示例。
在下文中一共展示了HtmlReporter::paintGroupStart方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: paintGroupStart
/**
* Paints the start of a group test. Will also paint
* the page header and footer if this is the
* first test. Will stash the size if the first start.
* @param string $test_name Name of test that is starting.
* @param integer $size Number of test cases starting.
*/
function paintGroupStart($test_name, $size)
{
$this->time = $this->getMicrotime();
HtmlReporter::paintGroupStart($test_name, $size);
if (extension_loaded('xdebug')) {
xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);
}
}
示例2: paintGroupStart
function paintGroupStart($name, $size)
{
parent::paintGroupStart($name, $size);
$this->current_html = "";
}
示例3: paintGroupStart
/**
* Display the start of each test case
*
* @param string $test_case
* @param int $size
*/
function paintGroupStart($test_case, $size)
{
parent::paintGroupStart($test_case, $size);
print "<br /><div class=\"group\"><b>Test Case:</b> {$test_case}</div>";
}
示例4: paintGroupStart
function paintGroupStart($test_name, $size)
{
parent::paintGroupStart($test_name, $size);
}