PHP 클래스 Jamm\Tester\ClassTest

파일 보기 프로젝트 열기: jamm/memory

공개 메소드들

메소드 설명
RunTests ( )
assertEquals ( $tested_value, $expected_value, $strict = false )
assertInstanceOf ( $tested_object, $expected_class_name )
assertIsArray ( $array )
assertIsNumeric ( $numeric )
assertIsObject ( $value )
assertIsScalar ( $value )
assertIsValueOfType ( $value, $type )
assertTrue ( $variable )
assertTrueStrict ( $variable )
getTests ( )
setTestMethodPrefix ( $test_method_prefix )
setUpBeforeClass ( )
skipAllExcept ( string | array $method_names )
skipAllExceptLast ( )
skipTest ( $method_names )
tearDownAfterClass ( )

보호된 메소드들

메소드 설명
RunAllTestsOfClass ( )
assertPostConditions ( )
assertPreConditions ( )
getErrorCatcherObject ( ) : ErrorCatcher
getNewAssertionObject ( )
getNewTestObject ( ) : Test
onNotSuccessfulTest ( )
setErrorExpected ( $value )
setExceptionExpected ( $value )
setUp ( )
tearDown ( )

비공개 메소드들

메소드 설명
RunTestMethod ( $test_method_name )
addAssertionToCurrentTest ( Assertion $assertion )
assert ( $expression ) : Assertion Each assert* method should call this function
resetErrorsExpectations ( )
start_new_test ( $name )

메소드 상세

RunAllTestsOfClass() 보호된 메소드

protected RunAllTestsOfClass ( )

RunTests() 공개 메소드

public RunTests ( )

assertEquals() 공개 메소드

public assertEquals ( $tested_value, $expected_value, $strict = false )

assertInstanceOf() 공개 메소드

public assertInstanceOf ( $tested_object, $expected_class_name )

assertIsArray() 공개 메소드

public assertIsArray ( $array )

assertIsNumeric() 공개 메소드

public assertIsNumeric ( $numeric )

assertIsObject() 공개 메소드

public assertIsObject ( $value )

assertIsScalar() 공개 메소드

public assertIsScalar ( $value )

assertIsValueOfType() 공개 메소드

public assertIsValueOfType ( $value, $type )

assertPostConditions() 보호된 메소드

protected assertPostConditions ( )

assertPreConditions() 보호된 메소드

protected assertPreConditions ( )

assertTrue() 공개 메소드

public assertTrue ( $variable )

assertTrueStrict() 공개 메소드

public assertTrueStrict ( $variable )

getErrorCatcherObject() 보호된 메소드

protected getErrorCatcherObject ( ) : ErrorCatcher
리턴 ErrorCatcher

getNewAssertionObject() 보호된 메소드

protected getNewAssertionObject ( )

getNewTestObject() 보호된 메소드

protected getNewTestObject ( ) : Test
리턴 Test

getTests() 공개 메소드

public getTests ( )

onNotSuccessfulTest() 보호된 메소드

protected onNotSuccessfulTest ( )

setErrorExpected() 보호된 메소드

protected setErrorExpected ( $value )

setExceptionExpected() 보호된 메소드

protected setExceptionExpected ( $value )

setTestMethodPrefix() 공개 메소드

public setTestMethodPrefix ( $test_method_prefix )

setUp() 보호된 메소드

protected setUp ( )

setUpBeforeClass() 공개 메소드

public setUpBeforeClass ( )

skipAllExcept() 공개 메소드

public skipAllExcept ( string | array $method_names )
$method_names string | array

skipAllExceptLast() 공개 메소드

public skipAllExceptLast ( )

skipTest() 공개 메소드

public skipTest ( $method_names )

tearDown() 보호된 메소드

protected tearDown ( )

tearDownAfterClass() 공개 메소드

public tearDownAfterClass ( )