本文整理匯總了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);
}