|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CircuitFactory
A CircuitFactory is responsibile for creating test circuits appropriate to the context that a test case is running in, and providing an implementation of a standard test procedure over a test circuit.
Responsibilities |
---|
Provide a standard test procedure over a test circuit. |
Construct test circuits appropriate to a tests context. |
Method Summary | |
---|---|
Circuit |
createCircuit(Connection connection,
org.apache.qpid.junit.extensions.util.ParsedProperties testProperties)
Creates a test circuit for the test, configered by the test parameters specified. |
List<TestClientDetails> |
getReceivers()
Supplies the receiving test client. |
TestClientDetails |
getSender()
Supplies the sending test client. |
void |
sequenceTest(Circuit testCircuit,
List<Assertion> assertions,
Properties testProperties)
Deprecated. Use test circuits and Circuit.test instead. |
void |
setConversationFactory(ConversationFactory conversationFactory)
Accepts the conversation factory over which to hold the test coordinating conversation. |
void |
setReceiver(TestClientDetails receiver)
Sets the receiving test client to coordinate the test with. |
void |
setSender(TestClientDetails sender)
Sets the sender test client to coordinate the test with. |
Method Detail |
---|
void sequenceTest(Circuit testCircuit, List<Assertion> assertions, Properties testProperties)
testCircuit
- The test circuit.assertions
- The list of assertions to apply to the test circuit.testProperties
- The test case definition.Circuit createCircuit(Connection connection, org.apache.qpid.junit.extensions.util.ParsedProperties testProperties)
testProperties
- The test parameters.
void setSender(TestClientDetails sender)
sender
- The contact details of the sending client in the test.void setReceiver(TestClientDetails receiver)
receiver
- The contact details of the sending client in the test.TestClientDetails getSender()
List<TestClientDetails> getReceivers()
void setConversationFactory(ConversationFactory conversationFactory)
conversationFactory
- The conversation factory to coordinate the test over.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |