PHP Класс RedUNIT\Base\Copy

Tests whether we can make a copy or a deep copy of a bean and whether recursion is handled well. Also tests versioning: copying can be used to implement a versioning feature, some test cases will reflect this particular use case.
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Base
Показать файл Открыть проект

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

Метод Описание
testCopyRecursion ( ) Test whether recursion happens
testRecursion ( ) Test Recursion
testVersioning ( ) Test real world scenario: Versioning
testVersioningIntermediateSaves ( ) Same as above but now with intermediate save, counts must be same

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

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

Test whether recursion happens
public testCopyRecursion ( )

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

Test Recursion
public testRecursion ( )

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

Test real world scenario: Versioning
public testVersioning ( )

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

Same as above but now with intermediate save, counts must be same