Class AbstractNexusIndexerCliTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.index.cli.AbstractNexusIndexerCliTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
NexusIndexerCliIT, NexusIndexerCliTest

public abstract class AbstractNexusIndexerCliTest extends org.codehaus.plexus.PlexusTestCase
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected OutputStream
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    customizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration containerConfiguration)
     
    protected abstract int
    execute(String... args)
     
    protected void
     
    protected void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     

    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, 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

    • AbstractNexusIndexerCliTest

      public AbstractNexusIndexerCliTest()
  • Method Details

    • customizeContainerConfiguration

      protected void customizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration containerConfiguration)
      Overrides:
      customizeContainerConfiguration in class org.codehaus.plexus.PlexusTestCase
    • setUp

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

      protected void tearDown() throws Exception
      Overrides:
      tearDown in class org.codehaus.plexus.PlexusTestCase
      Throws:
      Exception
    • testNoArgs

      public void testNoArgs()
    • testRequiredArgs

      public void testRequiredArgs() throws Exception
      Throws:
      Exception
    • testUnpack

      public void testUnpack() throws Exception
      Throws:
      Exception
    • testMissingArgs

      public void testMissingArgs() throws IOException
      Throws:
      IOException
    • testAbrvsRequiredArgs

      public void testAbrvsRequiredArgs() throws Exception
      Throws:
      Exception
    • testLoggingLevel

      public void testLoggingLevel() throws Exception
      Throws:
      Exception
    • testInvalidRepo

      public void testInvalidRepo() throws Exception
      Throws:
      Exception
    • execute

      protected abstract int execute(String... args)