upgraded to lates s-c-function and s-c-build
cleaned javadoc errors in some modules
This commit is contained in:
@@ -30,15 +30,13 @@ import org.springframework.core.Ordered;
|
||||
import org.springframework.messaging.MessageChannel;
|
||||
|
||||
/**
|
||||
* Installs the {@link TestSupportBinder} and exposes
|
||||
* {@link TestSupportBinder.MessageCollectorImpl} to be injected in tests.
|
||||
* Installs the TestSupportBinder} and exposes
|
||||
* MessageCollectorImplto be injected in tests.
|
||||
*
|
||||
* Note that this auto-configuration has higher priority than regular binder
|
||||
* configuration, so adding this on the classpath in test scope is sufficient to have
|
||||
* support kick in and replace all binders with the test binder.
|
||||
*
|
||||
* The test binder instance is supplied by the {@link TestSupportBinderConfiguration}.
|
||||
*
|
||||
* @author Eric Bottard
|
||||
* @author Marius Bogoevici
|
||||
*/
|
||||
|
||||
@@ -33,29 +33,6 @@ import org.springframework.messaging.Message;
|
||||
/**
|
||||
* A Hamcrest Matcher meant to be used in conjunction with {@link TestSupportBinder}.
|
||||
*
|
||||
* <p>
|
||||
* Expected usage is of the form (with appropriate static imports):
|
||||
*
|
||||
* <pre>
|
||||
* public class TransformProcessorApplicationTests {
|
||||
*
|
||||
* {@literal @}Autowired
|
||||
* {@literal @}Bindings(TransformProcessor.class)
|
||||
* private Processor processor;
|
||||
*
|
||||
* {@literal @}Autowired
|
||||
* private MessageCollectorImpl messageCollector;
|
||||
*
|
||||
*
|
||||
* {@literal @}Test
|
||||
* public void testUsingExpression() {
|
||||
* processor.input().send(new GenericMessage{@literal <}Object>("hello"));
|
||||
* assertThat(messageCollector.forChannel(processor.output()), receivesPayloadThat(is("hellofoo")).within(10));
|
||||
* }
|
||||
*
|
||||
* }
|
||||
* </pre>
|
||||
* </p>
|
||||
*
|
||||
* @param <T> return type
|
||||
* @author Eric Bottard
|
||||
|
||||
Reference in New Issue
Block a user