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 java.io.IOException,
                  java.net.URISyntaxException
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.io.IOException
java.net.URISyntaxException

tearDown

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

testCreateOsgiPlugin

public void testCreateOsgiPlugin()
                          throws com.atlassian.plugin.PluginParseException
Throws:
com.atlassian.plugin.PluginParseException

testCreateOsgiPluginWithBadVersion

public void testCreateOsgiPluginWithBadVersion()
                                        throws com.atlassian.plugin.PluginParseException,
                                               java.io.IOException
Throws:
com.atlassian.plugin.PluginParseException
java.io.IOException

testCanLoadWithXmlVersion2

public void testCanLoadWithXmlVersion2()
                                throws com.atlassian.plugin.PluginParseException,
                                       java.io.IOException
Throws:
com.atlassian.plugin.PluginParseException
java.io.IOException

testCanLoadWithXmlVersion3

public void testCanLoadWithXmlVersion3()
                                throws com.atlassian.plugin.PluginParseException,
                                       java.io.IOException
Throws:
com.atlassian.plugin.PluginParseException
java.io.IOException

testCanLoadWithXmlArtifact

public void testCanLoadWithXmlArtifact()
                                throws com.atlassian.plugin.PluginParseException,
                                       java.io.IOException
Throws:
com.atlassian.plugin.PluginParseException
java.io.IOException

testCanLoadNoXml

public void testCanLoadNoXml()
                      throws com.atlassian.plugin.PluginParseException,
                             java.io.IOException
Throws:
com.atlassian.plugin.PluginParseException
java.io.IOException

testCanLoadNoXmlButWithManifestEntry

public void testCanLoadNoXmlButWithManifestEntry()
                                          throws com.atlassian.plugin.PluginParseException,
                                                 java.io.IOException
Throws:
com.atlassian.plugin.PluginParseException
java.io.IOException


Copyright © 2013 Atlassian. All Rights Reserved.