Index
All Classes and Interfaces|All Packages
A
- AbstractRequestResponseScenarioTest - Class in org.springframework.integration.test.support
-
Convenience class for testing Spring Integration request-response message scenarios.
- AbstractRequestResponseScenarioTest() - Constructor for class org.springframework.integration.test.support.AbstractRequestResponseScenarioTest
- AbstractRequestResponseScenarioTests - Class in org.springframework.integration.test.support
-
Deprecated, for removal: This API element is subject to removal in a future version.
- AbstractRequestResponseScenarioTests() - Constructor for class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
-
Deprecated.
- 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, List, 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
-
Deprecated.
- apply(Statement, FrameworkMethod, Object) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
-
Deprecated.
- 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
- beforeAll() - Static method in interface org.springframework.integration.test.support.TestApplicationContextAware
- 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
-
Deprecated.Specify the categories for logging level adjusting configured before.
- categories(String...) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
-
Deprecated.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
categoryLevelsrecord 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
-
Deprecated.Specify the classes for logging level adjusting configured before.
- classes(Class...) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
-
Deprecated.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
classLevelsrecord component. - createTaskScheduler(int) - Static method in class org.springframework.integration.test.util.TestUtils
-
A factory for the
ThreadPoolTaskSchedulerinstances based on the providedpoolSize. - createTestApplicationContext() - Static method in class org.springframework.integration.test.util.TestUtils
-
Create a
TestUtils.TestApplicationContextinstance supplied with the basic Spring Integration infrastructure.
D
- debug() - Static method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
-
Deprecated.The factory to produce Log4j2LevelAdjuster instances for
Level.DEBUGlogging with theorg.springframework.integrationas default category. - defineRequestResponseScenario() - Method in class org.springframework.integration.test.support.SingleRequestResponseScenarioTest
- defineRequestResponseScenario() - Method in class org.springframework.integration.test.support.SingleRequestResponseScenarioTests
-
Deprecated.
- defineRequestResponseScenarios() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTest
-
Implement this method to define RequestResponse scenarios
- defineRequestResponseScenarios() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
-
Deprecated.Implement this method to define RequestResponse scenarios
- defineRequestResponseScenarios() - Method in class org.springframework.integration.test.support.SingleRequestResponseScenarioTest
- defineRequestResponseScenarios() - Method in class org.springframework.integration.test.support.SingleRequestResponseScenarioTests
-
Deprecated.
- 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) - 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
SupplierThe goal is to defer the computation until the matcher needs to be actually evaluated. - EqualsResultMatcher(Supplier) - 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
-
Deprecated.The factory to produce Log4j2LevelAdjuster instances for arbitrary logging
Levelwith theorg.springframework.integrationas 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) - 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) - Static method in class org.springframework.integration.test.matcher.MapContentMatchers
- hasAllHeaders(Map) - 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) - 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) - 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) - 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) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
- hasSequenceSize(Integer) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
- hasSequenceSize(Matcher) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
- hasTimestamp(Date) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
- hasTimestamp(Matcher) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
- HeaderMatcher<T> - Class in org.springframework.integration.test.matcher
-
Are the
MessageHeadersof aMessagecontaining 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
-
Deprecated.The factory to produce Log4j2LevelAdjuster instances for
Level.INFOlogging with theorg.springframework.integrationas 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, Map) - Constructor for record class org.springframework.integration.test.util.TestUtils.LevelsContainer
-
Creates an instance of a
LevelsContainerrecord class. - locateComponentInHistory(List, String, int) - Static method in class org.springframework.integration.test.util.TestUtils
- Log4j2LevelAdjuster - Class in org.springframework.integration.test.rule
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of
LogLevels - 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
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of
LongRunningTest. - LongRunningIntegrationTest() - Constructor for class org.springframework.integration.test.support.LongRunningIntegrationTest
-
Deprecated.
- 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_TESTSon 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) - Method in class org.springframework.integration.test.matcher.MapContentMatchers
- matchesSafely(Message) - Method in class org.springframework.integration.test.matcher.PayloadMatcher
- matchesSafely(Message) - 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) - 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) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
- messageWithHeaderKey(String) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
- messageWithPayload(Matcher) - 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
Messagematcher creation.
N
- nextExecution(TriggerContext) - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
O
- OnlyOnceTrigger - Class in org.springframework.integration.test.util
-
The
Triggerimplementation which returns the current time to schedule the task immediately and does that only once. - OnlyOnceTrigger() - Constructor for class org.springframework.integration.test.util.OnlyOnceTrigger
- org.springframework.integration.test.condition - package org.springframework.integration.test.condition
-
JUnit Jupiter conditions.
- org.springframework.integration.test.matcher - package org.springframework.integration.test.matcher
-
Provides several
BaseMatcherimplementations. - org.springframework.integration.test.predicate - package org.springframework.integration.test.predicate
-
AssertJ predicates.
- 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
TestUtilsprovides 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
Messageequal 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
- registerBean(String, Object, BeanFactory) - Static method in class org.springframework.integration.test.util.TestUtils
- 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, 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.AbstractRequestResponseScenarioTest
- setUp() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
-
Deprecated.
- SingleRequestResponseScenarioTest - Class in org.springframework.integration.test.support
-
Convenience class for a single
RequestResponseScenariotest - SingleRequestResponseScenarioTest() - Constructor for class org.springframework.integration.test.support.SingleRequestResponseScenarioTest
- SingleRequestResponseScenarioTests - Class in org.springframework.integration.test.support
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of
SingleRequestResponseScenarioTest - SingleRequestResponseScenarioTests() - Constructor for class org.springframework.integration.test.support.SingleRequestResponseScenarioTests
-
Deprecated.
T
- tearDown() - Static method in interface org.springframework.integration.test.support.TestApplicationContextAware
- test(Message) - Method in class org.springframework.integration.test.predicate.MessagePredicate
- TEST_INTEGRATION_CONTEXT - Static variable in interface org.springframework.integration.test.support.TestApplicationContextAware
- TestApplicationContextAware - Interface in org.springframework.integration.test.support
-
Utility interface for test classes that require access to a shared
ApplicationContextinitialized viaTestUtils.createTestApplicationContext(). - testRequestResponseScenarios() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTest
-
Execute each scenario.
- testRequestResponseScenarios() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
-
Deprecated.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
GenericApplicationContextextension 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
-
Deprecated.The factory to produce Log4j2LevelAdjuster instances for
Level.TRACElogging with theorg.springframework.integrationas 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)
All Classes and Interfaces|All Packages
AbstractRequestResponseScenarioTest