RouterTest
extends TestCase
in package
Record router tests.
Tags
Table of Contents
- testActionRoutingWithDriver() : void
- Test action routing with driver object.
- testCollectionSpecialCaseWithDriver() : void
- Test collection special case with driver.
- testCollectionSpecialCaseWithString() : void
- Test collection special case with source|id string.
- testCollectionSpecialCaseWithStringMissingSource() : void
- Test collection special case with id string having no source prefix.
- testRoutingWithDriver() : void
- Test routing with driver object.
- testRoutingWithIDContainingPercent() : void
- Test routing with source|id string including percent signs.
- testRoutingWithString() : void
- Test routing with source|id string.
- testRoutingWithStringMissingSource() : void
- Test routing with id string having no source prefix.
- testTabRoutingWithString() : void
- Test tab routing with source|id string.
- getDriver() : AbstractBase
- Get test record driver object
- getRouter() : Router
- Get test router object
Methods
testActionRoutingWithDriver()
Test action routing with driver object.
public
testActionRoutingWithDriver() : void
Return values
void —testCollectionSpecialCaseWithDriver()
Test collection special case with driver.
public
testCollectionSpecialCaseWithDriver() : void
Return values
void —testCollectionSpecialCaseWithString()
Test collection special case with source|id string.
public
testCollectionSpecialCaseWithString() : void
Return values
void —testCollectionSpecialCaseWithStringMissingSource()
Test collection special case with id string having no source prefix.
public
testCollectionSpecialCaseWithStringMissingSource() : void
Return values
void —testRoutingWithDriver()
Test routing with driver object.
public
testRoutingWithDriver() : void
Return values
void —testRoutingWithIDContainingPercent()
Test routing with source|id string including percent signs.
public
testRoutingWithIDContainingPercent() : void
Return values
void —testRoutingWithString()
Test routing with source|id string.
public
testRoutingWithString() : void
Return values
void —testRoutingWithStringMissingSource()
Test routing with id string having no source prefix.
public
testRoutingWithStringMissingSource() : void
Return values
void —testTabRoutingWithString()
Test tab routing with source|id string.
public
testTabRoutingWithString() : void
Return values
void —getDriver()
Get test record driver object
protected
getDriver([string $id = 'test' ][, string $source = 'Solr' ]) : AbstractBase
Parameters
- $id : string = 'test'
-
Record ID
- $source : string = 'Solr'
-
Record source
Return values
AbstractBase —getRouter()
Get test router object
protected
getRouter([array<string|int, mixed> $config = [] ]) : Router
Parameters
- $config : array<string|int, mixed> = []
-
Configuration.