org.apache.maven.plugin.assembly.archive.task
Class AddFileSetsTaskTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.plugin.assembly.archive.task.AddFileSetsTaskTest
- All Implemented Interfaces:
- junit.framework.Test
public class AddFileSetsTaskTest
- extends junit.framework.TestCase
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
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 |
AddFileSetsTaskTest
public AddFileSetsTaskTest()
setUp
public void setUp()
- Overrides:
setUp
in class junit.framework.TestCase
tearDown
public void tearDown()
throws IOException
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
IOException
testGetFileSetDirectory_ShouldReturnAbsoluteSourceDir
public void testGetFileSetDirectory_ShouldReturnAbsoluteSourceDir()
throws org.apache.maven.plugin.assembly.archive.ArchiveCreationException,
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
- Throws:
org.apache.maven.plugin.assembly.archive.ArchiveCreationException
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
testGetFileSetDirectory_ShouldReturnBasedir
public void testGetFileSetDirectory_ShouldReturnBasedir()
throws org.apache.maven.plugin.assembly.archive.ArchiveCreationException,
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
- Throws:
org.apache.maven.plugin.assembly.archive.ArchiveCreationException
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
testGetFileSetDirectory_ShouldReturnDirFromBasedirAndSourceDir
public void testGetFileSetDirectory_ShouldReturnDirFromBasedirAndSourceDir()
throws org.apache.maven.plugin.assembly.archive.ArchiveCreationException,
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
- Throws:
org.apache.maven.plugin.assembly.archive.ArchiveCreationException
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
testGetFileSetDirectory_ShouldReturnDirFromArchiveBasedirAndSourceDir
public void testGetFileSetDirectory_ShouldReturnDirFromArchiveBasedirAndSourceDir()
throws org.apache.maven.plugin.assembly.archive.ArchiveCreationException,
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
- Throws:
org.apache.maven.plugin.assembly.archive.ArchiveCreationException
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
testAddFileSet_ShouldAddDirectory
public void testAddFileSet_ShouldAddDirectory()
throws org.apache.maven.plugin.assembly.archive.ArchiveCreationException,
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
- Throws:
org.apache.maven.plugin.assembly.archive.ArchiveCreationException
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
testAddFileSet_ShouldAddDirectoryUsingSourceDirNameForDestDir
public void testAddFileSet_ShouldAddDirectoryUsingSourceDirNameForDestDir()
throws org.apache.maven.plugin.assembly.archive.ArchiveCreationException,
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
- Throws:
org.apache.maven.plugin.assembly.archive.ArchiveCreationException
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
testAddFileSet_ShouldNotAddDirectoryWhenSourceDirNonExistent
public void testAddFileSet_ShouldNotAddDirectoryWhenSourceDirNonExistent()
throws org.apache.maven.plugin.assembly.archive.ArchiveCreationException,
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
- Throws:
org.apache.maven.plugin.assembly.archive.ArchiveCreationException
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNonExistent
public void testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNonExistent()
throws org.apache.maven.plugin.assembly.format.AssemblyFormattingException
- Throws:
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNotADirectory
public void testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNotADirectory()
throws org.apache.maven.plugin.assembly.format.AssemblyFormattingException,
IOException
- Throws:
org.apache.maven.plugin.assembly.format.AssemblyFormattingException
IOException
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.