org.apache.maven.index
Class Mindexer14HitLimitTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.index.AbstractIndexCreatorHelper
                  extended by org.apache.maven.index.AbstractNexusIndexerTest
                      extended by org.apache.maven.index.Mindexer14HitLimitTest
All Implemented Interfaces:
Test

public class Mindexer14HitLimitTest
extends AbstractNexusIndexerTest


Field Summary
protected  File repo
           
 
Fields inherited from class org.apache.maven.index.AbstractNexusIndexerTest
context, indexDir, nexusIndexer
 
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
 
Constructor Summary
Mindexer14HitLimitTest()
           
 
Method Summary
protected  void createDummyAis(String gid, String aid, int count)
           
protected  void prepareNexusIndexer(NexusIndexer nexusIndexer)
           
 void testFlatSearchLimited()
           
 void testFlatSearchTotalHitsLie1k()
           
 void testFlatSearchUnlimited()
           
 void testGroupedSearchTotalHitsLie1k()
           
 void testIteratorSearchTotalHitsLie1k()
           
 
Methods inherited from class org.apache.maven.index.AbstractNexusIndexerTest
assertGroup, setUp, tearDown, unprepareNexusIndexer
 
Methods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, testDirectory
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

repo

protected File repo
Constructor Detail

Mindexer14HitLimitTest

public Mindexer14HitLimitTest()
Method Detail

prepareNexusIndexer

protected void prepareNexusIndexer(NexusIndexer nexusIndexer)
                            throws Exception
Specified by:
prepareNexusIndexer in class AbstractNexusIndexerTest
Throws:
Exception

createDummyAis

protected void createDummyAis(String gid,
                              String aid,
                              int count)
                       throws IOException
Throws:
IOException

testFlatSearchTotalHitsLie1k

public void testFlatSearchTotalHitsLie1k()
                                  throws Exception
Throws:
Exception

testFlatSearchUnlimited

public void testFlatSearchUnlimited()
                             throws Exception
Throws:
Exception

testFlatSearchLimited

public void testFlatSearchLimited()
                           throws Exception
Throws:
Exception

testGroupedSearchTotalHitsLie1k

public void testGroupedSearchTotalHitsLie1k()
                                     throws Exception
Throws:
Exception

testIteratorSearchTotalHitsLie1k

public void testIteratorSearchTotalHitsLie1k()
                                      throws Exception
Throws:
Exception


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.