org.eclipse.gemini.blueprint.test.internal.support
Class OsgiJUnitService

java.lang.Object
  extended by org.eclipse.gemini.blueprint.test.internal.support.OsgiJUnitService
All Implemented Interfaces:
TestRunnerService

public class OsgiJUnitService
extends Object
implements TestRunnerService

OSGi service for executing JUnit tests.

Author:
Costin Leau

Constructor Summary
OsgiJUnitService()
           
 
Method Summary
protected  void executeTest(OsgiJUnitTest test)
          Execute the JUnit test and publish results to the outside-OSGi world.
 void runTest(OsgiJUnitTest test)
           
protected  junit.framework.TestResult runTest(OsgiJUnitTest osgiTestExtensions, String testName)
          Run fixture setup, test from the given test case and fixture teardown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsgiJUnitService

public OsgiJUnitService()
Method Detail

runTest

public void runTest(OsgiJUnitTest test)
Specified by:
runTest in interface TestRunnerService

executeTest

protected void executeTest(OsgiJUnitTest test)
                    throws Exception
Execute the JUnit test and publish results to the outside-OSGi world.

Parameters:
test -
Throws:
Exception

runTest

protected junit.framework.TestResult runTest(OsgiJUnitTest osgiTestExtensions,
                                             String testName)
Run fixture setup, test from the given test case and fixture teardown.

Parameters:
osgiTestExtensions -
testName -


Copyright © 2006-2012. All Rights Reserved.