PHP Класс RedUNIT\Base\Dup

Tests duplication. Like the 'copy' test suite but focuses on more complex scenarios.
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Base
Показать файл Открыть проект

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

Метод Описание
DupAndCache ( ) : void Test duplication and caching.
ExportWithFilters ( ) : void Test exporting with filters.
testDupAndExportNonTainting ( ) : void Test duplication and tainting.
testDupPortionOfATree ( ) : void Test whether we can duplicate part of a tree without infinite loops.
testExportAllAndCache ( ) : void Test exportAll and caching.
testExportCamelCase ( ) : void Test export camelCase.
testKeepOldID ( ) Tests whether the original ID is stored in meta data (quite handy for ID mappings).

Приватные методы

Метод Описание
compare ( type $object, type $array ) Compares object with export
getCache ( ) : array Helper function getCache().
runOnce ( $n = TRUE ) Run tests

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

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

Test duplication and caching.
public DupAndCache ( ) : void
Результат void

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

Test exporting with filters.
public ExportWithFilters ( ) : void
Результат void

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

Test duplication and tainting.
public testDupAndExportNonTainting ( ) : void
Результат void

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

Test whether we can duplicate part of a tree without infinite loops.
public testDupPortionOfATree ( ) : void
Результат void

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

Test exportAll and caching.
public testExportAllAndCache ( ) : void
Результат void

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

Test export camelCase.
public testExportCamelCase ( ) : void
Результат void

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

Tests whether the original ID is stored in meta data (quite handy for ID mappings).
public testKeepOldID ( )