mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-27 06:12:27 +00:00
Renamed **/Test.java to **/Tests.java to better follow conventions
This commit is contained in:
parent
aabb16912f
commit
8ca2927761
@ -13,7 +13,7 @@ import java.util.*;
|
|||||||
* @author Ruud Senden
|
* @author Ruud Senden
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public class MapBasedAttributes2GrantedAuthoritiesMapperTest {
|
public class MapBasedAttributes2GrantedAuthoritiesMapperTests {
|
||||||
|
|
||||||
@Test(expected=IllegalArgumentException.class)
|
@Test(expected=IllegalArgumentException.class)
|
||||||
public void testAfterPropertiesSetNoMap() throws Exception {
|
public void testAfterPropertiesSetNoMap() throws Exception {
|
@ -34,7 +34,7 @@ import org.junit.Test;
|
|||||||
* @author Mike Wiesner
|
* @author Mike Wiesner
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
*/
|
*/
|
||||||
public class JndiDnsResolverTest {
|
public class JndiDnsResolverTests {
|
||||||
|
|
||||||
private JndiDnsResolver dnsResolver;
|
private JndiDnsResolver dnsResolver;
|
||||||
private InitialContextFactory contextFactory;
|
private InitialContextFactory contextFactory;
|
@ -22,7 +22,7 @@ import org.springframework.security.core.context.SecurityContextHolder;
|
|||||||
import javax.servlet.jsp.JspException;
|
import javax.servlet.jsp.JspException;
|
||||||
|
|
||||||
|
|
||||||
public class AuthzImplAttributeTest extends TestCase {
|
public class AuthzImplAttributeTests extends TestCase {
|
||||||
//~ Instance fields ================================================================================================
|
//~ Instance fields ================================================================================================
|
||||||
|
|
||||||
private final Authz authz = new AuthzImpl();
|
private final Authz authz = new AuthzImpl();
|
@ -19,7 +19,7 @@ import junit.framework.TestCase;
|
|||||||
import org.springframework.security.authentication.TestingAuthenticationToken;
|
import org.springframework.security.authentication.TestingAuthenticationToken;
|
||||||
import org.springframework.security.core.context.SecurityContextHolder;
|
import org.springframework.security.core.context.SecurityContextHolder;
|
||||||
|
|
||||||
public class AuthzImplAuthorizeTagTest extends TestCase {
|
public class AuthzImplAuthorizeTagTests extends TestCase {
|
||||||
//~ Instance fields ================================================================================================
|
//~ Instance fields ================================================================================================
|
||||||
|
|
||||||
private Authz authz = new AuthzImpl();
|
private Authz authz = new AuthzImpl();
|
@ -18,7 +18,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|||||||
|
|
||||||
@RunWith(SpringJUnit4ClassRunner.class)
|
@RunWith(SpringJUnit4ClassRunner.class)
|
||||||
@ContextConfiguration(locations = "classpath:org/springframework/security/web/authentication/DelegatingAuthenticationEntryPointTest-context.xml")
|
@ContextConfiguration(locations = "classpath:org/springframework/security/web/authentication/DelegatingAuthenticationEntryPointTest-context.xml")
|
||||||
public class DelegatingAuthenticationEntryPointContextTest {
|
public class DelegatingAuthenticationEntryPointContextTests {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private DelegatingAuthenticationEntryPoint daep;
|
private DelegatingAuthenticationEntryPoint daep;
|
@ -34,7 +34,7 @@ import org.springframework.security.web.util.RequestMatcher;
|
|||||||
* @since 3.0.2
|
* @since 3.0.2
|
||||||
* @version $Id:$
|
* @version $Id:$
|
||||||
*/
|
*/
|
||||||
public class DelegatingAuthenticationEntryPointTest {
|
public class DelegatingAuthenticationEntryPointTests {
|
||||||
|
|
||||||
private DelegatingAuthenticationEntryPoint daep;
|
private DelegatingAuthenticationEntryPoint daep;
|
||||||
private LinkedHashMap<RequestMatcher, AuthenticationEntryPoint> entryPoints;
|
private LinkedHashMap<RequestMatcher, AuthenticationEntryPoint> entryPoints;
|
@ -57,7 +57,7 @@ import org.springframework.security.web.jaasapi.JaasApiIntegrationFilter;
|
|||||||
*
|
*
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
*/
|
*/
|
||||||
public class JaasApiIntegrationFilterTest {
|
public class JaasApiIntegrationFilterTests {
|
||||||
//~ Instance fields ================================================================================================
|
//~ Instance fields ================================================================================================
|
||||||
private JaasApiIntegrationFilter filter;
|
private JaasApiIntegrationFilter filter;
|
||||||
private MockHttpServletRequest request;
|
private MockHttpServletRequest request;
|
Loading…
x
Reference in New Issue
Block a user