org.springframework.osgi.test
Class JUnitTestActivator
java.lang.Object
org.springframework.osgi.test.JUnitTestActivator
- All Implemented Interfaces:
- BundleActivator
public class JUnitTestActivator
- extends Object
- implements BundleActivator
Test bundle activator - looks for a predefined JUnit test runner and triggers
the test execution.
- Author:
- Costin Leau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUnitTestActivator
public JUnitTestActivator()
start
public void start(BundleContext bc)
throws Exception
- Specified by:
start
in interface BundleActivator
- Throws:
Exception
executeTest
public void executeTest()
- Start executing an instance of OSGiJUnitTest on the TestRunnerService.
stop
public void stop(BundleContext bc)
throws Exception
- Specified by:
stop
in interface BundleActivator
- Throws:
Exception
Copyright © 2006-2007 Spring Framework. All Rights Reserved.