|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSet
Represents a strategy for testing endpoints with canned data.
Field Summary | |
---|---|
static String |
INDEX_HEADER
|
Method Summary | |
---|---|
void |
assertMessageExpected(DataSetEndpoint dataSetEndpoint,
Exchange expected,
Exchange actual,
long index)
Asserts that the expected message has been received for the given index |
long |
getReportCount()
Returns the number of messages which should be received before reporting on the progress of the test |
long |
getSize()
Returns the size of the dataset |
void |
populateMessage(Exchange exchange,
long messageIndex)
Populates a message exchange when using the DataSet as a source of messages |
Field Detail |
---|
static final String INDEX_HEADER
Method Detail |
---|
void populateMessage(Exchange exchange, long messageIndex) throws Exception
exchange
-
Exception
long getSize()
void assertMessageExpected(DataSetEndpoint dataSetEndpoint, Exchange expected, Exchange actual, long index) throws Exception
Exception
long getReportCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |