org.apache.maven.index.updater
Class LocalIndexCacheTest

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

public class LocalIndexCacheTest
extends AbstractIndexUpdaterTest


Field Summary
 
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
 
Constructor Summary
LocalIndexCacheTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testBasic()
           
 void testCleanCacheDirectory()
           
 void testFailedIndexDownload()
           
 void testForceIndexDownload()
           
 void testInitialForcedFullDownload()
           
 void testOffline()
           
 
Methods inherited from class org.apache.maven.index.updater.AbstractIndexUpdaterTest
createArtifactContext, createPath, packIndex, searchFor
 
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

LocalIndexCacheTest

public LocalIndexCacheTest()
Method Detail

setUp

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

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class AbstractIndexUpdaterTest
Throws:
Exception

testBasic

public void testBasic()
               throws Exception
Throws:
Exception

testForceIndexDownload

public void testForceIndexDownload()
                            throws Exception
Throws:
Exception

testInitialForcedFullDownload

public void testInitialForcedFullDownload()
                                   throws Exception
Throws:
Exception

testFailedIndexDownload

public void testFailedIndexDownload()
                             throws Exception
Throws:
Exception

testCleanCacheDirectory

public void testCleanCacheDirectory()
                             throws Exception
Throws:
Exception

testOffline

public void testOffline()
                 throws Exception
Throws:
Exception


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