org.apache.maven.index
Class AbstractNexusIndexerTest

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
All Implemented Interfaces:
Test
Direct Known Subclasses:
AbstractRepoNexusIndexerTest, ArtifactLocatorTest, ConcurrentUseTest, DuplicateSearchTest, IndexTreeViewTest, Mindexer14HitLimitTest, Mindexer35NexusIndexerTest, Nexus1179NexusIndexerTest, Nexus13NexusIndexerTest, Nexus2046NexusIndexerTest, Nexus3177HitLimitChecks, Nexus3233NexusIndexerTest, Nexus3881NexusIndexerTest, NEXUS4149TransferFormatTest, Nexus4674GavPathReindexTest, Nexus645NexusIndexerTest, Nexus658NexusIndexerTest, Nexus687NexusIndexerTest, Nexus737NexusIndexerTest, SubPathReindexTest

public abstract class AbstractNexusIndexerTest
extends AbstractIndexCreatorHelper


Field Summary
protected  IndexingContext context
           
protected  org.apache.lucene.store.Directory indexDir
           
protected  NexusIndexer nexusIndexer
           
 
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
 
Constructor Summary
AbstractNexusIndexerTest()
           
 
Method Summary
protected  void assertGroup(int expected, String group, IndexingContext context)
           
protected abstract  void prepareNexusIndexer(NexusIndexer nexusIndexer)
           
protected  void setUp()
           
protected  void tearDown()
           
protected  void unprepareNexusIndexer(NexusIndexer nexusIndexer)
           
 
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

nexusIndexer

protected NexusIndexer nexusIndexer

indexDir

protected org.apache.lucene.store.Directory indexDir

context

protected IndexingContext context
Constructor Detail

AbstractNexusIndexerTest

public AbstractNexusIndexerTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractIndexCreatorHelper
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

prepareNexusIndexer

protected abstract void prepareNexusIndexer(NexusIndexer nexusIndexer)
                                     throws Exception
Throws:
Exception

unprepareNexusIndexer

protected void unprepareNexusIndexer(NexusIndexer nexusIndexer)
                              throws Exception
Throws:
Exception

assertGroup

protected void assertGroup(int expected,
                           String group,
                           IndexingContext context)
                    throws IOException
Throws:
IOException


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