Skip navigation links
A B C D E F G H I L M N O P R S T V W 

A

AbstractRequestResponseScenarioTests - Class in org.springframework.integration.test.support
Convenience class for testing Spring Integration request-response message scenarios.
AbstractRequestResponseScenarioTests() - Constructor for class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
 
AbstractResponseValidator<T> - Class in org.springframework.integration.test.support
The base class for response validators used for RequestResponseScenarios
AbstractResponseValidator() - Constructor for class org.springframework.integration.test.support.AbstractResponseValidator
 
afterTest() - Method in class org.springframework.integration.test.support.LogAdjustingTestSupport
 
apply(Statement, FrameworkMethod, Object) - Method in class org.springframework.integration.test.rule.Log4jLevelAdjuster
 
apply(Statement, Description) - Method in class org.springframework.integration.test.support.LongRunningIntegrationTest
 
applySystemFileSeparator(String) - Static method in class org.springframework.integration.test.util.TestUtils
Update file path by replacing any '/' with the system's file separator.
assertions - Variable in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
assertReceived(String) - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
await() - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 

B

beforeTest() - Method in class org.springframework.integration.test.support.LogAdjustingTestSupport
 
BODY - Static variable in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 

C

createTaskScheduler(int) - Static method in class org.springframework.integration.test.util.TestUtils
 
createTestApplicationContext() - Static method in class org.springframework.integration.test.util.TestUtils
 

D

DEFAULT_PORT_RANGE_MAX - Static variable in class org.springframework.integration.test.util.SocketUtils
 
DEFAULT_PORT_RANGE_MIN - Static variable in class org.springframework.integration.test.util.SocketUtils
 
defineRequestResponseScenario() - Method in class org.springframework.integration.test.support.SingleRequestResponseScenarioTests
 
defineRequestResponseScenarios() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
Implement this method to define RequestResponse scenarios
defineRequestResponseScenarios() - Method in class org.springframework.integration.test.support.SingleRequestResponseScenarioTests
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.EqualsResultMatcher
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.EventuallyMatcher
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.HeaderMatcher
describeTo(Description) - Method in class org.springframework.integration.test.matcher.MapContentMatchers
describeTo(Description) - Method in class org.springframework.integration.test.matcher.PayloadAndHeaderMatcher
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.PayloadMatcher

E

equals(Object) - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 
equalsResult(EqualsResultMatcher.Evaluator<U>) - Static method in class org.springframework.integration.test.matcher.EqualsResultMatcher
 
EqualsResultMatcher<U> - Class in org.springframework.integration.test.matcher
A matcher that evaluates against the result of invoking a function, wrapped by the EqualsResultMatcher.Evaluator The goal is to defer the computation until the matcher needs to be actually evaluated.
EqualsResultMatcher(EqualsResultMatcher.Evaluator<U>) - Constructor for class org.springframework.integration.test.matcher.EqualsResultMatcher
 
EqualsResultMatcher.Evaluator<U> - Interface in org.springframework.integration.test.matcher
 
evaluate() - Method in interface org.springframework.integration.test.matcher.EqualsResultMatcher.Evaluator
 
eventually(int, int, Matcher<U>) - Static method in class org.springframework.integration.test.matcher.EventuallyMatcher
 
eventually(Matcher<U>) - Static method in class org.springframework.integration.test.matcher.EventuallyMatcher
 
EventuallyMatcher<U> - Class in org.springframework.integration.test.matcher
A matcher that will evaluate another matcher repeatedly until it matches, or fail after some number of attempts.
EventuallyMatcher(Matcher<U>) - Constructor for class org.springframework.integration.test.matcher.EventuallyMatcher
 
EventuallyMatcher(Matcher<U>, int, int) - Constructor for class org.springframework.integration.test.matcher.EventuallyMatcher
 
extractPayload() - Method in class org.springframework.integration.test.support.AbstractResponseValidator
If true will extract the payload as the parameter for validateResponse()
extractPayload() - Method in class org.springframework.integration.test.support.MessageValidator
 
extractPayload() - Method in class org.springframework.integration.test.support.PayloadValidator
 

F

