Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
ArticleSearchIndexTest Class Reference
Inheritance diagram for ArticleSearchIndexTest:
PKPTestCase

Public Member Functions

 callbackDeleteTextIndex ($hook, $params)
 
 callbackIndexArticleFiles ($hook, $params)
 
 callbackIndexArticleMetadata ($hook, $params)
 
 callbackIndexSuppFileMetadata ($hook, $params)
 
 callbackRebuildIndex ($hook, $params)
 
 callbackUpdateFileIndex ($hook, $params)
 
 testDeleteTextIndex ()
 
 testDeleteTextIndexViaPluginHook ()
 
 testIndexArticleFiles ()
 
 testIndexArticleFilesViaPluginHook ()
 
 testIndexArticleMetadata ()
 
 testIndexArticleMetadataViaPluginHook ()
 
 testIndexSuppFileMetadata ()
 
 testIndexSuppFileMetadataViaPluginHook ()
 
 testRebuildIndex ()
 
 testRebuildIndexViaPluginHook ()
 
 testUpdateFileIndexViaPluginHook ()
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Protected Member Functions

 getMockedDAOs ()
 
 tearDown ()
 
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 setTestConfiguration ($config, $configPath= 'config')
 
 setUp ()
 
 tearDown ()
 

Detailed Description

Test class for the ArticleSearchIndex class.

See Also
ArticleSearchIndex

Definition at line 24 of file ArticleSearchIndexTest.php.

Member Function Documentation

ArticleSearchIndexTest::callbackDeleteTextIndex (   $hook,
  $params 
)

Simulate a search plug-ins "delete text index" hook.

See Also
ArticleSearchIndex::articleFileDeleted()

Definition at line 286 of file ArticleSearchIndexTest.php.

ArticleSearchIndexTest::callbackIndexArticleFiles (   $hook,
  $params 
)

Simulate a search plug-ins "index article files" hook.

See Also
ArticleSearchIndex::articleFilesChanged()

Definition at line 351 of file ArticleSearchIndexTest.php.

ArticleSearchIndexTest::callbackIndexArticleMetadata (   $hook,
  $params 
)

Simulate a search plug-ins "index article metadata" hook.

See Also
ArticleSearchIndex::articleMetadataChanged()

Definition at line 319 of file ArticleSearchIndexTest.php.

ArticleSearchIndexTest::callbackIndexSuppFileMetadata (   $hook,
  $params 
)

Simulate a search plug-ins "index supp file metadata" hook.

See Also
ArticleSearchIndex::suppFileMetadataChanged()

Definition at line 335 of file ArticleSearchIndexTest.php.

ArticleSearchIndexTest::callbackRebuildIndex (   $hook,
  $params 
)

Simulate a search plug-ins "rebuild index" hook.

See Also
ArticleSearchIndex::rebuildIndex()

Definition at line 303 of file ArticleSearchIndexTest.php.

ArticleSearchIndexTest::callbackUpdateFileIndex (   $hook,
  $params 
)

Simulate a search plug-ins "update file index" hook.

See Also
ArticleSearchIndex::articleFileChanged()

Definition at line 268 of file ArticleSearchIndexTest.php.

ArticleSearchIndexTest::getMockedDAOs ( )
protected
See Also
PKPTestCase::getMockedDAOs()

Definition at line 32 of file ArticleSearchIndexTest.php.

ArticleSearchIndexTest::tearDown ( )
protected
ArticleSearchIndexTest::testDeleteTextIndex ( )

ArticleSearchIndex

Definition at line 76 of file ArticleSearchIndexTest.php.

References HookRegistry\clear().

ArticleSearchIndexTest::testDeleteTextIndexViaPluginHook ( )
ArticleSearchIndexTest::testIndexArticleFiles ( )

ArticleSearchIndex

Definition at line 224 of file ArticleSearchIndexTest.php.

References HookRegistry\clear().

ArticleSearchIndexTest::testIndexArticleFilesViaPluginHook ( )
ArticleSearchIndexTest::testIndexArticleMetadata ( )

ArticleSearchIndex

Definition at line 152 of file ArticleSearchIndexTest.php.

References HookRegistry\clear().

ArticleSearchIndexTest::testIndexArticleMetadataViaPluginHook ( )
ArticleSearchIndexTest::testIndexSuppFileMetadata ( )

ArticleSearchIndex

Definition at line 191 of file ArticleSearchIndexTest.php.

References HookRegistry\clear().

ArticleSearchIndexTest::testIndexSuppFileMetadataViaPluginHook ( )
ArticleSearchIndexTest::testRebuildIndex ( )

ArticleSearchIndex

Definition at line 114 of file ArticleSearchIndexTest.php.

References HookRegistry\clear().

ArticleSearchIndexTest::testRebuildIndexViaPluginHook ( )
ArticleSearchIndexTest::testUpdateFileIndexViaPluginHook ( )

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