|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TestContainer
Management of an OSGi framework that can be used as a integration regression container. Each container is also a test target. When constucting TestContainers, it is good practice to not put the parsing part (from Option[]) into the implementation. Instead, make the native container construction really simple and tied to the underlying container.
| Method Summary | |
|---|---|
void |
setBundleStartLevel(long bundleId,
int startLevel)
Sets the start level for a bundle. |
TestContainer |
start()
Starts the regression container. |
TestContainer |
stop()
Stops the regression container. |
| Methods inherited from interface org.ops4j.pax.exam.TestTarget |
|---|
call, cleanup, install, waitForState |
| Method Detail |
|---|
void setBundleStartLevel(long bundleId,
int startLevel)
throws TestContainerException
bundleId - bundle idstartLevel - start level
TestContainerException - if startlevel cannot be set
TestContainer start()
throws TimeoutException
TimeoutException - - if timeout occured and the regression container cannot be started
TestContainer stop()
throws TimeoutException
TimeoutException - - if timeout occured and the regression container cannot be stopped
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||