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, setVariableValueToObject
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, teardownContainer
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
protected File testDir
protected DependencyArtifactStubFactory stubFactory
protected void setUp() throws Exception
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Exception
protected void tearDown() throws IOException
tearDown
in class org.codehaus.plexus.PlexusTestCase
IOException
public 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.MojoExecutionException
IOException
public void testMarkerTimeStamp() throws org.apache.maven.plugin.MojoExecutionException, IOException, InterruptedException
org.apache.maven.plugin.MojoExecutionException
IOException
InterruptedException
public void testMarkerFileException()
public void testGetterSetter()
public void testNullParent() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void testIncludesMarker() throws org.apache.maven.plugin.MojoExecutionException, IOException
org.apache.maven.plugin.MojoExecutionException
IOException
public void testExcludesMarker() throws org.apache.maven.plugin.MojoExecutionException, IOException
org.apache.maven.plugin.MojoExecutionException
IOException
public void testIncludesExcludesMarker() throws org.apache.maven.plugin.MojoExecutionException, IOException
org.apache.maven.plugin.MojoExecutionException
IOException
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.