PHP Class WPUnitCommandResultsPrinter, hm-dev

Inheritance: extends PHPUnit_TextUI_ResultPrinter, implements PHPUnit_Framework_TestListener
Mostra file Open project: humanmade/hm-dev

Public Properties

Property Type Description
$current_test_suite
$failed_tests
$passed_tests
$skipped_tests

Public Methods

Method Description
addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time )
addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
endTest ( PHPUnit_Framework_Test $test, $time )
printResult ( PHPUnit_Framework_TestResult $result )
startTestSuite ( PHPUnit_Framework_TestSuite $suite )

Private Methods

Method Description
print_failed ( $message )
print_passed ( $message )
print_skipped ( $message )

Method Details

addError() public method

public addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addFailure() public method

public addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time )
$test PHPUnit_Framework_Test
$e PHPUnit_Framework_AssertionFailedError

addIncompleteTest() public method

public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addSkippedTest() public method

public addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

endTest() public method

public endTest ( PHPUnit_Framework_Test $test, $time )
$test PHPUnit_Framework_Test

printResult() public method

public printResult ( PHPUnit_Framework_TestResult $result )
$result PHPUnit_Framework_TestResult

startTestSuite() public method

public startTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite

Property Details

$current_test_suite public_oe property

public $current_test_suite

$failed_tests public_oe property

public $failed_tests

$passed_tests public_oe property

public $passed_tests

$skipped_tests public_oe property

public $skipped_tests