com.atlassian.plugin.osgi.factory
Class TestRemotablePluginFactory

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

public class TestRemotablePluginFactory
extends junit.framework.TestCase


Constructor Summary
TestRemotablePluginFactory()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testCanLoadNoXml()
           
 void testCanLoadNoXmlButWithManifestEntry()
           
 void testCanLoadWithXmlArtifact()
           
 void testCanLoadWithXmlVersion2()
           
 void testCanLoadWithXmlVersion3()
           
 void testCreateOsgiPlugin()
           
 void testCreateOsgiPluginWithBadVersion()
           
 
Methods inherited from class junit.framework.TestCase
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, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestRemotablePluginFactory

public TestRemotablePluginFactory()
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

testCanLoadWithXmlVersion2

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

testCanLoadWithXmlVersion3

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

testCanLoadWithXmlArtifact

public void testCanLoadWithXmlArtifact()
                                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


Copyright © 2015 Atlassian. All rights reserved.