|
1 |
| -package org.springframework.batch.test; |
2 | 1 | /*
|
3 | 2 | * Copyright 2020-2022 the original author or authors.
|
4 | 3 | *
|
|
15 | 14 | * limitations under the License.
|
16 | 15 | */
|
17 | 16 |
|
| 17 | +package org.springframework.batch.core.step.builder; |
| 18 | + |
18 | 19 | import static org.junit.Assert.assertEquals;
|
19 | 20 | import static org.mockito.Mockito.mock;
|
20 | 21 |
|
|
23 | 24 | import org.junit.jupiter.api.BeforeEach;
|
24 | 25 | import org.junit.jupiter.api.Test;
|
25 | 26 | import org.springframework.batch.core.repository.JobRepository;
|
26 |
| -import org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder; |
27 |
| -import org.springframework.batch.core.step.builder.SimpleStepBuilder; |
28 |
| -import org.springframework.batch.core.step.builder.StepBuilderHelper; |
29 | 27 | import org.springframework.batch.item.ItemProcessor;
|
30 | 28 | import org.springframework.batch.item.ItemReader;
|
31 | 29 | import org.springframework.batch.item.ItemWriter;
|
32 |
| -import org.springframework.batch.test.context.SpringBatchTest; |
33 | 30 | import org.springframework.core.task.SimpleAsyncTaskExecutor;
|
34 | 31 | import org.springframework.core.task.TaskExecutor;
|
35 |
| -import org.springframework.test.context.junit.jupiter.SpringJUnitConfig; |
36 | 32 |
|
37 | 33 | /**
|
38 | 34 | * Test cases for verifying the {@link AbstractTaskletStepBuilder} and faultTolerant() functionality.
|
39 | 35 | *
|
40 | 36 | * @author Ilpyo Yang
|
41 | 37 | */
|
42 |
| -@SpringBatchTest |
43 |
| -@SpringJUnitConfig |
44 |
| -public class AbstractTaskletStepBuilderTests { |
| 38 | + |
| 39 | +class AbstractTaskletStepBuilderTests { |
45 | 40 | private final JobRepository jobRepository = mock(JobRepository.class);
|
46 | 41 | private final int chunkSize = 10;
|
47 | 42 | private final ItemReader itemReader = mock(ItemReader.class);
|
|
0 commit comments