public class TestUnpackMarkerFileHandler
extends org.apache.maven.plugin.testing.AbstractMojoTestCase
| Modifier and Type | Field and Description |
|---|---|
protected DependencyArtifactStubFactory |
stubFactory |
protected File |
testDir |
| Constructor and Description |
|---|
TestUnpackMarkerFileHandler() |
| Modifier and Type | Method and Description |
|---|---|
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 functionality still exists
|
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObjectcustomizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, teardownContainerassertEquals, 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, toStringprotected File testDir
protected DependencyArtifactStubFactory stubFactory
protected void setUp()
throws Exception
setUp in class org.apache.maven.plugin.testing.AbstractMojoTestCaseExceptionprotected void tearDown()
throws IOException
tearDown in class org.codehaus.plexus.PlexusTestCaseIOExceptionpublic void testSetMarker()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - in case of an error.public void testMarkerFile()
throws org.apache.maven.plugin.MojoExecutionException,
IOException
org.apache.maven.plugin.MojoExecutionExceptionIOExceptionpublic void testMarkerTimeStamp()
throws org.apache.maven.plugin.MojoExecutionException,
IOException,
InterruptedException
org.apache.maven.plugin.MojoExecutionExceptionIOExceptionInterruptedExceptionpublic void testMarkerFileException()
public void testGetterSetter()
public void testNullParent()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void testIncludesMarker()
throws org.apache.maven.plugin.MojoExecutionException,
IOException
org.apache.maven.plugin.MojoExecutionExceptionIOExceptionpublic void testExcludesMarker()
throws org.apache.maven.plugin.MojoExecutionException,
IOException
org.apache.maven.plugin.MojoExecutionExceptionIOExceptionpublic void testIncludesExcludesMarker()
throws org.apache.maven.plugin.MojoExecutionException,
IOException
org.apache.maven.plugin.MojoExecutionExceptionIOExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.