PHP Класс PHPUnit_Util_Log_XHProf, qcodo

Here is an example XML configuration for activating this listener: /var/www/xhprof_lib/utils/xhprof_lib.php /var/www/xhprof_lib/utils/xhprof_runs.php http://localhost/xhprof_html/index.php Doctrine2 XHPROF_FLAGS_CPU,XHPROF_FLAGS_MEMORY
Автор: Benjamin Eberlei ([email protected])
Автор: Sebastian Bergmann ([email protected])
Наследование: implements PHPUnit_Framework_TestListener
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$options array
$runs array
$suites integer

Открытые методы

Метод Описание
__construct ( array $options = [] ) Constructor.
addError ( PHPUnit_Framework_Test $test, Exception $e, float $time ) An error occurred.
addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, float $time ) A failure occurred.
addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) Incomplete test.
addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) Skipped test.
endTest ( PHPUnit_Framework_Test $test, float $time ) A test ended.
endTestSuite ( PHPUnit_Framework_TestSuite $suite ) A test suite ended.
startTest ( PHPUnit_Framework_Test $test ) A test started.
startTestSuite ( PHPUnit_Framework_TestSuite $suite ) A test suite started.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( array $options = [] )
$options array

addError() публичный Метод

An error occurred.
public addError ( PHPUnit_Framework_Test $test, Exception $e, float $time )
$test PHPUnit_Framework_Test
$e Exception
$time float

addFailure() публичный Метод

A failure occurred.
public addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, float $time )
$test PHPUnit_Framework_Test
$e PHPUnit_Framework_AssertionFailedError
$time float

addIncompleteTest() публичный Метод

Incomplete test.
public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, float $time )
$test PHPUnit_Framework_Test
$e Exception
$time float

addSkippedTest() публичный Метод

Skipped test.
public addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, float $time )
$test PHPUnit_Framework_Test
$e Exception
$time float

endTest() публичный Метод

A test ended.
public endTest ( PHPUnit_Framework_Test $test, float $time )
$test PHPUnit_Framework_Test
$time float

endTestSuite() публичный Метод

A test suite ended.
public endTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite

startTest() публичный Метод

A test started.
public startTest ( PHPUnit_Framework_Test $test )
$test PHPUnit_Framework_Test

startTestSuite() публичный Метод

A test suite started.
public startTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite

Описание свойств

$options защищенное свойство

protected array $options
Результат array

$runs защищенное свойство

protected array $runs
Результат array

$suites защищенное свойство

protected int $suites
Результат integer