org.apache.maven.index
Class SearchWithAnEmptyIndexTest

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

public class SearchWithAnEmptyIndexTest
extends org.codehaus.plexus.PlexusTestCase

Author:
Olivier Lamy

Field Summary
protected  List<IndexCreator> indexCreators
           
 
Constructor Summary
SearchWithAnEmptyIndexTest()
           
 
Method Summary
 void setUp()
           
 void testSearchNoDuplicateArtifactInfo()
          both repos contains commons-cli so ensure we don't return duplicates
 void testWithTwoContextWithOneEmptyFirstInContextsListSearchFlat()
           
 
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, tearDown
 
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

indexCreators

protected List<IndexCreator> indexCreators
Constructor Detail

SearchWithAnEmptyIndexTest

public SearchWithAnEmptyIndexTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

testWithTwoContextWithOneEmptyFirstInContextsListSearchFlat

public void testWithTwoContextWithOneEmptyFirstInContextsListSearchFlat()
                                                                 throws Exception
Throws:
Exception

testSearchNoDuplicateArtifactInfo

public void testSearchNoDuplicateArtifactInfo()
                                       throws Exception
both repos contains commons-cli so ensure we don't return duplicates

Throws:
Exception


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