Index

A B C D E F G H I L M N O P R S T V 
All Classes and Interfaces|All Packages

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
 
adjustLogLevels(String, List<Class<?>>, List<String>, Level) - Static method in class org.springframework.integration.test.util.TestUtils
 
afterAll(ExtensionContext) - Method in class org.springframework.integration.test.condition.LogLevelsCondition
 
afterEach(ExtensionContext) - Method in class org.springframework.integration.test.condition.LogLevelsCondition
 
apply(Statement, Description) - Method in class org.springframework.integration.test.support.LongRunningIntegrationTest
 
apply(Statement, FrameworkMethod, Object) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
 
applySystemFileSeparator(String) - Static method in class org.springframework.integration.test.util.TestUtils
Update file path by replacing any '/' with the system's file separator.
await() - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 

B

beforeEach(ExtensionContext) - Method in class org.springframework.integration.test.condition.LogLevelsCondition
 

C

categories() - Element in annotation interface org.springframework.integration.test.condition.LogLevels
Category names representing Log4j categories to change.
categories(boolean, String...) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
Specify the categories for logging level adjusting configured before.
categories(String...) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
Specify the categories for logging level adjusting configured before.
categoryLevels() - Method in record class org.springframework.integration.test.util.TestUtils.LevelsContainer
Returns the value of the categoryLevels record component.
classes() - Element in annotation interface org.springframework.integration.test.condition.LogLevels
Classes representing Log4j categories to change.
classes(boolean, Class<?>...) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
Specify the classes for logging level adjusting configured before.
classes(Class<?>...) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
Specify the classes for logging level adjusting configured before.
classLevels() - Method in record class org.springframework.integration.test.util.TestUtils.LevelsContainer
Returns the value of the classLevels record component.
createTaskScheduler(int) - Static method in class org.springframework.integration.test.util.TestUtils
A factory for the ThreadPoolTaskScheduler instances based on the provided poolSize.
createTestApplicationContext() - Static method in class org.springframework.integration.test.util.TestUtils
Create a TestUtils.TestApplicationContext instance supplied with the basic Spring Integration infrastructure.

D

debug() - Static method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
The factory to produce Log4j2LevelAdjuster instances for Level.DEBUG logging with the org.springframework.integration as default category.
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.HeaderMatcher
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.MapContentMatchers
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.MessageMatcher
 
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
 
equals(Object) - Method in record class org.springframework.integration.test.util.TestUtils.LevelsContainer
Indicates whether some other object is "equal to" this one.
equalsResult(Supplier<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 Supplier The goal is to defer the computation until the matcher needs to be actually evaluated.
EqualsResultMatcher(Supplier<U>) - Constructor for class org.springframework.integration.test.matcher.EqualsResultMatcher
 
evaluateExecutionCondition(ExtensionContext) - Method in class org.springframework.integration.test.condition.LogLevelsCondition
 
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

forLevel(Level) - Static method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
The factory to produce Log4j2LevelAdjuster instances for arbitrary logging Level with the org.springframework.integration as default category.

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
Obtain a value for the property from the provide object.
getPropertyValue(Object, String, Class<T>) - Static method in class org.springframework.integration.test.util.TestUtils
Obtain a value for the property from the provide object and try to cast it to the provided type.
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(V) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
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
 
hashCode() - Method in record class org.springframework.integration.test.util.TestUtils.LevelsContainer
Returns a hash code value for this object.
hasHeader(String, Matcher<V>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasHeader(String, V) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasHeaderKey(String) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasMessageId(V) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasPayload(Matcher<P>) - Static method in class org.springframework.integration.test.matcher.PayloadMatcher
 
hasPayload(P) - 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<T> - 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

info() - Static method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
The factory to produce Log4j2LevelAdjuster instances for Level.INFO logging with the org.springframework.integration as default category.
init() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 

L

level() - Element in annotation interface org.springframework.integration.test.condition.LogLevels
The Log4j level name to switch the categories to during the test.
LevelsContainer(Map<Class<?>, Level>, Map<String, Level>) - Constructor for record class org.springframework.integration.test.util.TestUtils.LevelsContainer
Creates an instance of a LevelsContainer record class.
locateComponentInHistory(List<Properties>, String, int) - Static method in class org.springframework.integration.test.util.TestUtils
 
Log4j2LevelAdjuster - Class in org.springframework.integration.test.rule
A JUnit method Rule that changes the Log4J 2 logger level for a set of classes or packages while a test method is running.
LogLevels - Annotation Interface in org.springframework.integration.test.condition
Test classes annotated with this will change logging levels between tests.
LogLevelsCondition - Class in org.springframework.integration.test.condition
JUnit condition that adjusts and reverts log levels before/after each test.
LogLevelsCondition() - Constructor for class org.springframework.integration.test.condition.LogLevelsCondition
 
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
 
LongRunningTest - Annotation Interface in org.springframework.integration.test.condition
JUnit Jupiter condition 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.

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.MessageMatcher
 
matches(Object) - Method in class org.springframework.integration.test.matcher.PayloadAndHeaderMatcher
 
matches(Object, Description) - Method in class org.springframework.integration.test.matcher.EqualsResultMatcher
 
matchesSafely(Map<? super T, ? super V>) - Method in class org.springframework.integration.test.matcher.MapContentMatchers
 
matchesSafely(Message<?>) - Method in class org.springframework.integration.test.matcher.PayloadMatcher
 
matchesSafely(Message<T>) - Method in class org.springframework.integration.test.matcher.HeaderMatcher
 
MessageMatcher - Class in org.springframework.integration.test.matcher
Matcher to make assertions about message equality easier.
MessageMatcher(Message<?>) - Constructor for class org.springframework.integration.test.matcher.MessageMatcher
 
MessagePredicate - Class in org.springframework.integration.test.predicate
Predicate to make assertions about message equality easier.
MessagePredicate(Message<?>, String...) - Constructor for class org.springframework.integration.test.predicate.MessagePredicate
 
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<? super 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

nextExecution(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.condition - package org.springframework.integration.test.condition
 
org.springframework.integration.test.matcher - package org.springframework.integration.test.matcher
Provides several BaseMatcher implementations.
org.springframework.integration.test.predicate - package org.springframework.integration.test.predicate
 
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<T> - Class in org.springframework.integration.test.matcher
Matcher to make assertions about message equality easier.
PayloadMatcher<T> - 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

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

S

sameExceptIgnorableHeaders(Message<P>, 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
 

T

test(Message<?>) - Method in class org.springframework.integration.test.predicate.MessagePredicate
 
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.LevelsContainer - Record Class in org.springframework.integration.test.util
 
TestUtils.TestApplicationContext - Class in org.springframework.integration.test.util
A GenericApplicationContext extension with some support methods to register Spring Integration beans in the application context at runtime.
toString() - Method in record class org.springframework.integration.test.util.TestUtils.LevelsContainer
Returns a string representation of this record class.
trace() - Static method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
The factory to produce Log4j2LevelAdjuster instances for Level.TRACE logging with the org.springframework.integration as default category.

V

validateMessage(Message<?>) - Method in class org.springframework.integration.test.support.MessageValidator
Implement this method to validate the message
validateResponse(Message<?>) - Method in class org.springframework.integration.test.support.MessageValidator
 
validateResponse(T) - Method in class org.springframework.integration.test.support.AbstractResponseValidator
Implement this method to validate the response (Message or Payload)
A B C D E F G H I L M N O P R S T V 
All Classes and Interfaces|All Packages