Open Journal Systems
3.3.0
|
Protected Member Functions | |
setUp () | |
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')) | |
tearDown () | |
Protected Member Functions inherited from PKPTestCase | |
getMockedDAOs () | |
getMockedRegistryKeys () | |
mockRequest ($path='index/test-page/test-op', $userId=null) | |
setTestConfiguration ($config, $configPath='config') | |
Additional Inherited Members | |
Data Fields inherited from PKPRouterTestCase | |
$request | |
const | PATHINFO_DISABLED = false |
const | PATHINFO_ENABLED = true |
Data Fields inherited from PKPTestCase | |
$mockedRegistryKeys = array() | |
$registryBackup = array() | |
Protected Attributes inherited from PKPRouterTestCase | |
$router | |
Tests for the PKPComponentRouter class.
@backupGlobals enabled
Definition at line 25 of file PKPComponentRouterTest.php.
|
protected |
Reimplemented from PKPRouterTestCase.
Definition at line 26 of file PKPComponentRouterTest.php.
PKPComponentRouterTest::testGetRequestedComponentWithPathinfo | ( | ) |
Definition at line 115 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testGetRequestedComponentWithPathinfoAndMalformedComponentString | ( | ) |
Definition at line 131 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testGetRequestedComponentWithPathinfoDisabled | ( | ) |
Definition at line 147 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testGetRequestedOpWithPathinfo | ( | ) |
Definition at line 163 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testGetRequestedOpWithPathinfoAndMalformedOpString | ( | ) |
Definition at line 210 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testGetRequestedOpWithPathinfoDisabled | ( | ) |
Definition at line 179 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testGetRequestedOpWithPathinfoDisabledAndMissingComponent | ( | ) |
Definition at line 195 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testRoute | ( | ) |
Definition at line 229 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockDAOs(), PKPRouterTestCase\_setUpMockEnvironment(), and DAORegistry\getDAO().
PKPComponentRouterTest::testSupports | ( | ) |
Reimplemented from PKPRouterTestCase.
Definition at line 31 of file PKPComponentRouterTest.php.
PKPComponentRouterTest::testSupportsWithPathinfoSuccessful | ( | ) |
Definition at line 44 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testSupportsWithPathinfoUnsuccessfulComponentFileDoesNotExist | ( | ) |
Definition at line 97 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testSupportsWithPathinfoUnsuccessfulNoComponentNoMarker | ( | ) |
Definition at line 79 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testSupportsWithPathinfoUnsuccessfulNoComponentNotEnoughPathElements | ( | ) |
Definition at line 61 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testUrlWithoutPathinfo | ( | ) |
Definition at line 374 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockDAOs(), and PKPRouterTestCase\_setUpMockEnvironment().
PKPComponentRouterTest::testUrlWithoutPathinfoAndOverriddenBaseUrl | ( | ) |
Definition at line 441 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockDAOs(), PKPRouterTestCase\_setUpMockEnvironment(), and PKPTestCase\setTestConfiguration().
PKPComponentRouterTest::testUrlWithoutPathinfoAndSecondContextObjectIsNull | ( | ) |
Definition at line 471 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockDAOs(), PKPRouterTestCase\_setUpMockEnvironment(), and PKPTestCase\setTestConfiguration().
PKPComponentRouterTest::testUrlWithPathinfo | ( | ) |
Definition at line 263 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockDAOs(), PKPRouterTestCase\_setUpMockEnvironment(), and PKPTestCase\setTestConfiguration().
PKPComponentRouterTest::testUrlWithPathinfoAndOverriddenBaseUrl | ( | ) |
Definition at line 329 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockDAOs(), PKPRouterTestCase\_setUpMockEnvironment(), and PKPTestCase\setTestConfiguration().
PKPComponentRouterTest::testUrlWithPathinfoAndSecondContextObjectIsNull | ( | ) |
Definition at line 352 of file PKPComponentRouterTest.php.
References PKPRouterTestCase\_setUpMockDAOs(), and PKPRouterTestCase\_setUpMockEnvironment().