org.apache.maven.plugin.dependency.utils.markers
Class TestUnpackMarkerFileHandler

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.apache.maven.plugin.dependency.utils.markers.TestUnpackMarkerFileHandler
All Implemented Interfaces:
junit.framework.Test

public class TestUnpackMarkerFileHandler
extends org.apache.maven.plugin.testing.AbstractMojoTestCase


Field Summary
protected  DependencyArtifactStubFactory stubFactory
           
protected  File testDir
           
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
TestUnpackMarkerFileHandler()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testExcludesMarker()
           
 void testGetterSetter()
           
 void testIncludesExcludesMarker()
           
 void testIncludesMarker()
           
 void testMarkerFile()
           
 void testMarkerFileException()
           
 void testMarkerTimeStamp()
           
 void testNullParent()
           
 void testSetMarker()
          Assert that default functionallity still exists
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

testDir

protected File testDir

stubFactory

protected DependencyArtifactStubFactory stubFactory
Constructor Detail

TestUnpackMarkerFileHandler

public TestUnpackMarkerFileHandler()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws IOException
Overrides:
tearDown in class PlexusTestCase
Throws:
IOException

testSetMarker

public void testSetMarker()
                   throws org.apache.maven.plugin.MojoExecutionException
Assert that default functionallity still exists

Throws:
org.apache.maven.plugin.MojoExecutionException

testMarkerFile

public void testMarkerFile()
                    throws org.apache.maven.plugin.MojoExecutionException,
                           IOException
Throws:
org.apache.maven.plugin.MojoExecutionException
IOException

testMarkerTimeStamp

public void testMarkerTimeStamp()
                         throws org.apache.maven.plugin.MojoExecutionException,
                                IOException,
                                InterruptedException
Throws:
org.apache.maven.plugin.MojoExecutionException
IOException
InterruptedException

testMarkerFileException

public void testMarkerFileException()

testGetterSetter

public void testGetterSetter()

testNullParent

public void testNullParent()
                    throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

testIncludesMarker

public void testIncludesMarker()
                        throws org.apache.maven.plugin.MojoExecutionException,
                               IOException
Throws:
org.apache.maven.plugin.MojoExecutionException
IOException

testExcludesMarker

public void testExcludesMarker()
                        throws org.apache.maven.plugin.MojoExecutionException,
                               IOException
Throws:
org.apache.maven.plugin.MojoExecutionException
IOException

testIncludesExcludesMarker

public void testIncludesExcludesMarker()
                                throws org.apache.maven.plugin.MojoExecutionException,
                                       IOException
Throws:
org.apache.maven.plugin.MojoExecutionException
IOException


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