PHP Класс RedUNIT\Base\Xnull

Tests NULL handling.
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Base
Показать файл Открыть проект

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

Метод Описание
ColumnType ( ) : void Here we test whether the column type is set correctly.
TypeColumn ( ) : void Test meta column type.
testBasicNullHandling ( ) : void Test NULL handling, setting a property to NULL must cause a change.
testBindings ( ) Test Null bindings.
testUnsetAliasedParent ( ) : void Test nullifying aliased parent.
testUnsetParent ( ) : void Tests whether we can NULLify a parent bean page->book if the parent (book) is already NULL. (isset vs array_key_exists bug).

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

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

Normally if you store NULL, the smallest type (bool/set) will be selected. However in case of a foreign key type INT should be selected because fks columns require matching types.
public ColumnType ( ) : void
Результат void

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

Test meta column type.
public TypeColumn ( ) : void
Результат void

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

Test NULL handling, setting a property to NULL must cause a change.
public testBasicNullHandling ( ) : void
Результат void

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

Test Null bindings.
public testBindings ( )

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

Test nullifying aliased parent.
public testUnsetAliasedParent ( ) : void
Результат void

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

Tests whether we can NULLify a parent bean page->book if the parent (book) is already NULL. (isset vs array_key_exists bug).
public testUnsetParent ( ) : void
Результат void