|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Publisher
A Publisher represents the status of the publishing side of a test circuit. Its main purpose is to provide assertions that can be applied to test the behaviour of the publishers.
Responsibilities |
---|
Provide assertion that the publishers received no exceptions. |
Method Summary | |
---|---|
Assertion |
channelClosedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
Provides an assertion that the AMQP channel was forcibly closed by an error condition. |
Assertion |
exceptionAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps,
Class<? extends Exception> exceptionClass)
Provides an assertion that the publisher got a given exception during the test. |
Assertion |
noExceptionsAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
Provides an assertion that the publisher encountered no exceptions. |
Method Detail |
---|
Assertion noExceptionsAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
testProps
- The test configuration properties.
Assertion channelClosedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
testProps
- The test configuration properties.
Assertion exceptionAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps, Class<? extends Exception> exceptionClass)
testProps
- The test configuration properties.exceptionClass
- The exception class to check for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |