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<Object>
           
 
Constructor Summary
TestOsgiPlugin()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testDisabled()
           
 void testDisabledOnNonDynamicPlugin()
           
 void testEnabled()
           
 void testOnSpringRefresh()
           
 void testOnSpringRefreshNotEnabling()
           
 void testQuickOnSpringRefresh()
           
 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
 
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

testOnSpringRefresh

public void testOnSpringRefresh()

testQuickOnSpringRefresh

public void testQuickOnSpringRefresh()
                              throws org.osgi.framework.BundleException,
                                     InterruptedException
Throws:
org.osgi.framework.BundleException
InterruptedException

testOnSpringRefreshNotEnabling

public void testOnSpringRefreshNotEnabling()


Copyright © 2011 Atlassian. All Rights Reserved.