本文整理汇总了PHP中HtmlReporter::paintMessage方法的典型用法代码示例。如果您正苦于以下问题:PHP HtmlReporter::paintMessage方法的具体用法?PHP HtmlReporter::paintMessage怎么用?PHP HtmlReporter::paintMessage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HtmlReporter
的用法示例。
在下文中一共展示了HtmlReporter::paintMessage方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GroupTest
$parser->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'namespace-syntax.php');
$standardDoclet = new GroupTest('Standard Doclet');
$standardDoclet->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'standard-doclet.php');
$standardDoclet->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'access.php');
$standardDoclet->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'access-php5.php');
$standardDoclet->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'throws-tag.php');
$fixes = new GroupTest('Bugfixes');
// these tests will work with PHP5 < 5.3
$fixes->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'linefeed.php');
$fixes->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'lastline.php');
$fixes->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'zerovalue.php');
$fixes->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'todo.php');
$fixes->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'comment-links.php');
$formatters = new GroupTest('Formatters');
// these tests will work with PHP5 < 5.3
$formatters->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'lists-ul.php');
include_once "markdown.php";
if (function_exists('Markdown')) {
$formatters->addTestFile('tests' . DIRECTORY_SEPARATOR . 'cases' . DIRECTORY_SEPARATOR . 'markdown.php');
} else {
$reporter->paintMessage("Not running Markdown test, Markdown not available on system");
}
$test = new GroupTest('PHPDoctor');
$test->addTestCase($parser);
$test->addTestCase($standardDoclet);
$test->addTestCase($fixes);
$test->addTestCase($formatters);
if (TextReporter::inCli()) {
exit($test->run($reporter) ? 0 : 1);
}
$test->run($reporter);