org.apache.maven.index
Class FSDirectoryDeleteTest

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

public class FSDirectoryDeleteTest
extends AbstractIndexCreatorHelper


Field Summary
protected  IndexingContext context
           
protected  org.apache.lucene.store.Directory indexDir
           
protected  File indexDirFile
           
protected  NexusIndexer nexusIndexer
           
protected  IndexingContext otherContext
           
protected  org.apache.lucene.store.Directory otherIndexDir
           
protected  File otherIndexDirFile
           
protected  File repo
           
 
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
 
Constructor Summary
FSDirectoryDeleteTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testIndexAndDelete()
           
 
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

repo

protected File repo

context

protected IndexingContext context

indexDirFile

protected File indexDirFile

indexDir

protected org.apache.lucene.store.Directory indexDir

otherContext

protected IndexingContext otherContext

otherIndexDirFile

protected File otherIndexDirFile

otherIndexDir

protected org.apache.lucene.store.Directory otherIndexDir
Constructor Detail

FSDirectoryDeleteTest

public FSDirectoryDeleteTest()
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

testIndexAndDelete

public void testIndexAndDelete()
                        throws Exception
Throws:
Exception


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