- after() - Method in class org.apache.camel.test.junit4.CamelTearDownRule
-
- applyCamelPostProcessor() - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Applies the CamelBeanPostProcessor to this instance.
- assertCollectionSize(Collection<T>, int) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that a list is of the given size
- assertCollectionSize(String, Collection<T>, int) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that a list is of the given size
- assertDirectoryEquals(String, String) - Static method in class org.apache.camel.test.junit4.TestSupport
-
To be used for folder/directory comparison that works across different platforms such
as Window, Mac and Linux.
- assertDirectoryEquals(String, String, String) - Static method in class org.apache.camel.test.junit4.TestSupport
-
To be used for folder/directory comparison that works across different platforms such
as Window, Mac and Linux.
- assertDirectoryExists(String) - Static method in class org.apache.camel.test.junit4.TestSupport
-
To be used to check is a directory is found in the file system
- assertEndpointUri(Endpoint, String) - Static method in class org.apache.camel.test.junit4.TestSupport
-
- assertExpression(Exchange, String, String, Object) - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Asserts that the given language name and expression evaluates to the
given value on a specific exchange
- assertExpression(Exchange, String, Object) - Method in class org.apache.camel.test.junit4.LanguageTestSupport
-
Asserts that this language expression evaluates to the given value on the given exchange
- assertExpression(String, Object) - Method in class org.apache.camel.test.junit4.LanguageTestSupport
-
Asserts that this language expression evaluates to the given value on the current exchange
- assertExpression(String, String, String) - Method in class org.apache.camel.test.junit4.LanguageTestSupport
-
Asserts that the expression evaluates to one of the two given values
- assertExpression(Expression, Exchange, Object) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that the given expression when evaluated returns the given answer
- assertFileExists(String) - Static method in class org.apache.camel.test.junit4.TestSupport
-
To be used to check is a file is found in the file system
- assertFileNotExists(String) - Static method in class org.apache.camel.test.junit4.TestSupport
-
To be used to check is a file is not found in the file system
- assertInMessageBodyEquals(Exchange, Object) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that the given exchange has an OUT message of the given body value
- assertInMessageHeader(Exchange, String, Object) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts the In message on the exchange contains the expected value
- assertIsInstanceOf(Class<T>, Object) - Static method in class org.apache.camel.test.junit4.TestSupport
-
- assertListSize(List<T>, int) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that a list is of the given size
- assertListSize(String, List<T>, int) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that a list is of the given size
- assertMessageHeader(Message, String, Object) - Static method in class org.apache.camel.test.junit4.TestSupport
-
- assertMockEndpointsSatisfied() - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Asserts that all the expectations of the Mock endpoints are valid
- assertMockEndpointsSatisfied(long, TimeUnit) - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Asserts that all the expectations of the Mock endpoints are valid
- assertOneElement(List<T>) - Static method in class org.apache.camel.test.junit4.TestSupport
-
- assertOutMessageBodyEquals(Exchange, Object) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that the given exchange has an OUT message of the given body value
- assertOutMessageHeader(Exchange, String, Object) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts the Out message on the exchange contains the expected value
- assertPredicate(String, String, Exchange, boolean) - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Asserts that the given language name and predicate expression evaluates
to the expected value on the message exchange
- assertPredicate(String) - Method in class org.apache.camel.test.junit4.LanguageTestSupport
-
Asserts that the given predicate expression evaluated on the current language and message
exchange evaluates to true
- assertPredicate(String, boolean) - Method in class org.apache.camel.test.junit4.LanguageTestSupport
-
Asserts that the given predicate expression evaluated on the current language and message
exchange evaluates to the expected value
- assertPredicate(Exchange, String, boolean) - Method in class org.apache.camel.test.junit4.LanguageTestSupport
-
- assertPredicate(Predicate, Exchange, boolean) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that the predicate returns the expected value on the exchange
- assertPredicateDoesNotMatch(Predicate, Exchange) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that the predicate returns the expected value on the exchange
- assertPredicateFails(String) - Method in class org.apache.camel.test.junit4.LanguageTestSupport
-
Asserts that the given predicate expression evaluated on the current language and message
exchange evaluates to false
- assertPredicateMatches(Predicate, Exchange) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that the predicate returns the expected value on the exchange
- assertResolveLanguage(String) - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Asserts that the language name can be resolved
- assertStringContains(String, String) - Static method in class org.apache.camel.test.junit4.TestSupport
-
Asserts that the text contains the given string
- assertValidContext(CamelContext) - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
- available(int) - Static method in class org.apache.camel.test.AvailablePortFinder
-
Checks to see if a specific port is available.
- AvailablePortFinder - Class in org.apache.camel.test
-
Finds currently available server ports.
- getCamelContextService() - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
- getCamelTestWatcher() - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
- getJavaMajorVersion() - Static method in class org.apache.camel.test.junit4.TestSupport
-
Returns the current major Java version e.g 8.
- getLanguageName() - Method in class org.apache.camel.test.junit4.LanguageTestSupport
-
- getMandatoryEndpoint(String, Class<T>) - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
- getMandatoryEndpoint(String) - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
- getMockEndpoint(String) - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Resolves the mandatory Mock endpoint using a URI of the form mock:someName
- getMockEndpoint(String, boolean) - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Resolves the MockEndpoint using a URI of the form mock:someName, optionally
creating it if it does not exist.
- getNextAvailable() - Static method in class org.apache.camel.test.AvailablePortFinder
-
Gets the next available port starting at the lowest number.
- getNextAvailable(int) - Static method in class org.apache.camel.test.AvailablePortFinder
-
Gets the next available port starting at a given from port.
- getRouteFilterExcludePattern() - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Used for filtering routes routes matching the given pattern, which follows the following rules:
- Match by route id
- Match by route input endpoint uri
The matching is using exact match, by wildcard and regular expression.
- getRouteFilterIncludePattern() - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Used for filtering routes routes matching the given pattern, which follows the following rules:
- Match by route id
- Match by route input endpoint uri
The matching is using exact match, by wildcard and regular expression.
- getRouteList(RouteBuilder) - Static method in class org.apache.camel.test.junit4.TestSupport
-
A helper method to create a list of Route objects for a given route builder
- getShutdownTimeout() - Method in class org.apache.camel.test.junit4.CamelTestSupport
-
Returns the timeout to use when shutting down (unit in seconds).
- getTestMethodName() - Method in class org.apache.camel.test.junit4.TestSupport
-
Gets the current test method name
- getTestName() - Method in class org.apache.camel.test.junit4.TestSupport
-
Gets the current test name