org.apache.maven.index.cli
Class AbstractNexusIndexerCliTest

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.cli.AbstractNexusIndexerCliTest
All Implemented Interfaces:
Test
Direct Known Subclasses:
NexusIndexerCliIT, NexusIndexerCliTest

public abstract class AbstractNexusIndexerCliTest
extends org.codehaus.plexus.PlexusTestCase


Field Summary
protected  OutputStream out
           
 
Constructor Summary
AbstractNexusIndexerCliTest()
           
 
Method Summary
protected abstract  int execute(String... args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAbrvsRequiredArgs()
           
 void testInvalidRepo()
           
 void testLoggingLevel()
           
 void testMissingArgs()
           
 void testNoArgs()
           
 void testRequiredArgs()
           
 void testUnpack()
           
 
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
 
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

out

protected OutputStream out
Constructor Detail

AbstractNexusIndexerCliTest

public AbstractNexusIndexerCliTest()
Method Detail

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)


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