|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.test.framework.qpid.CauseFailureInVM
public class CauseFailureInVM
Responsibilities | Collaborations |
---|---|
Cause messaging broker failure on the active in-vm broker. | TransportConnection , ApplicationRegistry
|
Constructor Summary | |
---|---|
CauseFailureInVM(BrokerLifecycleAware inVMTest)
Creates an automated failure mechanism for testing against in-vm brokers. |
Method Summary | |
---|---|
void |
causeFailure()
Causes the active message broker to fail. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CauseFailureInVM(BrokerLifecycleAware inVMTest)
BrokerLifecycleAware
. The test
must also report that it is currently being run against an in-vm broker, and it is a runtime error if it is not,
as the creator of this failure mechanism should already have checked that it is.
inVMTest
- The test case to create an automated failure mechanism for.Method Detail |
---|
public void causeFailure()
causeFailure
in interface CauseFailure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |