org.apache.maven.index
Class Nexus3177HitLimitChecks

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.Nexus3177HitLimitChecks
All Implemented Interfaces:
Test

public class Nexus3177HitLimitChecks
extends AbstractNexusIndexerTest


Field Summary
protected  File repo
           
protected  IndexingContext secondContext
           
protected  org.apache.lucene.store.Directory secondIndexDir
           
 
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
Nexus3177HitLimitChecks()
           
 
Method Summary
protected  void prepareNexusIndexer(NexusIndexer nexusIndexer)
           
 void testHitLimitEqualMultipleContexts()
           
 void testHitLimitEqualSingleContext()
           
 void testHitLimitNotReachedMultipleContexts()
           
 void testHitLimitNotReachedSingleContext()
           
protected  void unprepareNexusIndexer(NexusIndexer nexusIndexer)
           
 
Methods inherited from class org.apache.maven.index.AbstractNexusIndexerTest
assertGroup, setUp, tearDown
 
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

secondIndexDir

protected org.apache.lucene.store.Directory secondIndexDir

secondContext

protected IndexingContext secondContext
Constructor Detail

Nexus3177HitLimitChecks

public Nexus3177HitLimitChecks()
Method Detail

prepareNexusIndexer

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

unprepareNexusIndexer

protected void unprepareNexusIndexer(NexusIndexer nexusIndexer)
                              throws Exception
Overrides:
unprepareNexusIndexer in class AbstractNexusIndexerTest
Throws:
Exception

testHitLimitNotReachedSingleContext

public void testHitLimitNotReachedSingleContext()
                                         throws Exception
Throws:
Exception

testHitLimitEqualSingleContext

public void testHitLimitEqualSingleContext()
                                    throws Exception
Throws:
Exception

testHitLimitNotReachedMultipleContexts

public void testHitLimitNotReachedMultipleContexts()
                                            throws Exception
Throws:
Exception

testHitLimitEqualMultipleContexts

public void testHitLimitEqualMultipleContexts()
                                       throws Exception
Throws:
Exception


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