PHP Класс Tests\Simple\CodeSmell\Cast

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

testAssignCastBooleanFalse() публичный Метод

public testAssignCastBooleanFalse ( ) : boolean | integer
Результат boolean | integer

testCastBooleanFalse() публичный Метод

public testCastBooleanFalse ( ) : boolean
Результат boolean

testCastBooleanFromEqualStaticCondition() публичный Метод

public testCastBooleanFromEqualStaticCondition ( ) : boolean
Результат boolean

testCastBooleanTrue() публичный Метод

public testCastBooleanTrue ( ) : boolean
Результат boolean

testCastFloatFromBooleanFalse() публичный Метод

public testCastFloatFromBooleanFalse ( ) : float
Результат float

testCastFloatFromBooleanTrue() публичный Метод

public testCastFloatFromBooleanTrue ( ) : float
Результат float

testCastFloatFromEmptyString() публичный Метод

public testCastFloatFromEmptyString ( ) : float
Результат float

testCastFloatFromFloat() публичный Метод

public testCastFloatFromFloat ( ) : float
Результат float

testCastFloatFromInt() публичный Метод

public testCastFloatFromInt ( ) : float
Результат float

testCastFloatFromString() публичный Метод

public testCastFloatFromString ( ) : float
Результат float

testCastIntFromBooleanFalse() публичный Метод

public testCastIntFromBooleanFalse ( ) : integer
Результат integer

testCastIntFromBooleanTrue() публичный Метод

public testCastIntFromBooleanTrue ( ) : integer
Результат integer

testCastIntFromEmptyString() публичный Метод

public testCastIntFromEmptyString ( ) : integer
Результат integer

testCastIntFromFloat() публичный Метод

public testCastIntFromFloat ( ) : integer
Результат integer

testCastIntFromInt() публичный Метод

public testCastIntFromInt ( ) : integer
Результат integer

testCastIntFromString() публичный Метод

public testCastIntFromString ( ) : integer
Результат integer

testCastStringFromBooleanFalse() публичный Метод

public testCastStringFromBooleanFalse ( ) : string
Результат string

testCastStringFromBooleanTrue() публичный Метод

public testCastStringFromBooleanTrue ( ) : string
Результат string

testCastStringFromEmptyString() публичный Метод

public testCastStringFromEmptyString ( ) : string
Результат string

testCastStringFromFloat() публичный Метод

public testCastStringFromFloat ( ) : string
Результат string

testCastStringFromInt() публичный Метод

public testCastStringFromInt ( ) : string
Результат string

testCastStringFromString() публичный Метод

public testCastStringFromString ( ) : string
Результат string

testCastUnsetFromBooleanFalse() публичный Метод

public testCastUnsetFromBooleanFalse ( ) : null
Результат null

testCastUnsetFromBooleanTrue() публичный Метод

public testCastUnsetFromBooleanTrue ( ) : null
Результат null

testCastUnsetFromNull() публичный Метод

public testCastUnsetFromNull ( ) : null
Результат null