public class DefaultAssemblyReaderTest
extends junit.framework.TestCase
Constructor and Description |
---|
DefaultAssemblyReaderTest() |
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 testIncludeSiteInAssembly_ShouldFailIfSiteDirectoryNonExistent() throws IOException
IOException
public void testIncludeSiteInAssembly_ShouldAddSiteDirFileSetWhenDirExists() throws IOException, InvalidAssemblerConfigurationException
public void testMergeComponentWithAssembly_ShouldAddOneFileSetToExistingListOfTwo()
public void testMergeComponentWithAssembly_ShouldAddOneFileItemToExistingListOfTwo()
public void testMergeComponentWithAssembly_ShouldAddOneDependencySetToExistingListOfTwo()
public void testMergeComponentWithAssembly_ShouldAddOneRepositoryToExistingListOfTwo()
public void testMergeComponentWithAssembly_ShouldAddOneContainerDescriptorHandlerToExistingListOfTwo()
public void testMergeComponentsWithMainAssembly_ShouldAddOneFileSetToAssembly() throws IOException, AssemblyReadException
IOException
AssemblyReadException
public void testReadAssembly_ShouldReadAssemblyWithoutComponentsInterpolationOrSiteDirInclusion() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testReadAssembly_ShouldReadAssemblyWithSiteDirInclusionFromAssemblyWithoutComponentsOrInterpolation() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testReadAssembly_ShouldReadAssemblyWithSiteDirInclusionFromConfigWithoutComponentsOrInterpolation() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testReadAssembly_ShouldReadAssemblyWithComponentWithoutSiteDirInclusionOrInterpolation() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testReadAssembly_ShouldReadAssemblyWithComponentInterpolationWithoutSiteDirInclusionOrAssemblyInterpolation() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public static StringReader writeToStringReader(Assembly assembly) throws IOException
IOException
public void testReadAssembly_ShouldReadAssemblyWithInterpolationWithoutComponentsOrSiteDirInclusion() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testGetAssemblyFromDescriptorFile_ShouldReadAssembly() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testGetAssemblyForDescriptorReference_ShouldReadBinaryAssemblyRef() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testReadAssemblies_ShouldGetAssemblyDescriptorFromSingleFile() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testReadAssemblies_ShouldFailWhenSingleDescriptorFileMissing() throws IOException, InvalidAssemblerConfigurationException
public void testReadAssemblies_ShouldIgnoreMissingSingleDescriptorFileWhenIgnoreIsConfigured() throws IOException, InvalidAssemblerConfigurationException
public void testReadAssemblies_ShouldGetAssemblyDescriptorFromSingleRef() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testReadAssemblies_ShouldGetAssemblyDescriptorFromFileArray() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testReadAssemblies_ShouldGetAssemblyDescriptorFromMultipleRefs() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testReadAssemblies_ShouldGetAssemblyDescriptorFromDirectory() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
public void testReadAssemblies_ShouldGetTwoAssemblyDescriptorsFromDirectoryWithThreeFiles() throws IOException, AssemblyReadException, InvalidAssemblerConfigurationException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.