PHP Класс RedUNIT\Base\Facade

Tests the facade. The facade is a single class (often aliased with R) that provides access to all (or most) RedBeanPHP functionality without the need to interact with all the objects involved. The facade has been designed to be as 'straightfoward' as possible, many methods of the facade class should be 'almost identical' to simple calls to objects behind the facade. This test focuses on basic usage scenarios. Complex scenarios are tested in other suites because we often test 'the complete route' as the facade code path always includes the non-facade code path as well (as proven by the coverage numbers).
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Base
Показать файл Открыть проект

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

Метод Описание
getTargetDrivers ( ) What drivers should be loaded for this test pack? This pack contains some SQL incomp. with OCI
testCommonUsageFacade ( ) : void Test common Facade usage scenarios.
testQuickTrash ( ) : void Tests quick trash method: R::trash( type, id ).

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

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

What drivers should be loaded for this test pack? This pack contains some SQL incomp. with OCI
public getTargetDrivers ( )

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

Test common Facade usage scenarios.
public testCommonUsageFacade ( ) : void
Результат void

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

Tests quick trash method: R::trash( type, id ).
public testQuickTrash ( ) : void
Результат void