Updated samples to use latest boot
Update integration tests to use latest stream paradigm Update tests to be in compliance with 1.5.2. resolves #289
This commit is contained in:
committed by
Michael Minella
parent
4dbc256a4c
commit
4e68adf5fa
@@ -23,14 +23,11 @@ import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.SpringApplicationConfiguration;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.cloud.stream.annotation.Bindings;
|
||||
import org.springframework.cloud.stream.messaging.Processor;
|
||||
import org.springframework.cloud.stream.test.binder.MessageCollector;
|
||||
import org.springframework.cloud.task.launcher.TaskLaunchRequest;
|
||||
import org.springframework.messaging.support.GenericMessage;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import static org.hamcrest.CoreMatchers.is;
|
||||
@@ -47,7 +44,6 @@ public class TaskProcessorApplicationTests {
|
||||
private static final String DEFAULT_PAYLOAD = "hello";
|
||||
|
||||
@Autowired
|
||||
@Bindings(TaskProcessor.class)
|
||||
protected Processor channels;
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user