PHP Class Tests\PHPSA\Compiler\Expression\BinaryOp\EqualTest

Inheritance: extends Tests\PHPSA\TestCase
Afficher le fichier Open project: ovr/phpsa

Méthodes publiques

Méthode Description
providerForStaticEqualsFalse ( ) : array
providerForStaticEqualsTrue ( ) : array
testFirstUnexpectedTypes ( ) Tests {left-expr::UNKNOWN} == {right-expr}
testSecondUnexpectedTypes ( ) Tests {left-expr} == {right-expr::UNKNOWN}
testStaticEqualsFalse ( integer $a, integer $b ) Tests {left-expr} == {right-expr} but for false
testStaticEqualsTrue ( integer $a, integer $b ) Tests {left-expr} == {right-expr}

Method Details

providerForStaticEqualsFalse() public méthode

public providerForStaticEqualsFalse ( ) : array
Résultat array

providerForStaticEqualsTrue() public méthode

public providerForStaticEqualsTrue ( ) : array
Résultat array

testFirstUnexpectedTypes() public méthode

Tests {left-expr::UNKNOWN} == {right-expr}

testSecondUnexpectedTypes() public méthode

Tests {left-expr} == {right-expr::UNKNOWN}

testStaticEqualsFalse() public méthode

Tests {left-expr} == {right-expr} but for false

testStaticEqualsTrue() public méthode

Tests {left-expr} == {right-expr}