Rename *Test.java -> *Tests.java
Rename a few test classes that accidentally ended in `Test` instead of `Tests`. Issue gh-8945
This commit is contained in:
@@ -24,7 +24,7 @@ import org.springframework.security.core.authority.mapping.SimpleAuthorityMapper
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
public class LdapAuthenticationProviderConfigurerTest {
|
||||
public class LdapAuthenticationProviderConfigurerTests {
|
||||
|
||||
private LdapAuthenticationProviderConfigurer<AuthenticationManagerBuilder> configurer;
|
||||
|
||||
@@ -30,7 +30,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*
|
||||
* @author Eleftheria Stein
|
||||
*/
|
||||
public class ServerHttpSecurityConfigurationTest {
|
||||
public class ServerHttpSecurityConfigurationTests {
|
||||
@Rule
|
||||
public final SpringTestRule spring = new SpringTestRule();
|
||||
|
||||
@@ -35,7 +35,7 @@ import static org.assertj.core.api.AssertionsForClassTypes.assertThatThrownBy;
|
||||
* @since 5.0
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class UserDetailsResourceFactoryBeanTest {
|
||||
public class UserDetailsResourceFactoryBeanTests {
|
||||
@Mock
|
||||
ResourceLoader resourceLoader;
|
||||
|
||||
@@ -95,16 +95,16 @@ public class FormLoginConfigTests {
|
||||
.param("username", "user")
|
||||
.param("password", "password")
|
||||
.with(csrf()))
|
||||
.andExpect(redirectedUrl(WebConfigUtilsTest.URL + "/default"));
|
||||
.andExpect(redirectedUrl(WebConfigUtilsTests.URL + "/default"));
|
||||
|
||||
this.mvc.perform(post("/login")
|
||||
.param("username", "user")
|
||||
.param("password", "wrong")
|
||||
.with(csrf()))
|
||||
.andExpect(redirectedUrl(WebConfigUtilsTest.URL + "/failure"));
|
||||
.andExpect(redirectedUrl(WebConfigUtilsTests.URL + "/failure"));
|
||||
|
||||
this.mvc.perform(get("/"))
|
||||
.andExpect(redirectedUrl("http://localhost" + WebConfigUtilsTest.URL + "/login"));
|
||||
.andExpect(redirectedUrl("http://localhost" + WebConfigUtilsTests.URL + "/login"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.beans.factory.xml.ParserContext;
|
||||
|
||||
@RunWith(PowerMockRunner.class)
|
||||
@PrepareOnlyThisForTest(ParserContext.class)
|
||||
public class WebConfigUtilsTest {
|
||||
public class WebConfigUtilsTests {
|
||||
public final static String URL = "/url";
|
||||
|
||||
@Mock
|
||||
@@ -20,7 +20,7 @@ import org.springframework.beans.factory.support.BeanDefinitionRegistry;
|
||||
import org.springframework.beans.factory.support.GenericBeanDefinition;
|
||||
import org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry;
|
||||
|
||||
public class MessageSecurityPostProcessorTest {
|
||||
public class MessageSecurityPostProcessorTests {
|
||||
|
||||
private WebSocketMessageBrokerSecurityBeanDefinitionParser.MessageSecurityPostProcessor postProcessor =
|
||||
new WebSocketMessageBrokerSecurityBeanDefinitionParser.MessageSecurityPostProcessor("id", false);
|
||||
Reference in New Issue
Block a user