PHP 클래스 Phan\Tests\Language\UnionTypeTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: etsy/phan

보호된 프로퍼티들

프로퍼티 타입 설명
$code_base Phan\CodeBase
$context Phan\Language\Context | null

공개 메소드들

메소드 설명
testArrayEmpty ( )
testArrayMixed ( )
testArrayUniform ( )
testGenericArrayType ( )
testGenericArrayTypeFromString ( )
testInt ( )
testInternalObject ( )
testString ( )

보호된 메소드들

메소드 설명
setUp ( )
tearDown ( )

비공개 메소드들

메소드 설명
assertUnionTypeStringEqual ( string $code_stub, string $type_name ) Assert that a piece of code produces a type with the given name
typeStringFromCode ( string $code ) : string

메소드 상세

setUp() 보호된 메소드

protected setUp ( )

tearDown() 보호된 메소드

protected tearDown ( )

testArrayEmpty() 공개 메소드

public testArrayEmpty ( )

testArrayMixed() 공개 메소드

public testArrayMixed ( )

testArrayUniform() 공개 메소드

public testArrayUniform ( )

testGenericArrayType() 공개 메소드

testGenericArrayTypeFromString() 공개 메소드

testInt() 공개 메소드

public testInt ( )

testInternalObject() 공개 메소드

public testInternalObject ( )

testString() 공개 메소드

public testString ( )

프로퍼티 상세

$code_base 보호되어 있는 프로퍼티

protected CodeBase,Phan $code_base
리턴 Phan\CodeBase

$context 보호되어 있는 프로퍼티

protected Context,Phan\Language|null $context
리턴 Phan\Language\Context | null