findAvailableServerSocket(int) - Static method in class org.springframework.integration.test.util.SocketUtils
Determines a free available server socket (port) using the 'seed' value as the starting port.
findAvailableServerSocket() - Static method in class org.springframework.integration.test.util.SocketUtils
Determines a free available server socket (port) using an automatically chosen start seed port.
findAvailableServerSockets(int, int) - Static method in class org.springframework.integration.test.util.SocketUtils
Determines a free available server socket (port) using the 'seed' value as the starting port.
findAvailableUdpSocket(int) - Static method in class org.springframework.integration.test.util.SocketUtils
Determines a free available Udp socket (port) using the 'seed' value as the starting port.
findAvailableUdpSocket() - Static method in class org.springframework.integration.test.util.SocketUtils
Determines a free available Udp socket using an automatically chosen start seed port.
findAvailableUdpSockets(int, int) - Static method in class org.springframework.integration.test.util.SocketUtils
Determines free available udp socket(s) (port) using the 'seed' value as the starting port.

G

getInputChannelName() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
getLastMessage() - Method in class org.springframework.integration.test.support.AbstractResponseValidator
 
getMessage() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
getMessages() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
getName() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
getOutputChannelName() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
getPayload() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
getPort() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
getPropertyValue(Object, String) - Static method in class org.springframework.integration.test.util.TestUtils
 
getPropertyValue(Object, String, Class<T>) - Static method in class org.springframework.integration.test.util.TestUtils
 
getRandomSeedPort() - Static method in class org.springframework.integration.test.util.SocketUtils
Determines a random seed port number within the port range 10000 and 60000.
getResponseValidator() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 

H

handleMessage(Message<?>) - Method in class org.springframework.integration.test.support.AbstractResponseValidator
handle the message
hasAllEntries(Map<T, V>) - Static method in class org.springframework.integration.test.matcher.MapContentMatchers
 
