Fix suffix of test classes names
As per Spring Framework code style [1], the suffix of test classes should be "Tests". This commit fixes that for some classes that do not conform to the code style. [1]: https://github.com/spring-projects/spring-framework/wiki/Code-Style#tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013 the original author or authors.
|
||||
* Copyright 2013-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -36,7 +36,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration
|
||||
public class TaskletStepAllowStartIfCompleteTest {
|
||||
public class TaskletStepAllowStartIfCompleteTests {
|
||||
|
||||
@Autowired
|
||||
Job job;
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014 the original author or authors.
|
||||
* Copyright 2014-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -38,7 +38,7 @@ import java.util.List;
|
||||
*/
|
||||
@ContextConfiguration
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
public class ScriptItemProcessorTest {
|
||||
public class ScriptItemProcessorTests {
|
||||
@Autowired
|
||||
private Job job;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2006-2018 the original author or authors.
|
||||
* Copyright 2006-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -29,7 +29,7 @@ import static org.mockito.Mockito.mock;
|
||||
/**
|
||||
* @author Mahmoud Ben Hassine
|
||||
*/
|
||||
public class MethodInvokingTaskletAdapterTest {
|
||||
public class MethodInvokingTaskletAdapterTests {
|
||||
|
||||
private StepContribution stepContribution;
|
||||
private ChunkContext chunkContext;
|
||||
@@ -46,5 +46,5 @@
|
||||
<beans:bean id="processor" class="org.springframework.batch.item.support.ScriptItemProcessor"
|
||||
p:script="org/springframework/batch/core/step/item/processor-test-simple.js"/>
|
||||
|
||||
<beans:bean id="writer" class="org.springframework.batch.core.step.item.ScriptItemProcessorTest$TestItemWriter"/>
|
||||
<beans:bean id="writer" class="org.springframework.batch.core.step.item.ScriptItemProcessorTests$TestItemWriter"/>
|
||||
</beans:beans>
|
||||
Reference in New Issue
Block a user