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
파일 보기 프로젝트 열기: qcodo/qcodo

보호된 프로퍼티들

프로퍼티 타입 설명
$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