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, toStringassertEquals, 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, formatpublic void setUp()
setUp in class junit.framework.TestCasepublic void tearDown()
throws IOException
tearDown in class junit.framework.TestCaseIOExceptionpublic 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
AssemblyFormattingExceptionpublic void testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNotADirectory()
throws AssemblyFormattingException,
IOException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.