A C D E F G H I L M O P R S T V 

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
 
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.

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.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

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
 
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
 
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
handlerExpecting(Matcher<Message>) - Static method in class org.springframework.integration.test.util.TestUtils
 
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
 
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?

I

init() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 

L

locateComponentInHistory(MessageHistory, String, int) - Static method in class org.springframework.integration.test.util.TestUtils
 
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

MapContentMatchers<T,V> - Class in org.springframework.integration.test.matcher
Matchers that examine the contents of a Map.
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.
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.
MockitoMessageMatchers() - Constructor for class org.springframework.integration.test.matcher.MockitoMessageMatchers
 

O

org.springframework.integration.test.matcher - package org.springframework.integration.test.matcher
Provides several BaseMatcher implementations.
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
 

R

registerChannel(String, MessageChannel) - Method in class org.springframework.integration.test.util.TestUtils.TestApplicationContext
 
registerEndpoint(String, AbstractEndpoint) - 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

S

sameExceptIgnorableHeaders(Message<?>, String...) - Static method in class org.springframework.integration.test.matcher.PayloadAndHeaderMatcher
 
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
 
SocketUtils - Class in org.springframework.integration.test.util
Contains several socket-specific utility methods.
SocketUtils() - Constructor for class org.springframework.integration.test.util.SocketUtils
The constructor is intentionally public.

T

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
 
A C D E F G H I L M O P R S T V