public class TestOsgiPluginFactory extends Object
| Constructor and Description |
|---|
TestOsgiPluginFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
canLoadExtraModuleDescriptors() |
void |
canLoadJarWithNoManifest() |
void |
canLoadNoXml() |
void |
canLoadNoXmlButWithManifestEntry() |
void |
canLoadNoXmlButWithManifestEntryNoVersion() |
void |
canLoadWithXml() |
void |
canLoadWithXmlArtifact() |
void |
canLoadWithXmlVersion3() |
void |
createModule() |
void |
createModuleIncorrectPluginType() |
void |
createOsgiPlugin() |
void |
createOsgiPluginWithBadVersion() |
void |
createOsgiPluginWithBadVersion2() |
void |
createOsgiPluginWithManifestKey() |
void |
createOsgiPluginWithManifestKeyAndDescriptorSkippingTransform() |
void |
createOsgiPluginWithManifestKeyNoVersion() |
void |
pluginInformationAndPluginNameIsExtractedFromManifest() |
void |
setUp() |
void |
shouldLoadPluginIfManifestDoesNotHaveOptionalInformation() |
void |
tearDown() |
void |
transformedArtifactAllowsReferenceInstall() |
public void setUp()
throws IOException
IOExceptionpublic void tearDown()
throws IOException
IOExceptionpublic void createOsgiPlugin()
throws PluginParseException
PluginParseExceptionpublic void createOsgiPluginWithBadVersion()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void createOsgiPluginWithBadVersion2()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void createOsgiPluginWithManifestKey()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void createOsgiPluginWithManifestKeyAndDescriptorSkippingTransform()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void pluginInformationAndPluginNameIsExtractedFromManifest()
throws IOException
IOExceptionpublic void shouldLoadPluginIfManifestDoesNotHaveOptionalInformation()
throws IOException
IOExceptionpublic void createOsgiPluginWithManifestKeyNoVersion()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void canLoadWithXml()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void canLoadWithXmlArtifact()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void canLoadJarWithNoManifest()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void canLoadNoXml()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void canLoadNoXmlButWithManifestEntry()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void canLoadNoXmlButWithManifestEntryNoVersion()
throws PluginParseException,
IOException
PluginParseExceptionIOExceptionpublic void transformedArtifactAllowsReferenceInstall()
public void canLoadExtraModuleDescriptors()
throws Exception
Exceptionpublic void createModuleIncorrectPluginType()
public void createModule()
throws IllegalAccessException,
ClassNotFoundException,
InstantiationException
Copyright © 2019 Atlassian. All rights reserved.