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:
Mahmoud Ben Hassine
2021-09-13 11:07:41 +02:00
parent e8bbde10e5
commit ddbd0d8ebc
15 changed files with 23 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2007 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.
@@ -22,7 +22,7 @@ import org.springframework.batch.item.file.transform.DelimitedLineTokenizer;
import org.springframework.beans.NotWritablePropertyException;
import org.springframework.validation.BindException;
public class BeanWrapperFieldSetMapperFuzzyMatchingTest {
public class BeanWrapperFieldSetMapperFuzzyMatchingTests {
@Test(expected = NotWritablePropertyException.class)
public void testFuzzyMatchingWithKeyCandidateCollision() throws BindException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018 the original author or authors.
* Copyright 2018-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.
@@ -22,7 +22,7 @@ import org.junit.Test;
/**
* @author Mahmoud Ben Hassine
*/
public class GsonJsonObjectMarshallerTest {
public class GsonJsonObjectMarshallerTests {
@Test
public void testJsonMarshalling() {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018 the original author or authors.
* Copyright 2018-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.
@@ -22,7 +22,7 @@ import org.junit.Test;
/**
* @author Mahmoud Ben Hassine
*/
public class JacksonJsonObjectMarshallerTest {
public class JacksonJsonObjectMarshallerTests {
@Test
public void testJsonMarshalling() {

View File

@@ -39,7 +39,7 @@ import static org.junit.Assert.assertTrue;
* @author Mahmoud Ben Hassine
* @author Glenn Renfro
*/
public class JsonFileItemWriterBuilderTest {
public class JsonFileItemWriterBuilderTests {
private Resource resource;
private JsonObjectMarshaller<String> jsonObjectMarshaller;

View File

@@ -33,7 +33,7 @@ import static org.springframework.test.util.ReflectionTestUtils.getField;
/**
* @author Mahmoud Ben Hassine
*/
public class JsonItemReaderBuilderTest {
public class JsonItemReaderBuilderTests {
@Rule
public MockitoRule rule = MockitoJUnit.rule().silent();

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018 the original author or authors.
* Copyright 2018-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.
@@ -24,7 +24,7 @@ import org.junit.Test;
/**
* @author Mahmoud Ben Hassine
*/
public class BeanValidatingItemProcessorTest {
public class BeanValidatingItemProcessorTests {
@Test
public void testValidObjectValidation() throws Exception {