mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding doc blocks to CakeHtmlReporter
This commit is contained in:
parent
2aee4b6e43
commit
3d608d6fd7
1 changed files with 36 additions and 2 deletions
|
@ -23,14 +23,46 @@
|
|||
* in an HTML format / context.
|
||||
*
|
||||
* @package cake
|
||||
* @subpackage cake.cake.tests.lib
|
||||
* @subpackage cake.tests.lib
|
||||
*/
|
||||
class CakeHtmlReporter extends SimpleReporter {
|
||||
|
||||
/**
|
||||
* Character set for the output of test reporting.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
var $_character_set;
|
||||
/**
|
||||
* Toggle to show passes in output.
|
||||
*
|
||||
* @var boolean
|
||||
* @access protected
|
||||
*/
|
||||
var $_show_passes = false;
|
||||
|
||||
/**
|
||||
* Time the test runs started.
|
||||
*
|
||||
* @var integer
|
||||
* @access protected
|
||||
*/
|
||||
var $_timeStart = 0;
|
||||
|
||||
/**
|
||||
* Time the test runs ended
|
||||
*
|
||||
* @var integer
|
||||
* @access protected
|
||||
*/
|
||||
var $_timeEnd = 0;
|
||||
|
||||
/**
|
||||
* Duration of all test methods.
|
||||
*
|
||||
* @var integer
|
||||
* @access protected
|
||||
*/
|
||||
var $_timeDuration = 0;
|
||||
|
||||
/**
|
||||
|
@ -52,7 +84,8 @@ class CakeHtmlReporter extends SimpleReporter {
|
|||
* Signals / Paints the beginning of a TestSuite executing.
|
||||
* Starts the timer for the TestSuite execution time.
|
||||
*
|
||||
* @param
|
||||
* @param string $test_name Name of the test that is being run.
|
||||
* @param integer $size
|
||||
* @return void
|
||||
*/
|
||||
function paintGroupStart($test_name, $size) {
|
||||
|
@ -66,6 +99,7 @@ class CakeHtmlReporter extends SimpleReporter {
|
|||
* Signals/Paints the end of a TestSuite. All test cases have run
|
||||
* and timers are stopped.
|
||||
*
|
||||
* @param string $test_name Name of the test that is being run.
|
||||
* @return void
|
||||
*/
|
||||
function paintGroupEnd($test_name) {
|
||||
|
|
Loading…
Reference in a new issue