public class ModuleSetAssemblyPhaseTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
ModuleSetAssemblyPhaseTest() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 tearDown()
throws IOException
tearDown in class junit.framework.TestCaseIOExceptionpublic void testIsDeprecatedModuleSourcesConfigPresent_ShouldCatchOutputDir()
public void testIsDeprecatedModuleSourcesConfigPresent_ShouldCatchInclude()
public void testIsDeprecatedModuleSourcesConfigPresent_ShouldCatchExclude()
public void testIsDeprecatedModuleSourcesConfigPresent_ShouldNotCatchFileMode()
public void testIsDeprecatedModuleSourcesConfigPresent_ShouldNotCatchDirMode()
public void testCreateFileSet_ShouldUseModuleDirOnlyWhenOutDirIsNull()
throws AssemblyFormattingException
AssemblyFormattingExceptionpublic void testCreateFileSet_ShouldPrependModuleDirWhenOutDirIsProvided()
throws AssemblyFormattingException
AssemblyFormattingExceptionpublic void testCreateFileSet_ShouldAddExcludesForSubModulesWhenExcludeSubModDirsIsTrue()
throws AssemblyFormattingException
AssemblyFormattingExceptionpublic void testExecute_ShouldSkipIfNoModuleSetsFound()
throws ArchiveCreationException,
AssemblyFormattingException,
InvalidAssemblerConfigurationException,
DependencyResolutionException
public void testExecute_ShouldAddOneModuleSetWithOneModuleInIt()
throws ArchiveCreationException,
AssemblyFormattingException,
IOException,
InvalidAssemblerConfigurationException,
DependencyResolutionException
public void testAddModuleBinaries_ShouldReturnImmediatelyWhenBinariesIsNull()
throws ArchiveCreationException,
AssemblyFormattingException,
InvalidAssemblerConfigurationException,
DependencyResolutionException
public void testAddModuleBinaries_ShouldFilterPomModule()
throws ArchiveCreationException,
AssemblyFormattingException,
IOException,
InvalidAssemblerConfigurationException,
DependencyResolutionException
public void testAddModuleBinaries_ShouldAddOneModuleAttachmentArtifactAndNoDeps()
throws ArchiveCreationException,
AssemblyFormattingException,
IOException,
InvalidAssemblerConfigurationException,
DependencyResolutionException
public void testAddModuleBinaries_ShouldFailWhenOneModuleDoesntHaveAttachmentWithMatchingClassifier()
throws ArchiveCreationException,
AssemblyFormattingException,
IOException,
DependencyResolutionException
public void testAddModuleBinaries_ShouldAddOneModuleArtifactAndNoDeps()
throws ArchiveCreationException,
AssemblyFormattingException,
IOException,
InvalidAssemblerConfigurationException,
DependencyResolutionException
public void testAddModuleArtifact_ShouldThrowExceptionWhenArtifactFileIsNull()
throws AssemblyFormattingException,
IOException
public void testAddModuleArtifact_ShouldAddOneArtifact()
throws AssemblyFormattingException,
IOException,
ArchiveCreationException
public void testAddModuleSourceFileSets_ShouldReturnImmediatelyIfSourcesIsNull()
throws ArchiveCreationException,
AssemblyFormattingException
public void testAddModuleSourceFileSets_ShouldAddOneSourceDirectory()
throws ArchiveCreationException,
AssemblyFormattingException
public void testGetModuleProjects_ShouldReturnNothingWhenReactorContainsOnlyCurrentProject()
throws ArchiveCreationException
ArchiveCreationExceptionpublic void testGetModuleProjects_ShouldReturnNothingWhenReactorContainsTwoSiblingProjects()
throws ArchiveCreationException
ArchiveCreationExceptionpublic void testGetModuleProjects_ShouldReturnModuleOfCurrentProject()
throws ArchiveCreationException
ArchiveCreationExceptionpublic void testGetModuleProjects_ShouldReturnDescendentModulesOfCurrentProject()
throws ArchiveCreationException
ArchiveCreationExceptionpublic void testGetModuleProjects_ShouldExcludeModuleAndDescendentsTransitively()
throws ArchiveCreationException
ArchiveCreationExceptionCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.