File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/test/java/org/mybatis/spring/sample Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 16
16
package org .mybatis .spring .sample ;
17
17
18
18
import org .mybatis .spring .sample .config .SampleJobConfig ;
19
+ import org .springframework .batch .test .context .SpringBatchTest ;
19
20
import org .springframework .test .context .junit .jupiter .SpringJUnitConfig ;
20
21
21
22
@ SpringJUnitConfig ({ SampleJobConfig .class , AbstractSampleJobTest .LocalContext .class })
23
+ @ SpringBatchTest
22
24
class SampleJobJavaConfigTest extends AbstractSampleJobTest {
23
25
@ Override
24
26
protected String getExpectedOperationBy () {
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .mybatis .spring .sample ;
17
17
18
+ import org .springframework .batch .test .context .SpringBatchTest ;
18
19
import org .springframework .context .annotation .Configuration ;
19
20
import org .springframework .context .annotation .ImportResource ;
20
21
import org .springframework .test .context .junit .jupiter .SpringJUnitConfig ;
21
22
22
23
@ SpringJUnitConfig ({ AbstractSampleJobTest .LocalContext .class , SampleJobXmlConfigTest .LocalContext .class })
24
+ @ SpringBatchTest
23
25
class SampleJobXmlConfigTest extends AbstractSampleJobTest {
24
26
25
27
@ Override
You can’t perform that action at this time.
0 commit comments