PHP Class Phan\Tests\Language\UnionTypeTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: etsy/phan

Protected Properties

Свойство Type Description
$code_base Phan\CodeBase
$context Phan\Language\Context | null

Méthodes publiques

Méthode Description
testArrayEmpty ( )
testArrayMixed ( )
testArrayUniform ( )
testGenericArrayType ( )
testGenericArrayTypeFromString ( )
testInt ( )
testInternalObject ( )
testString ( )

Méthodes protégées

Méthode Description
setUp ( )
tearDown ( )

Private Methods

Méthode Description
assertUnionTypeStringEqual ( string $code_stub, string $type_name ) Assert that a piece of code produces a type with the given name
typeStringFromCode ( string $code ) : string

Method Details

setUp() protected méthode

protected setUp ( )

tearDown() protected méthode

protected tearDown ( )

testArrayEmpty() public méthode

public testArrayEmpty ( )

testArrayMixed() public méthode

public testArrayMixed ( )

testArrayUniform() public méthode

public testArrayUniform ( )

testGenericArrayType() public méthode

testGenericArrayTypeFromString() public méthode

testInt() public méthode

public testInt ( )

testInternalObject() public méthode

public testInternalObject ( )

testString() public méthode

public testString ( )

Property Details

$code_base protected_oe property

protected CodeBase,Phan $code_base
Résultat Phan\CodeBase

$context protected_oe property

protected Context,Phan\Language|null $context
Résultat Phan\Language\Context | null