hasAllHeaders(Map<String, ?>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasCorrelationId(T) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasEntry(T, V) - Static method in class org.springframework.integration.test.matcher.MapContentMatchers
 
hasEntry(T, Matcher<V>) - Static method in class org.springframework.integration.test.matcher.MapContentMatchers
 
hasExpirationDate(Date) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasExpirationDate(Matcher<Long>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hashCode() - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 
hasHeader(String, T) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasHeader(String, Matcher<?>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasHeaderKey(String) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasKey(T) - Static method in class org.springframework.integration.test.matcher.MapContentMatchers
 
hasMessageId(T) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasPayload(T) - Static method in class org.springframework.integration.test.matcher.PayloadMatcher
 
hasPayload(Matcher<? super T>) - Static method in class org.springframework.integration.test.matcher.PayloadMatcher
 
hasSequenceNumber(Integer) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasSequenceNumber(Matcher<Integer>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasSequenceSize(Integer) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasSequenceSize(Matcher<Integer>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasTimestamp(Date) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasTimestamp(Matcher<Long>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
HeaderMatcher - Class in org.springframework.integration.test.matcher
Are the MessageHeaders of a Message containing any entry or multiple that match?
HeapDumper - Class in org.springframework.integration.test.util
Use to take a heap dump programmatically.
HeapDumper() - Constructor for class org.springframework.integration.test.util.HeapDumper
 

I

imap(int) - Static method in class org.springframework.integration.test.mail.TestMailServer
 
ImapHandler(Socket) - Constructor for class org.springframework.integration.test.mail.TestMailServer.ImapServer.ImapHandler
 
ImapServer(int) - Constructor for class org.springframework.integration.test.mail.TestMailServer.ImapServer
 
init() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
isListening() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 

L

locateComponentInHistory(List<Properties>, String, int) - Static method in class org.springframework.integration.test.util.TestUtils
 
Log4jLevelAdjuster - Class in org.springframework.integration.test.rule
A JUnit method @Rule that changes the logger level for a set of classes or packages while a test method is running.
Log4jLevelAdjuster(Level, Class<?>...) - Constructor for class org.springframework.integration.test.rule.Log4jLevelAdjuster
 
Log4jLevelAdjuster(Level, String...) - Constructor for class org.springframework.integration.test.rule.Log4jLevelAdjuster
 
LogAdjustingTestSupport - Class in org.springframework.integration.test.support
Base class for module tests where logging is set to TRACE for the duration of the test and reverted to the previous value.
LogAdjustingTestSupport() - Constructor for class org.springframework.integration.test.support.LogAdjustingTestSupport
 
LogAdjustingTestSupport(String...) - Constructor for class org.springframework.integration.test.support.LogAdjustingTestSupport
 
logger - Variable in class org.springframework.integration.test.support.LogAdjustingTestSupport
 
LongRunningIntegrationTest - Class in org.springframework.integration.test.support
Rule to prevent long running tests from running on every build; set environment variable RUN_LONG_INTEGRATION_TESTS on a CI nightly build to ensure coverage.
LongRunningIntegrationTest() - Constructor for class org.springframework.integration.test.support.LongRunningIntegrationTest
 

M

mailHandler(Socket) - Method in class org.springframework.integration.test.mail.TestMailServer.ImapServer
 
mailHandler(Socket) - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
MailHandler(Socket) - Constructor for class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
mailHandler(Socket) - Method in class org.springframework.integration.test.mail.TestMailServer.Pop3Server
 
mailHandler(Socket) - Method in class org.springframework.integration.test.mail.TestMailServer.SmtpServer
 
MailServer(int) - Constructor for class org.springframework.integration.test.mail.TestMailServer.MailServer
 
MapContentMatchers<T,V> - Class in org.springframework.integration.test.matcher
Matchers that examine the contents of a Map.
matches(Object, Description) - Method in class org.springframework.integration.test.matcher.EqualsResultMatcher
 
matches(Object, Description) - Method in class org.springframework.integration.test.matcher.EventuallyMatcher
 
matches(Object) - Method in class org.springframework.integration.test.matcher.PayloadAndHeaderMatcher
 
matchesSafely(Message<?>) - Method in class org.springframework.integration.test.matcher.HeaderMatcher
Subclasses should implement this.
matchesSafely(Map<? super T, ? super V>) - Method in class org.springframework.integration.test.matcher.MapContentMatchers
Subclasses should implement this.
matchesSafely(Message) - Method in class org.springframework.integration.test.matcher.PayloadMatcher
Subclasses should implement this.
MESSAGE - Static variable in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
messages - Variable in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
MessageValidator - Class in org.springframework.integration.test.support
Validate a message.
MessageValidator() - Constructor for class org.springframework.integration.test.support.MessageValidator
 
messageWithHeaderEntries(Map<String, ?>) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
messageWithHeaderEntry(String, Object) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
messageWithHeaderEntry(String, Matcher<T>) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
messageWithHeaderKey(String) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
messageWithPayload(Matcher<T>) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
messageWithPayload(T) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
MockitoMessageMatchers - Class in org.springframework.integration.test.matcher
Mockito matcher factory for Message matcher creation.

N

nextExecutionTime(TriggerContext) - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 

O

OnlyOnceTrigger - Class in org.springframework.integration.test.util
 
OnlyOnceTrigger() - Constructor for class org.springframework.integration.test.util.OnlyOnceTrigger
 
org.springframework.integration.test.mail - package org.springframework.integration.test.mail
 
org.springframework.integration.test.matcher - package org.springframework.integration.test.matcher
Provides several BaseMatcher implementations.
org.springframework.integration.test.rule - package org.springframework.integration.test.rule
Provides various test rules.
org.springframework.integration.test.support - package org.springframework.integration.test.support
Provides several test support classes including for testing Spring Integration request-response message scenarios.
org.springframework.integration.test.util - package org.springframework.integration.test.util
Provides various test utilities, for example TestUtils provides convenience helpers to easily retrieve private bean properties.

P

PayloadAndHeaderMatcher - Class in org.springframework.integration.test.matcher
Matcher to make assertions about message equality easier.
PayloadMatcher - Class in org.springframework.integration.test.matcher
Is the payload of a Message equal to a given value or is matching a given matcher?
PayloadValidator<T> - Class in org.springframework.integration.test.support
Validate a message payload.
PayloadValidator() - Constructor for class org.springframework.integration.test.support.PayloadValidator
 
pop3(int) - Static method in class org.springframework.integration.test.mail.TestMailServer
 
Pop3Handler(Socket) - Constructor for class org.springframework.integration.test.mail.TestMailServer.Pop3Server.Pop3Handler
 
Pop3Server(int) - Constructor for class org.springframework.integration.test.mail.TestMailServer.Pop3Server
 

R

reader - Variable in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
registerBean(String, Object) - Method in class org.springframework.integration.test.util.TestUtils.TestApplicationContext
 
registerChannel(String, MessageChannel) - Method in class org.springframework.integration.test.util.TestUtils.TestApplicationContext
 
registerEndpoint(String, Object) - Method in class org.springframework.integration.test.util.TestUtils.TestApplicationContext
 
RequestResponseScenario - Class in org.springframework.integration.test.support
Defines a Spring Integration request response test scenario.
RequestResponseScenario(String, String) - Constructor for class org.springframework.integration.test.support.RequestResponseScenario
Create an instance
reset() - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 
resetServer() - Method in class org.springframework.integration.test.mail.TestMailServer.ImapServer
 
resetServer() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
run() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
run() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 

S

sameExceptIgnorableHeaders(Message<?>, String...) - Static method in class org.springframework.integration.test.matcher.PayloadAndHeaderMatcher
 
sb - Variable in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
searchReply(String) - Method in class org.springframework.integration.test.mail.TestMailServer.ImapServer.ImapHandler
 
setMessage(Message<?>) - Method in class org.springframework.integration.test.support.RequestResponseScenario
Set the request message (as an alternative to setPayload())
setName(String) - Method in class org.springframework.integration.test.support.RequestResponseScenario
Set the scenario name (optional)
setPayload(Object) - Method in class org.springframework.integration.test.support.RequestResponseScenario
set the payload of the request message
setResponseValidator(AbstractResponseValidator<?>) - Method in class org.springframework.integration.test.support.RequestResponseScenario
Set the response validator
setUp() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
 
SingleRequestResponseScenarioTests - Class in org.springframework.integration.test.support
Convenience class for a single RequestResponseScenario test
SingleRequestResponseScenarioTests() - Constructor for class org.springframework.integration.test.support.SingleRequestResponseScenarioTests
 
smtp(int) - Static method in class org.springframework.integration.test.mail.TestMailServer
 
SmtpHandler(Socket) - Constructor for class org.springframework.integration.test.mail.TestMailServer.SmtpServer.SmtpHandler
 
SmtpServer(int) - Constructor for class org.springframework.integration.test.mail.TestMailServer.SmtpServer
 
socket - Variable in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
SocketUtils - Class in org.springframework.integration.test.util
Contains several socket-specific utility methods.
stop() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 

T

TestMailServer - Class in org.springframework.integration.test.mail
A basic test mail server for pop3, imap, Serves up a canned email message with each protocol.
TestMailServer.ImapServer - Class in org.springframework.integration.test.mail
 
TestMailServer.ImapServer.ImapHandler - Class in org.springframework.integration.test.mail
 
TestMailServer.MailServer - Class in org.springframework.integration.test.mail
 
TestMailServer.MailServer.MailHandler - Class in org.springframework.integration.test.mail
 
TestMailServer.Pop3Server - Class in org.springframework.integration.test.mail
 
TestMailServer.Pop3Server.Pop3Handler - Class in org.springframework.integration.test.mail
 
TestMailServer.SmtpServer - Class in org.springframework.integration.test.mail
 
TestMailServer.SmtpServer.SmtpHandler - Class in org.springframework.integration.test.mail
 
testName - Variable in class org.springframework.integration.test.support.LogAdjustingTestSupport
 
testRequestResponseScenarios() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
Execute each scenario.
TestUtils - Class in org.springframework.integration.test.util
 
TestUtils() - Constructor for class org.springframework.integration.test.util.TestUtils
 
TestUtils.TestApplicationContext - Class in org.springframework.integration.test.util
 

V

validateMessage(Message<?>) - Method in class org.springframework.integration.test.support.MessageValidator
Implement this method to validate the message
validateResponse(T) - Method in class org.springframework.integration.test.support.AbstractResponseValidator
Implement this method to validate the response (Message or Payload)
validateResponse(Message<?>) - Method in class org.springframework.integration.test.support.MessageValidator
 

W

write(String) - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
A B C D E F G H I L M N O P R S T V W 
Skip navigation links