|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.junit4osgi.impl.JunitExtender
public class JunitExtender
Detect test suite from installed bundles.
Field Summary | |
---|---|
static String |
SUITE_METHODNAME
Suite method name. |
Constructor Summary | |
---|---|
JunitExtender()
|
Method Summary | |
---|---|
List |
getTests()
Gets the list of Test . |
List |
getTests(long bundleId)
Gets the list of Test from the bundle (specified
by using the bundle id). |
List |
run()
Runs tests. |
List |
run(long bundleId)
Runs the tests declared in the bundle (specified by the bundle id). |
junit.framework.TestResult |
run(junit.framework.Test test)
Runs the given tests. |
void |
setResultPrinter(PrintStream pw)
Set the result printer. |
void |
starting()
Start method. |
void |
stopping()
Stop method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SUITE_METHODNAME
Constructor Detail |
---|
public JunitExtender()
Method Detail |
---|
public void setResultPrinter(PrintStream pw)
setResultPrinter
in interface OSGiJunitRunner
pw
- the stream to use.OSGiJunitRunner.setResultPrinter(java.io.PrintStream)
public List run()
run
in interface OSGiJunitRunner
TestResult
OSGiJunitRunner.run()
public List getTests()
Test
.
getTests
in interface OSGiJunitRunner
Test
OSGiJunitRunner.getTests()
public junit.framework.TestResult run(junit.framework.Test test)
run
in interface OSGiJunitRunner
test
- the test to execute
OSGiJunitRunner.run(junit.framework.Test)
public List getTests(long bundleId)
Test
from the bundle (specified
by using the bundle id).
getTests
in interface OSGiJunitRunner
bundleId
- the bundle id
Test
declared in this bundle.OSGiJunitRunner.getTests(long)
public List run(long bundleId)
run
in interface OSGiJunitRunner
bundleId
- the bundle id
TestResult
OSGiJunitRunner.run(long)
public void stopping()
public void starting()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |