public class TestDestFileFilter
extends junit.framework.TestCase
Constructor and Description |
---|
TestDestFileFilter() |
Modifier and Type | Method and Description |
---|---|
File |
createFile(Artifact artifact) |
File |
createFile(Artifact artifact,
boolean useSubDirectoryPerArtifact,
boolean useSubDirectoryPerType,
boolean removeVersion) |
File |
createFile(Artifact artifact,
boolean useSubDirectoryPerArtifact,
boolean useSubDirectoryPerType,
boolean removeVersion,
boolean removeClassifier) |
protected void |
setUp() |
protected void |
tearDown() |
void |
testDestFileOverwriteIfNewer() |
void |
testDestFileRelease() |
void |
testDestFileSnapshot() |
void |
testDestFileStripClassifier() |
void |
testDestFileStripVersion() |
void |
testDestFileSubPerArtifact() |
void |
testDestFileSubPerType() |
void |
testGettersSetters() |
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 void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws IOException
tearDown
in class junit.framework.TestCase
IOException
public File createFile(Artifact artifact) throws IOException
IOException
public File createFile(Artifact artifact, boolean useSubDirectoryPerArtifact, boolean useSubDirectoryPerType, boolean removeVersion) throws IOException
IOException
public File createFile(Artifact artifact, boolean useSubDirectoryPerArtifact, boolean useSubDirectoryPerType, boolean removeVersion, boolean removeClassifier) throws IOException
IOException
public void testDestFileRelease() throws IOException, ArtifactFilterException
IOException
ArtifactFilterException
public void testDestFileSnapshot() throws IOException, ArtifactFilterException
IOException
ArtifactFilterException
public void testDestFileStripVersion() throws IOException, ArtifactFilterException
IOException
ArtifactFilterException
public void testDestFileStripClassifier() throws IOException, ArtifactFilterException
IOException
ArtifactFilterException
public void testDestFileSubPerArtifact() throws IOException, ArtifactFilterException
IOException
ArtifactFilterException
public void testDestFileSubPerType() throws MojoExecutionException, IOException, ArtifactFilterException
public void testDestFileOverwriteIfNewer() throws MojoExecutionException, IOException, ArtifactFilterException
public void testGettersSetters()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.