Knopflerfish OSGi 6.0.0

org.knopflerfish.service.junit
Interface JUnitResult


public interface JUnitResult

Test suites can publish JUnitResult services in the registry. Used for distributed and/or remote testing. The junit_runner bundle will pick up such services and include them in the grunt report.


Method Summary
 junit.framework.Test getParentTest()
          Returns the parent test, e.g.
 junit.framework.TestResult getResult()
          Returns the JUnit TestResult
 junit.framework.TestSuite getTestSuite()
          Returns the test suite that produced this test result
 

Method Detail

getResult

junit.framework.TestResult getResult()
Returns the JUnit TestResult

Returns:
the result of a test suite

getTestSuite

junit.framework.TestSuite getTestSuite()
Returns the test suite that produced this test result

Returns:
the JUNit test suite

getParentTest

junit.framework.Test getParentTest()
Returns the parent test, e.g. a test case or a test suite

Returns:
the parent test

Knopflerfish OSGi 6.0.0