org.knopflerfish.service.junit
public interface JUnitService
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 runjava.io.IOException - if result cannot be written to the writerjunit.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