public class MessageTracingTestListener extends AbstractTestListener implements org.springframework.beans.factory.InitializingBean, MessageListener
Constructor and Description |
---|
MessageTracingTestListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected File |
getTraceFile(String testName)
Returns the trace file for message tracing.
|
void |
onInboundMessage(Message message,
TestContext context)
Invoked on inbound message event.
|
void |
onOutboundMessage(Message message,
TestContext context)
Invoked on outbound message event.
|
void |
onTestFinish(TestCase test)
Invoked when test gets finished
|
void |
onTestStart(TestCase test)
Invoked when test gets started
|
void |
setOutputDirectory(org.springframework.core.io.Resource outputDirectory)
Sets the outputDirectory.
|
onTestFailure, onTestSkipped, onTestSuccess
public void onTestStart(TestCase test)
onTestStart
in interface TestListener
onTestStart
in class AbstractTestListener
public void onTestFinish(TestCase test)
onTestFinish
in interface TestListener
onTestFinish
in class AbstractTestListener
public void onInboundMessage(Message message, TestContext context)
MessageListener
onInboundMessage
in interface MessageListener
public void onOutboundMessage(Message message, TestContext context)
MessageListener
onOutboundMessage
in interface MessageListener
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void setOutputDirectory(org.springframework.core.io.Resource outputDirectory)
outputDirectory
- the outputDirectory to setprotected File getTraceFile(String testName)
testName
- the name of the test to create the trace file forCopyright © 2008–2017 ConSol Software GmbH. All rights reserved.