PHP Class Tests\Simple\CodeSmell\Cast

Afficher le fichier Open project: ovr/phpsa

Méthodes publiques

Méthode Description
testAssignCastBooleanFalse ( ) : boolean | integer
testCastBooleanFalse ( ) : boolean
testCastBooleanFromEqualStaticCondition ( ) : boolean
testCastBooleanTrue ( ) : boolean
testCastFloatFromBooleanFalse ( ) : float
testCastFloatFromBooleanTrue ( ) : float
testCastFloatFromEmptyString ( ) : float
testCastFloatFromFloat ( ) : float
testCastFloatFromInt ( ) : float
testCastFloatFromString ( ) : float
testCastIntFromBooleanFalse ( ) : integer
testCastIntFromBooleanTrue ( ) : integer
testCastIntFromEmptyString ( ) : integer
testCastIntFromFloat ( ) : integer
testCastIntFromInt ( ) : integer
testCastIntFromString ( ) : integer
testCastStringFromBooleanFalse ( ) : string
testCastStringFromBooleanTrue ( ) : string
testCastStringFromEmptyString ( ) : string
testCastStringFromFloat ( ) : string
testCastStringFromInt ( ) : string
testCastStringFromString ( ) : string
testCastUnsetFromBooleanFalse ( ) : null
testCastUnsetFromBooleanTrue ( ) : null
testCastUnsetFromNull ( ) : null

Method Details

testAssignCastBooleanFalse() public méthode

testCastBooleanFalse() public méthode

public testCastBooleanFalse ( ) : boolean
Résultat boolean

testCastBooleanFromEqualStaticCondition() public méthode

testCastBooleanTrue() public méthode

public testCastBooleanTrue ( ) : boolean
Résultat boolean

testCastFloatFromBooleanFalse() public méthode

public testCastFloatFromBooleanFalse ( ) : float
Résultat float

testCastFloatFromBooleanTrue() public méthode

public testCastFloatFromBooleanTrue ( ) : float
Résultat float

testCastFloatFromEmptyString() public méthode

public testCastFloatFromEmptyString ( ) : float
Résultat float

testCastFloatFromFloat() public méthode

public testCastFloatFromFloat ( ) : float
Résultat float

testCastFloatFromInt() public méthode

public testCastFloatFromInt ( ) : float
Résultat float

testCastFloatFromString() public méthode

public testCastFloatFromString ( ) : float
Résultat float

testCastIntFromBooleanFalse() public méthode

testCastIntFromBooleanTrue() public méthode

public testCastIntFromBooleanTrue ( ) : integer
Résultat integer

testCastIntFromEmptyString() public méthode

public testCastIntFromEmptyString ( ) : integer
Résultat integer

testCastIntFromFloat() public méthode

public testCastIntFromFloat ( ) : integer
Résultat integer

testCastIntFromInt() public méthode

public testCastIntFromInt ( ) : integer
Résultat integer

testCastIntFromString() public méthode

public testCastIntFromString ( ) : integer
Résultat integer

testCastStringFromBooleanFalse() public méthode

testCastStringFromBooleanTrue() public méthode

testCastStringFromEmptyString() public méthode

testCastStringFromFloat() public méthode

public testCastStringFromFloat ( ) : string
Résultat string

testCastStringFromInt() public méthode

public testCastStringFromInt ( ) : string
Résultat string

testCastStringFromString() public méthode

public testCastStringFromString ( ) : string
Résultat string

testCastUnsetFromBooleanFalse() public méthode

public testCastUnsetFromBooleanFalse ( ) : null
Résultat null

testCastUnsetFromBooleanTrue() public méthode

public testCastUnsetFromBooleanTrue ( ) : null
Résultat null

testCastUnsetFromNull() public méthode

public testCastUnsetFromNull ( ) : null
Résultat null