com.atlassian.plugin.osgi.factory
Class TestOsgiPlugin

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

public class TestOsgiPlugin
extends junit.framework.TestCase


Nested Class Summary
static class TestOsgiPlugin.StaticModuleDescriptor
           
 
Constructor Summary
TestOsgiPlugin()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testDisabled()
           
 void testDisabledOnNonDynamicPlugin()
           
 void testEnabled()
           
 void testOnPluginContainerRefresh()
           
 void testOnPluginContainerRefreshNotEnabling()
           
 void testQuickOnPluginContainerRefresh()
           
 void testUninstall()
           
 
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

TestOsgiPlugin

public TestOsgiPlugin()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

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

testEnabled

public void testEnabled()
                 throws org.osgi.framework.BundleException
Throws:
org.osgi.framework.BundleException

testDisabled

public void testDisabled()
                  throws org.osgi.framework.BundleException
Throws:
org.osgi.framework.BundleException

testDisabledOnNonDynamicPlugin

public void testDisabledOnNonDynamicPlugin()
                                    throws org.osgi.framework.BundleException
Throws:
org.osgi.framework.BundleException

testUninstall

public void testUninstall()
                   throws org.osgi.framework.BundleException
Throws:
org.osgi.framework.BundleException

testOnPluginContainerRefresh

public void testOnPluginContainerRefresh()

testQuickOnPluginContainerRefresh

public void testQuickOnPluginContainerRefresh()
                                       throws org.osgi.framework.BundleException,
                                              java.lang.InterruptedException
Throws:
org.osgi.framework.BundleException
java.lang.InterruptedException

testOnPluginContainerRefreshNotEnabling

public void testOnPluginContainerRefreshNotEnabling()


Copyright © 2013 Atlassian. All Rights Reserved.