com.atlassian.plugin.osgi.factory
Class TestOsgiPluginFactory

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.osgi.factory.TestOsgiPluginFactory
All Implemented Interfaces:
junit.framework.Test

public class TestOsgiPluginFactory
extends junit.framework.TestCase


Constructor Summary
TestOsgiPluginFactory()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testCanLoadJarWithNoManifest()
           
 void testCanLoadNoXml()
           
 void testCanLoadNoXmlButWithManifestEntry()
           
 void testCanLoadNoXmlButWithManifestEntryNoVersion()
           
 void testCanLoadWithXml()
           
 void testCanLoadWithXmlArtifact()
           
 void testCreateOsgiPlugin()
           
 void testCreateOsgiPluginWithBadVersion()
           
 void testCreateOsgiPluginWithBadVersion2()
           
 void testCreateOsgiPluginWithManifestKey()
           
 void testCreateOsgiPluginWithManifestKeyNoVersion()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestOsgiPluginFactory

public TestOsgiPluginFactory()
Method Detail

setUp

public void setUp()
           throws IOException,
                  URISyntaxException
Overrides:
setUp in class junit.framework.TestCase
Throws:
IOException
URISyntaxException

tearDown

public void tearDown()
              throws IOException
Overrides:
tearDown in class junit.framework.TestCase
Throws:
IOException

testCreateOsgiPlugin

public void testCreateOsgiPlugin()
                          throws PluginParseException
Throws:
PluginParseException

testCreateOsgiPluginWithBadVersion

public void testCreateOsgiPluginWithBadVersion()
                                        throws PluginParseException,
                                               IOException
Throws:
PluginParseException
IOException

testCreateOsgiPluginWithBadVersion2

public void testCreateOsgiPluginWithBadVersion2()
                                         throws PluginParseException,
                                                IOException
Throws:
PluginParseException
IOException

testCreateOsgiPluginWithManifestKey

public void testCreateOsgiPluginWithManifestKey()
                                         throws PluginParseException,
                                                IOException
Throws:
PluginParseException
IOException

testCreateOsgiPluginWithManifestKeyNoVersion

public void testCreateOsgiPluginWithManifestKeyNoVersion()
                                                  throws PluginParseException,
                                                         IOException
Throws:
PluginParseException
IOException

testCanLoadWithXml

public void testCanLoadWithXml()
                        throws PluginParseException,
                               IOException
Throws:
PluginParseException
IOException

testCanLoadWithXmlArtifact

public void testCanLoadWithXmlArtifact()
                                throws PluginParseException,
                                       IOException
Throws:
PluginParseException
IOException

testCanLoadJarWithNoManifest

public void testCanLoadJarWithNoManifest()
                                  throws PluginParseException,
                                         IOException
Throws:
PluginParseException
IOException

testCanLoadNoXml

public void testCanLoadNoXml()
                      throws PluginParseException,
                             IOException
Throws:
PluginParseException
IOException

testCanLoadNoXmlButWithManifestEntry

public void testCanLoadNoXmlButWithManifestEntry()
                                          throws PluginParseException,
                                                 IOException
Throws:
PluginParseException
IOException

testCanLoadNoXmlButWithManifestEntryNoVersion

public void testCanLoadNoXmlButWithManifestEntryNoVersion()
                                                   throws PluginParseException,
                                                          IOException
Throws:
PluginParseException
IOException


Copyright © 2012 Atlassian. All Rights Reserved.