|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.junit.Assert
org.apache.camel.test.junit4.TestSupport
org.apache.camel.test.junit4.CamelTestSupport
org.apache.camel.test.junit4.ExchangeTestSupport
public abstract class ExchangeTestSupport
A base class for a test which requires a CamelContext
and
a populated Exchange
Field Summary | |
---|---|
protected org.apache.camel.Exchange |
exchange
|
Fields inherited from class org.apache.camel.test.junit4.CamelTestSupport |
---|
camelContextService, consumer, context, template |
Fields inherited from class org.apache.camel.test.junit4.TestSupport |
---|
log, LS, testName |
Constructor Summary | |
---|---|
ExchangeTestSupport()
|
Method Summary | |
---|---|
protected org.apache.camel.Exchange |
createExchange()
A factory method to create an Exchange implementation |
protected void |
populateExchange(org.apache.camel.Exchange exchange)
A strategy method to populate an exchange with some example values for use by language plugins |
void |
setUp()
|
Methods inherited from class org.junit.Assert |
---|
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.camel.Exchange exchange
Constructor Detail |
---|
public ExchangeTestSupport()
Method Detail |
---|
protected org.apache.camel.Exchange createExchange()
protected void populateExchange(org.apache.camel.Exchange exchange)
public void setUp() throws Exception
setUp
in class CamelTestSupport
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |