Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
FunctionalLucenePluginHighlightingTest Class Reference
Inheritance diagram for FunctionalLucenePluginHighlightingTest:
FunctionalLucenePluginBaseTestCase WebTestCase

Public Member Functions

 testHighlighting ()
 

Protected Member Functions

 getAffectedTables ()
 
- Protected Member Functions inherited from FunctionalLucenePluginBaseTestCase
 simpleSearch ($searchPhrase, $searchField= 'query', $articles=array(), $notArticles=array(), $locale= 'en_US', $journal= 'lucene-test')
 
 simpleSearchAcrossJournals ($searchTerm, $locale= 'en_US')
 
- Protected Member Functions inherited from WebTestCase
 getAffectedTables ()
 
 improveException ($e, $testObject)
 
 logIn ()
 
 setUp ()
 
 tearDown ()
 
 verified ()
 
 verifyAndOpen ($url)
 

Detailed Description

Integration/Functional test for the "highlighting" feature of the lucene plug-in.

See Also
LucenePlugin

FEATURE: highlighting

Definition at line 24 of file FunctionalLucenePluginHighlightingTest.php.

Member Function Documentation

FunctionalLucenePluginHighlightingTest::getAffectedTables ( )
protected
FunctionalLucenePluginHighlightingTest::testHighlighting ( )

BACKGROUND: GIVEN I enabled the highlighting feature

SCENARIO: highlighting WHEN I execute a simple search that returns at least one result THEN I'll see a short excerpt of each article's abstract or full text containing my search keywords AND my search keywords are visually emphasized.

Definition at line 51 of file FunctionalLucenePluginHighlightingTest.php.

References DAORegistry\getDAO(), and FunctionalLucenePluginBaseTestCase\simpleSearch().


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