Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPComponentRouterTest Class Reference
Inheritance diagram for PKPComponentRouterTest:
PKPRouterTestCase PKPTestCase

Public Member Functions

 testGetRequestedComponentWithPathinfo ()
 
 testGetRequestedComponentWithPathinfoAndMalformedComponentString ()
 
 testGetRequestedComponentWithPathinfoDisabled ()
 
 testGetRequestedOpWithPathinfo ()
 
 testGetRequestedOpWithPathinfoAndMalformedOpString ()
 
 testGetRequestedOpWithPathinfoDisabled ()
 
 testGetRequestedOpWithPathinfoDisabledAndMissingComponent ()
 
 testRoute ()
 
 testSupportsWithPathinfoSuccessful ()
 
 testSupportsWithPathinfoUnsuccessfulComponentFileDoesNotExist ()
 
 testSupportsWithPathinfoUnsuccessfulComponentIsNotAHandler ()
 
 testSupportsWithPathinfoUnsuccessfulNoComponentNoMarker ()
 
 testSupportsWithPathinfoUnsuccessfulNoComponentNotEnoughPathElements ()
 
 testSupportsWithPathinfoUnsuccessfulOperationDoesNotExist ()
 
 testUrlWithoutPathinfo ()
 
 testUrlWithoutPathinfoAndOverriddenBaseUrl ()
 
 testUrlWithoutPathinfoAndSecondContextObjectIsNull ()
 
 testUrlWithPathinfo ()
 
 testUrlWithPathinfoAndOverriddenBaseUrl ()
 
 testUrlWithPathinfoAndSecondContextObjectIsNull ()
 
- Public Member Functions inherited from PKPRouterTestCase
 testGetCacheFilename ()
 
 testGetContext ()
 
 testGetContextForIndex ()
 
 testGetIndexUrl ()
 
 testGetIndexUrlRestful ()
 
 testGetRequestedContextPathWithEmptyContextParameters ()
 
 testGetRequestedContextPathWithEmptyPathInfo ()
 
 testGetRequestedContextPathWithFullContextParameters ()
 
 testGetRequestedContextPathWithFullPathInfo ()
 
 testGetRequestedContextPathWithInvalidLevel ()
 
 testGetRequestedContextPathWithInvalidPathInfo ()
 
 testGetRequestedContextPathWithPartialContextParameters ()
 
 testGetRequestedContextPathWithPartialPathInfo ()
 
 testGetSetApplication ()
 
 testGetSetDispatcher ()
 
 testIsCacheable ()
 
 testSupports ()
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Additional Inherited Members

- Protected Member Functions inherited from PKPRouterTestCase
 _setUpMockDAOs ($firstContextPath= 'current-context1', $secondContextPath= 'current-context2', $firstContextIsNull=false, $secondContextIsNull=false)
 
 _setUpMockEnvironment ($pathInfoEnabled=self::PATHINFO_ENABLED, $contextDepth=2, $contextList=array('firstContext', 'secondContext'))
 
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 mockRequest ($path= 'index/test-page/test-op', $userId=null)
 
 setTestConfiguration ($config, $configPath= 'config')
 
 setUp ()
 
 tearDown ()
 

Detailed Description

Tests for the PKPComponentRouter class.

See Also
PKPComponentRouter

Definition at line 22 of file PKPComponentRouterTest.php.

Member Function Documentation

PKPComponentRouterTest::testGetRequestedComponentWithPathinfoAndMalformedComponentString ( )
PKPComponentRouterTest::testGetRequestedOpWithPathinfoDisabledAndMissingComponent ( )

The documentation for this class was generated from the following file: