org.apache.maven.index.updater
Class DefaultIndexUpdaterEmbeddingIT

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.index.updater.DefaultIndexUpdaterEmbeddingIT
All Implemented Interfaces:
Test

public class DefaultIndexUpdaterEmbeddingIT
extends TestCase


Constructor Summary
DefaultIndexUpdaterEmbeddingIT()
           
 
Method Summary
 void OFFtestHighLatencyIndexRetrieval_LowConnectionTimeout()
           
 void OFFtestHighLatencyIndexRetrieval_LowTransactionTimeout()
           
 void setUp()
           
 void tearDown()
           
 void testAuthenticatedIndexRetrieval_LongAuthorizationHeader()
           
 void testBasicAuthenticatedIndexRetrieval()
           
 void testBasicHighLatencyIndexRetrieval()
           
 void testBasicIndexRetrieval()
           
 void testIndexRetrieval_BadHostname()
           
 void testIndexRetrieval_InfiniteRedirection()
           
 
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

DefaultIndexUpdaterEmbeddingIT

public DefaultIndexUpdaterEmbeddingIT()
Method Detail

testBasicIndexRetrieval

public void testBasicIndexRetrieval()
                             throws IOException,
                                    UnsupportedExistingLuceneIndexException,
                                    org.codehaus.plexus.component.repository.exception.ComponentLookupException
Throws:
IOException
UnsupportedExistingLuceneIndexException
org.codehaus.plexus.component.repository.exception.ComponentLookupException

testBasicAuthenticatedIndexRetrieval

public void testBasicAuthenticatedIndexRetrieval()
                                          throws IOException,
                                                 UnsupportedExistingLuceneIndexException,
                                                 org.codehaus.plexus.component.repository.exception.ComponentLookupException
Throws:
IOException
UnsupportedExistingLuceneIndexException
org.codehaus.plexus.component.repository.exception.ComponentLookupException

testAuthenticatedIndexRetrieval_LongAuthorizationHeader

public void testAuthenticatedIndexRetrieval_LongAuthorizationHeader()
                                                             throws IOException,
                                                                    UnsupportedExistingLuceneIndexException,
                                                                    org.codehaus.plexus.component.repository.exception.ComponentLookupException
Throws:
IOException
UnsupportedExistingLuceneIndexException
org.codehaus.plexus.component.repository.exception.ComponentLookupException

testBasicHighLatencyIndexRetrieval

public void testBasicHighLatencyIndexRetrieval()
                                        throws IOException,
                                               UnsupportedExistingLuceneIndexException,
                                               org.codehaus.plexus.component.repository.exception.ComponentLookupException
Throws:
IOException
UnsupportedExistingLuceneIndexException
org.codehaus.plexus.component.repository.exception.ComponentLookupException

OFFtestHighLatencyIndexRetrieval_LowConnectionTimeout

public void OFFtestHighLatencyIndexRetrieval_LowConnectionTimeout()
                                                           throws IOException,
                                                                  UnsupportedExistingLuceneIndexException,
                                                                  org.codehaus.plexus.component.repository.exception.ComponentLookupException
Throws:
IOException
UnsupportedExistingLuceneIndexException
org.codehaus.plexus.component.repository.exception.ComponentLookupException

OFFtestHighLatencyIndexRetrieval_LowTransactionTimeout

public void OFFtestHighLatencyIndexRetrieval_LowTransactionTimeout()
                                                            throws IOException,
                                                                   UnsupportedExistingLuceneIndexException,
                                                                   org.codehaus.plexus.component.repository.exception.ComponentLookupException
Throws:
IOException
UnsupportedExistingLuceneIndexException
org.codehaus.plexus.component.repository.exception.ComponentLookupException

testIndexRetrieval_InfiniteRedirection

public void testIndexRetrieval_InfiniteRedirection()
                                            throws IOException,
                                                   UnsupportedExistingLuceneIndexException,
                                                   org.codehaus.plexus.component.repository.exception.ComponentLookupException
Throws:
IOException
UnsupportedExistingLuceneIndexException
org.codehaus.plexus.component.repository.exception.ComponentLookupException

testIndexRetrieval_BadHostname

public void testIndexRetrieval_BadHostname()
                                    throws IOException,
                                           UnsupportedExistingLuceneIndexException,
                                           org.codehaus.plexus.component.repository.exception.ComponentLookupException
Throws:
IOException
UnsupportedExistingLuceneIndexException
org.codehaus.plexus.component.repository.exception.ComponentLookupException

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class TestCase
Throws:
Exception


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