|
Knopflerfish OSGi 3.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JUnitService
| Method Summary | |
|---|---|
junit.framework.TestSuite |
getTestSuite(java.lang.String id,
java.lang.String subid)
Get a specified test (which is registered in the Framework). |
void |
runTest(java.io.PrintWriter out,
junit.framework.TestSuite suite)
Run a specified test and dump the result as XML to the specified writer. |
| Method Detail |
|---|
void runTest(java.io.PrintWriter out,
junit.framework.TestSuite suite)
throws java.io.IOException
out - writer to which XML formatted results should be
written.suite - The test suite to run
java.io.IOException - if result cannot be written to the writer
junit.framework.TestSuite getTestSuite(java.lang.String id,
java.lang.String subid)
All test are wrapped into TestSuites, even if they are registered as plain Tests.
id - service.pid which Test (or TestSuite) is registered assubid - optional subtest name of TestSuites.
Can be null
|
Knopflerfish OSGi 3.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||