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() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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, format
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 ArchiveCreationException, AssemblyFormattingException
public void testGetFileSetDirectory_ShouldReturnBasedir() throws ArchiveCreationException, AssemblyFormattingException
public void testGetFileSetDirectory_ShouldReturnDirFromBasedirAndSourceDir() throws ArchiveCreationException, AssemblyFormattingException
public void testGetFileSetDirectory_ShouldReturnDirFromArchiveBasedirAndSourceDir() throws ArchiveCreationException, AssemblyFormattingException
public void testAddFileSet_ShouldAddDirectory() throws ArchiveCreationException, AssemblyFormattingException
public void testAddFileSet_ShouldAddDirectoryUsingSourceDirNameForDestDir() throws ArchiveCreationException, AssemblyFormattingException
public void testAddFileSet_ShouldNotAddDirectoryWhenSourceDirNonExistent() throws ArchiveCreationException, AssemblyFormattingException
public void testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNonExistent() throws AssemblyFormattingException
AssemblyFormattingException
public void testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNotADirectory() throws AssemblyFormattingException, IOException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.