Package org.apache.maven.index.cli
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
customizeContainerConfiguration
(org.codehaus.plexus.ContainerConfiguration containerConfiguration) protected abstract int
protected void
setUp()
protected void
tearDown()
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
-
Field Details
-
out
-
-
Constructor Details
-
AbstractNexusIndexerCliTest
public AbstractNexusIndexerCliTest()
-
-
Method Details
-
customizeContainerConfiguration
protected void customizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration containerConfiguration) - Overrides:
customizeContainerConfiguration
in classorg.codehaus.plexus.PlexusTestCase
-
setUp
- Overrides:
setUp
in classorg.codehaus.plexus.PlexusTestCase
- Throws:
Exception
-
tearDown
- Overrides:
tearDown
in classorg.codehaus.plexus.PlexusTestCase
- Throws:
Exception
-
testNoArgs
public void testNoArgs() -
testRequiredArgs
- Throws:
Exception
-
testUnpack
- Throws:
Exception
-
testMissingArgs
- Throws:
IOException
-
testAbrvsRequiredArgs
- Throws:
Exception
-
testLoggingLevel
- Throws:
Exception
-
testInvalidRepo
- Throws:
Exception
-
execute
-