Liferay 7.0-ga1 portal-test

com.liferay.portal.search.unit.test
Class BaseIndexingTestCase

java.lang.Object
  extended by com.liferay.portal.search.unit.test.BaseIndexingTestCase
Direct Known Subclasses:
BaseGroupByTestCase, BaseStatisticsTestCase

public abstract class BaseIndexingTestCase
extends Object


Nested Class Summary
static interface BaseIndexingTestCase.DocumentCreationHelper
           
 
Field Summary
protected static long COMPANY_ID
           
protected static long GROUP_ID
           
 
Constructor Summary
BaseIndexingTestCase()
           
 
Method Summary
protected  void addDocument(BaseIndexingTestCase.DocumentCreationHelper documentCreationHelper)
           
protected abstract  IndexingFixture createIndexingFixture()
           
protected static com.liferay.portal.kernel.search.SearchContext createSearchContext()
           
protected  com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
           
 void setUp()
           
 void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPANY_ID

protected static final long COMPANY_ID

GROUP_ID

protected static final long GROUP_ID
Constructor Detail

BaseIndexingTestCase

public BaseIndexingTestCase()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

createSearchContext

protected static com.liferay.portal.kernel.search.SearchContext createSearchContext()

addDocument

protected void addDocument(BaseIndexingTestCase.DocumentCreationHelper documentCreationHelper)
                    throws Exception
Throws:
Exception

createIndexingFixture

protected abstract IndexingFixture createIndexingFixture()
                                                  throws Exception
Throws:
Exception

search

protected com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
                                                throws Exception
Throws:
Exception

Liferay 7.0-ga1 portal-test