File tree Expand file tree Collapse file tree 10 files changed +14
-9
lines changed
spring-cloud-starter-single-step-batch-job/src/test/java/org/springframework/cloud/task/batch/autoconfigure/jdbc
spring-cloud-task-integration-tests
src/test/java/org/springframework/cloud/task
spring-cloud-task-samples
jpa-sample/src/test/java/io/spring
multiple-datasources/src/test/java/io/spring
partitioned-batch-job/src/test/java/org/springframework/cloud/task/partitioner
single-step-batch-job/src/test/java/io/spring Expand file tree Collapse file tree 10 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 4646import org .springframework .boot .autoconfigure .context .PropertyPlaceholderAutoConfiguration ;
4747import org .springframework .boot .test .context .runner .ApplicationContextRunner ;
4848import org .springframework .cloud .task .batch .autoconfigure .SingleStepJobAutoConfiguration ;
49- import org .springframework .cloud .test .TestSocketUtils ;
5049import org .springframework .context .ApplicationContext ;
5150import org .springframework .context .annotation .Bean ;
5251import org .springframework .context .annotation .Configuration ;
5857import org .springframework .jdbc .datasource .DriverManagerDataSource ;
5958import org .springframework .jdbc .datasource .init .ResourceDatabasePopulator ;
6059import org .springframework .test .util .ReflectionTestUtils ;
60+ import org .springframework .test .util .TestSocketUtils ;
6161import org .springframework .transaction .PlatformTransactionManager ;
6262
6363import static org .assertj .core .api .Assertions .assertThat ;
Original file line number Diff line number Diff line change 4343import org .springframework .boot .autoconfigure .context .PropertyPlaceholderAutoConfiguration ;
4444import org .springframework .boot .test .context .runner .ApplicationContextRunner ;
4545import org .springframework .cloud .task .batch .autoconfigure .SingleStepJobAutoConfiguration ;
46- import org .springframework .cloud .test .TestSocketUtils ;
4746import org .springframework .context .annotation .Bean ;
4847import org .springframework .context .annotation .Configuration ;
4948import org .springframework .core .io .ClassPathResource ;
5251import org .springframework .jdbc .datasource .DriverManagerDataSource ;
5352import org .springframework .jdbc .datasource .init .ResourceDatabasePopulator ;
5453import org .springframework .test .util .ReflectionTestUtils ;
54+ import org .springframework .test .util .TestSocketUtils ;
5555import org .springframework .transaction .PlatformTransactionManager ;
5656
5757import static org .assertj .core .api .Assertions .assertThat ;
Original file line number Diff line number Diff line change 146146 <artifactId >spring-cloud-stream</artifactId >
147147 <scope >test</scope >
148148 </dependency >
149+ <dependency >
150+ <groupId >org.springframework.integration</groupId >
151+ <artifactId >spring-integration-test</artifactId >
152+ <scope >test</scope >
153+ </dependency >
149154 <dependency >
150155 <groupId >com.fasterxml.jackson.datatype</groupId >
151156 <artifactId >jackson-datatype-jsr310</artifactId >
Original file line number Diff line number Diff line change 4343import org .springframework .cloud .task .repository .support .SimpleTaskExplorer ;
4444import org .springframework .cloud .task .repository .support .SimpleTaskRepository ;
4545import org .springframework .cloud .task .repository .support .TaskExecutionDaoFactoryBean ;
46- import org .springframework .cloud .test .TestSocketUtils ;
4746import org .springframework .context .ApplicationContextException ;
4847import org .springframework .context .ConfigurableApplicationContext ;
4948import org .springframework .context .annotation .Bean ;
6160import org .springframework .jdbc .datasource .init .DataSourceInitializer ;
6261import org .springframework .jdbc .datasource .init .ResourceDatabasePopulator ;
6362import org .springframework .test .context .junit .jupiter .SpringExtension ;
63+ import org .springframework .test .util .TestSocketUtils ;
6464
6565import static org .assertj .core .api .Assertions .assertThat ;
6666import static org .assertj .core .api .Assertions .assertThatExceptionOfType ;
Original file line number Diff line number Diff line change 3636import org .springframework .cloud .task .repository .TaskExplorer ;
3737import org .springframework .cloud .task .repository .support .SimpleTaskExplorer ;
3838import org .springframework .cloud .task .repository .support .TaskExecutionDaoFactoryBean ;
39- import org .springframework .cloud .test .TestSocketUtils ;
4039import org .springframework .context .ApplicationContextException ;
4140import org .springframework .context .ConfigurableApplicationContext ;
4241import org .springframework .context .annotation .Bean ;
4645import org .springframework .jdbc .core .JdbcTemplate ;
4746import org .springframework .jdbc .datasource .DriverManagerDataSource ;
4847import org .springframework .test .context .junit .jupiter .SpringExtension ;
48+ import org .springframework .test .util .TestSocketUtils ;
4949
5050import static org .assertj .core .api .Assertions .assertThat ;
5151import static org .assertj .core .api .Assertions .assertThatExceptionOfType ;
Original file line number Diff line number Diff line change 4040import org .springframework .cloud .task .repository .TaskExplorer ;
4141import org .springframework .cloud .task .repository .support .SimpleTaskExplorer ;
4242import org .springframework .cloud .task .repository .support .TaskExecutionDaoFactoryBean ;
43- import org .springframework .cloud .test .TestSocketUtils ;
4443import org .springframework .context .annotation .Bean ;
4544import org .springframework .context .annotation .Configuration ;
4645import org .springframework .core .io .ClassPathResource ;
5251import org .springframework .jdbc .datasource .init .ResourceDatabasePopulator ;
5352import org .springframework .messaging .support .GenericMessage ;
5453import org .springframework .test .context .junit .jupiter .SpringExtension ;
54+ import org .springframework .test .util .TestSocketUtils ;
5555
5656import static org .assertj .core .api .Assertions .assertThat ;
5757
Original file line number Diff line number Diff line change 3030import org .springframework .boot .SpringApplication ;
3131import org .springframework .boot .test .system .CapturedOutput ;
3232import org .springframework .boot .test .system .OutputCaptureExtension ;
33- import org .springframework .cloud .test .TestSocketUtils ;
3433import org .springframework .context .ConfigurableApplicationContext ;
3534import org .springframework .jdbc .core .JdbcTemplate ;
3635import org .springframework .jdbc .datasource .DriverManagerDataSource ;
36+ import org .springframework .test .util .TestSocketUtils ;
3737
3838import static org .assertj .core .api .Assertions .assertThat ;
3939
Original file line number Diff line number Diff line change 2626import org .springframework .boot .test .context .SpringBootTest ;
2727import org .springframework .boot .test .system .CapturedOutput ;
2828import org .springframework .boot .test .system .OutputCaptureExtension ;
29- import org .springframework .cloud .test .TestSocketUtils ;
3029import org .springframework .context .annotation .Bean ;
3130import org .springframework .context .annotation .Configuration ;
3231import org .springframework .test .context .junit .jupiter .SpringExtension ;
32+ import org .springframework .test .util .TestSocketUtils ;
3333
3434import static org .assertj .core .api .Assertions .assertThat ;
3535
Original file line number Diff line number Diff line change 3838import org .springframework .cloud .task .repository .TaskExplorer ;
3939import org .springframework .cloud .task .repository .support .SimpleTaskExplorer ;
4040import org .springframework .cloud .task .repository .support .TaskExecutionDaoFactoryBean ;
41- import org .springframework .cloud .test .TestSocketUtils ;
4241import org .springframework .context .annotation .Bean ;
4342import org .springframework .context .annotation .Configuration ;
4443import org .springframework .data .domain .Page ;
4544import org .springframework .data .domain .PageRequest ;
4645import org .springframework .jdbc .core .JdbcTemplate ;
4746import org .springframework .jdbc .datasource .DriverManagerDataSource ;
4847import org .springframework .test .context .junit .jupiter .SpringExtension ;
48+ import org .springframework .test .util .TestSocketUtils ;
4949
5050import static org .assertj .core .api .Assertions .assertThat ;
5151
Original file line number Diff line number Diff line change 3434//import org.springframework.batch.test.AssertFile;
3535import org .springframework .boot .SpringApplication ;
3636import org .springframework .boot .jdbc .DataSourceBuilder ;
37- import org .springframework .cloud .test .TestSocketUtils ;
3837import org .springframework .core .io .ClassPathResource ;
3938//import org.springframework.core.io.FileSystemResource;
4039import org .springframework .jdbc .core .JdbcTemplate ;
4140import org .springframework .jdbc .datasource .DriverManagerDataSource ;
4241import org .springframework .jdbc .datasource .init .ResourceDatabasePopulator ;
42+ import org .springframework .test .util .TestSocketUtils ;
4343
4444import static org .assertj .core .api .Assertions .assertThat ;
4545
You can’t perform that action at this time.
0 commit comments