org.springframework.osgi.test
Class JUnitTestActivatorTest.TestExample

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.osgi.test.JUnitTestActivatorTest.TestExample
All Implemented Interfaces:
Test, org.springframework.osgi.test.internal.OsgiJUnitTest
Enclosing class:
JUnitTestActivatorTest

public static class JUnitTestActivatorTest.TestExample
extends TestCase
implements org.springframework.osgi.test.internal.OsgiJUnitTest


Constructor Summary
JUnitTestActivatorTest.TestExample()
           
 
Method Summary
 Bundle findBundleByLocation(String bundleLocation)
           
 Bundle findBundleBySymbolicName(String bundleSymbolicName)
           
 BundleContext getBundleContext()
           
 TestCase getTestCase()
           
 void injectBundleContext(BundleContext bundleContext)
           
 void osgiRunTest()
           
 void osgiSetUp()
           
 void osgiTearDown()
           
 void setName(String name)
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setUp, tearDown, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JUnitTestActivatorTest.TestExample

public JUnitTestActivatorTest.TestExample()
Method Detail

osgiSetUp

public void osgiSetUp()
               throws Exception
Specified by:
osgiSetUp in interface org.springframework.osgi.test.internal.OsgiJUnitTest
Throws:
Exception

osgiTearDown

public void osgiTearDown()
                  throws Exception
Specified by:
osgiTearDown in interface org.springframework.osgi.test.internal.OsgiJUnitTest
Throws:
Exception

osgiRunTest

public void osgiRunTest()
                 throws Throwable
Specified by:
osgiRunTest in interface org.springframework.osgi.test.internal.OsgiJUnitTest
Throws:
Throwable

injectBundleContext

public void injectBundleContext(BundleContext bundleContext)
Specified by:
injectBundleContext in interface org.springframework.osgi.test.internal.OsgiJUnitTest

getBundleContext

public BundleContext getBundleContext()

setName

public void setName(String name)
Overrides:
setName in class TestCase

findBundleByLocation

public Bundle findBundleByLocation(String bundleLocation)

findBundleBySymbolicName

public Bundle findBundleBySymbolicName(String bundleSymbolicName)

getTestCase

public TestCase getTestCase()
Specified by:
getTestCase in interface org.springframework.osgi.test.internal.OsgiJUnitTest


Copyright © 2006-2011 Spring Framework. All Rights Reserved.