public class ModuleSetAssemblyPhaseTest
extends junit.framework.TestCase
Constructor and Description |
---|
ModuleSetAssemblyPhaseTest() |
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, setUp, toString
public void tearDown() throws IOException
tearDown
in class junit.framework.TestCase
IOException
public 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
AssemblyFormattingException
public void testCreateFileSet_ShouldPrependModuleDirWhenOutDirIsProvided() throws AssemblyFormattingException
AssemblyFormattingException
public void testCreateFileSet_ShouldAddExcludesForSubModulesWhenExcludeSubModDirsIsTrue() throws AssemblyFormattingException
AssemblyFormattingException
public 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
ArchiveCreationException
public void testGetModuleProjects_ShouldReturnNothingWhenReactorContainsTwoSiblingProjects() throws ArchiveCreationException
ArchiveCreationException
public void testGetModuleProjects_ShouldReturnModuleOfCurrentProject() throws ArchiveCreationException
ArchiveCreationException
public void testGetModuleProjects_ShouldReturnDescendentModulesOfCurrentProject() throws ArchiveCreationException
ArchiveCreationException
public void testGetModuleProjects_ShouldExcludeModuleAndDescendentsTransitively() throws ArchiveCreationException
ArchiveCreationException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.