|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| callbackDeleteTextIndex ($hook, $params) | |
| callbackIndexArticleMetadata ($hook, $params) | |
| callbackIndexSubmissionFiles ($hook, $params) | |
| callbackRebuildIndex ($hook, $params) | |
| callbackUpdateFileIndex ($hook, $params) | |
| testDeleteTextIndex () | |
| testDeleteTextIndexViaPluginHook () | |
| testIndexArticleMetadata () | |
| testIndexArticleMetadataViaPluginHook () | |
| testIndexSubmissionFiles () | |
| testIndexSubmissionFilesViaPluginHook () | |
| testRebuildIndex () | |
| testRebuildIndexViaPluginHook () | |
| testUpdateFileIndexViaPluginHook () | |
Public Member Functions inherited from PKPTestCase | |
| getActualOutput () | |
Protected Member Functions | |
| getMockedDAOs () | |
| setUp () | |
| tearDown () | |
Protected Member Functions inherited from PKPTestCase | |
| getMockedRegistryKeys () | |
| mockRequest ($path='index/test-page/test-op', $userId=null) | |
| setTestConfiguration ($config, $configPath='config') | |
Additional Inherited Members | |
Data Fields inherited from PKPTestCase | |
| $mockedRegistryKeys = array() | |
| $registryBackup = array() | |
Test class for the ArticleSearchIndex class.
Definition at line 23 of file ArticleSearchIndexTest.php.
| ArticleSearchIndexTest::callbackDeleteTextIndex | ( | $hook, | |
| $params | |||
| ) |
Simulate a search plug-ins "delete text index" hook.
Definition at line 266 of file ArticleSearchIndexTest.php.
| ArticleSearchIndexTest::callbackIndexArticleMetadata | ( | $hook, | |
| $params | |||
| ) |
Simulate a search plug-ins "index article metadata" hook.
Definition at line 299 of file ArticleSearchIndexTest.php.
| ArticleSearchIndexTest::callbackIndexSubmissionFiles | ( | $hook, | |
| $params | |||
| ) |
Simulate a search plug-ins "index article files" hook.
Definition at line 315 of file ArticleSearchIndexTest.php.
| ArticleSearchIndexTest::callbackRebuildIndex | ( | $hook, | |
| $params | |||
| ) |
Simulate a search plug-ins "rebuild index" hook.
Definition at line 283 of file ArticleSearchIndexTest.php.
| ArticleSearchIndexTest::callbackUpdateFileIndex | ( | $hook, | |
| $params | |||
| ) |
Simulate a search plug-ins "update file index" hook.
Definition at line 248 of file ArticleSearchIndexTest.php.
|
protected |
Reimplemented from PKPTestCase.
Definition at line 31 of file ArticleSearchIndexTest.php.
|
protected |
Reimplemented from PKPTestCase.
Definition at line 43 of file ArticleSearchIndexTest.php.
References HookRegistry\rememberCalledHooks().
|
protected |
Reimplemented from PKPTestCase.
Definition at line 51 of file ArticleSearchIndexTest.php.
References HookRegistry\resetCalledHooks().
| ArticleSearchIndexTest::testDeleteTextIndex | ( | ) |
Definition at line 83 of file ArticleSearchIndexTest.php.
References HookRegistry\clear(), and Application\getSubmissionSearchIndex().
| ArticleSearchIndexTest::testDeleteTextIndexViaPluginHook | ( | ) |
Definition at line 98 of file ArticleSearchIndexTest.php.
References HookRegistry\clear(), HookRegistry\getCalledHooks(), Application\getSubmissionSearchIndex(), and HookRegistry\register().
| ArticleSearchIndexTest::testIndexArticleMetadata | ( | ) |
Definition at line 159 of file ArticleSearchIndexTest.php.
References HookRegistry\clear().
| ArticleSearchIndexTest::testIndexArticleMetadataViaPluginHook | ( | ) |
Definition at line 182 of file ArticleSearchIndexTest.php.
References HookRegistry\clear(), HookRegistry\getCalledHooks(), and HookRegistry\register().
| ArticleSearchIndexTest::testIndexSubmissionFiles | ( | ) |
Definition at line 202 of file ArticleSearchIndexTest.php.
References HookRegistry\clear(), and Application\getSubmissionSearchIndex().
| ArticleSearchIndexTest::testIndexSubmissionFilesViaPluginHook | ( | ) |
Definition at line 218 of file ArticleSearchIndexTest.php.
References HookRegistry\clear(), HookRegistry\getCalledHooks(), Application\getSubmissionSearchIndex(), and HookRegistry\register().
| ArticleSearchIndexTest::testRebuildIndex | ( | ) |
Definition at line 121 of file ArticleSearchIndexTest.php.
References HookRegistry\clear(), and Application\getSubmissionSearchIndex().
| ArticleSearchIndexTest::testRebuildIndexViaPluginHook | ( | ) |
Definition at line 140 of file ArticleSearchIndexTest.php.
References HookRegistry\clear(), Application\getSubmissionSearchIndex(), and HookRegistry\register().
| ArticleSearchIndexTest::testUpdateFileIndexViaPluginHook | ( | ) |
Definition at line 63 of file ArticleSearchIndexTest.php.
References HookRegistry\clear(), HookRegistry\getCalledHooks(), Application\getSubmissionSearchIndex(), and HookRegistry\register().