PHP Class 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).
Show file
Open project: gabordemooij/redbean
Public Methods
Method Details
getTargetDrivers()
public method
What drivers should be loaded for this test pack?
This pack contains some SQL incomp. with OCI
testCommonUsageFacade()
public method
Test common Facade usage scenarios.
testQuickTrash()
public method
Tests quick trash method: R::trash( type, id ).