org.apache.maven.index.updater
Class DefaultIndexUpdaterTest

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.updater.AbstractIndexUpdaterTest
                      extended by org.apache.maven.index.updater.DefaultIndexUpdaterTest
All Implemented Interfaces:
Test

public class DefaultIndexUpdaterTest
extends AbstractIndexUpdaterTest

Author:
Eugene Kuleshov

Field Summary
 
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
 
Constructor Summary
DefaultIndexUpdaterTest()
           
 
Method Summary
protected  InputStream newInputStream(String path)
           
 void testFullIndexUpdate()
           
 void testIncrementalIndexUpdate()
           
 void testIncrementalIndexUpdateNoCounter()
           
 void testIncrementalIndexUpdateNoUpdateNecessary()
           
 void testMergeGroups()
           
 void testMergeIndex()
           
 void testMergeIndexDeletes()
           
 void testMergeSearch()
           
 void testNoIndexUpdate()
           
 void testReplaceIndex()
           
 void testUpdateForceFullUpdate()
           
 void testUpdateForceFullUpdateNoGZ()
           
 
Methods inherited from class org.apache.maven.index.updater.AbstractIndexUpdaterTest
createArtifactContext, createPath, packIndex, searchFor, 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
 

Constructor Detail

DefaultIndexUpdaterTest

public DefaultIndexUpdaterTest()
Method Detail

testReplaceIndex

public void testReplaceIndex()
                      throws Exception
Throws:
Exception

testMergeIndex

public void testMergeIndex()
                    throws Exception
Throws:
Exception

testMergeIndexDeletes

public void testMergeIndexDeletes()
                           throws Exception
Throws:
Exception

testMergeSearch

public void testMergeSearch()
                     throws Exception
Throws:
Exception

testMergeGroups

public void testMergeGroups()
                     throws Exception
Throws:
Exception

testNoIndexUpdate

public void testNoIndexUpdate()
                       throws Exception
Throws:
Exception

testFullIndexUpdate

public void testFullIndexUpdate()
                         throws Exception
Throws:
Exception

testIncrementalIndexUpdate

public void testIncrementalIndexUpdate()
                                throws Exception
Throws:
Exception

testIncrementalIndexUpdateNoCounter

public void testIncrementalIndexUpdateNoCounter()
                                         throws Exception
Throws:
Exception

testIncrementalIndexUpdateNoUpdateNecessary

public void testIncrementalIndexUpdateNoUpdateNecessary()
                                                 throws Exception
Throws:
Exception

testUpdateForceFullUpdate

public void testUpdateForceFullUpdate()
                               throws Exception
Throws:
Exception

testUpdateForceFullUpdateNoGZ

public void testUpdateForceFullUpdateNoGZ()
                                   throws Exception
Throws:
Exception

newInputStream

protected InputStream newInputStream(String path)


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