Class SearchWithAnEmptyIndexTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.index.AbstractTestSupport
org.apache.maven.index.SearchWithAnEmptyIndexTest
All Implemented Interfaces:
junit.framework.Test

public class SearchWithAnEmptyIndexTest extends AbstractTestSupport
Author:
Olivier Lamy
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected List<IndexCreator>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    both repos contains commons-cli so ensure we don't return duplicates
    void
     

    Methods inherited from class org.apache.maven.index.AbstractTestSupport

    customizeContainerConfiguration

    Methods inherited from class org.codehaus.plexus.PlexusTestCase

    customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown, teardownContainer

    Methods inherited from class junit.framework.TestCase

    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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • SearchWithAnEmptyIndexTest

      public SearchWithAnEmptyIndexTest()
  • Method Details

    • 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