Liferay 7.0-ce-b4

com.liferay.portal.search.unit.test.stats
Class BaseStatisticsTestCase

java.lang.Object
  extended by com.liferay.portal.search.unit.test.BaseIndexingTestCase
      extended by com.liferay.portal.search.unit.test.stats.BaseStatisticsTestCase

public abstract class BaseStatisticsTestCase
extends BaseIndexingTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class com.liferay.portal.search.unit.test.BaseIndexingTestCase
BaseIndexingTestCase.DocumentCreationHelper
 
Field Summary
protected static String STAT_FIELD
           
protected static String STAT_SORTABLE_FIELD
           
 
Fields inherited from class com.liferay.portal.search.unit.test.BaseIndexingTestCase
COMPANY_ID, GROUP_ID
 
Constructor Summary
BaseStatisticsTestCase()
           
 
Method Summary
protected  void addDocuments(int count)
           
protected  void assertStats()
           
protected  void testGetStats()
           
protected static String toString(StatsResults statsResults)
           
 
Methods inherited from class com.liferay.portal.search.unit.test.BaseIndexingTestCase
addDocument, createIndexingFixture, createSearchContext, search, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STAT_FIELD

protected static final String STAT_FIELD
See Also:
Constant Field Values

STAT_SORTABLE_FIELD

protected static final String STAT_SORTABLE_FIELD
See Also:
Constant Field Values
Constructor Detail

BaseStatisticsTestCase

public BaseStatisticsTestCase()
Method Detail

toString

protected static String toString(StatsResults statsResults)

addDocuments

protected void addDocuments(int count)
                     throws Exception
Throws:
Exception

assertStats

protected void assertStats()
                    throws Exception
Throws:
Exception

testGetStats

protected void testGetStats()
                     throws Exception
Throws:
Exception

Liferay 7.0-ce-b4