public class AddFileSetsTaskTest
extends junit.framework.TestCase
Constructor and Description |
---|
AddFileSetsTaskTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testAddFileSet_ShouldAddDirectory() |
void |
testAddFileSet_ShouldAddDirectoryUsingSourceDirNameForDestDir() |
void |
testAddFileSet_ShouldNotAddDirectoryWhenSourceDirNonExistent() |
void |
testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNonExistent() |
void |
testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNotADirectory() |
void |
testGetFileSetDirectory_ShouldReturnAbsoluteSourceDir() |
void |
testGetFileSetDirectory_ShouldReturnBasedir() |
void |
testGetFileSetDirectory_ShouldReturnDirFromArchiveBasedirAndSourceDir() |
void |
testGetFileSetDirectory_ShouldReturnDirFromBasedirAndSourceDir() |
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
public void setUp()
setUp
in class junit.framework.TestCase
public void tearDown() throws IOException
tearDown
in class junit.framework.TestCase
IOException
public void testGetFileSetDirectory_ShouldReturnAbsoluteSourceDir() throws org.apache.maven.plugins.assembly.archive.ArchiveCreationException, org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testGetFileSetDirectory_ShouldReturnBasedir() throws org.apache.maven.plugins.assembly.archive.ArchiveCreationException, org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testGetFileSetDirectory_ShouldReturnDirFromBasedirAndSourceDir() throws org.apache.maven.plugins.assembly.archive.ArchiveCreationException, org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testGetFileSetDirectory_ShouldReturnDirFromArchiveBasedirAndSourceDir() throws org.apache.maven.plugins.assembly.archive.ArchiveCreationException, org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testAddFileSet_ShouldAddDirectory() throws org.apache.maven.plugins.assembly.archive.ArchiveCreationException, org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testAddFileSet_ShouldAddDirectoryUsingSourceDirNameForDestDir() throws org.apache.maven.plugins.assembly.archive.ArchiveCreationException, org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testAddFileSet_ShouldNotAddDirectoryWhenSourceDirNonExistent() throws org.apache.maven.plugins.assembly.archive.ArchiveCreationException, org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNonExistent() throws org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNotADirectory() throws org.apache.maven.plugins.assembly.format.AssemblyFormattingException, IOException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.