public class DefaultAssemblyReaderTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
DefaultAssemblyReaderTest() |
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 testIncludeSiteInAssembly_ShouldFailIfSiteDirectoryNonExistent()
throws IOException
IOExceptionpublic 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
IOExceptionAssemblyReadExceptionpublic 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
IOExceptionpublic 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.