From dbc901fba9c2e52194c43592839bb0d976a6d50a Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Sun, 27 Jan 2008 13:30:11 +0000 Subject: [PATCH] Deleted --- ...ticatedProcesingFilterEntryPointTests.java | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100755 core/src/test/java/org/springframework/security/ui/preauth/PreAuthenticatedProcesingFilterEntryPointTests.java diff --git a/core/src/test/java/org/springframework/security/ui/preauth/PreAuthenticatedProcesingFilterEntryPointTests.java b/core/src/test/java/org/springframework/security/ui/preauth/PreAuthenticatedProcesingFilterEntryPointTests.java deleted file mode 100755 index 74bc580caf..0000000000 --- a/core/src/test/java/org/springframework/security/ui/preauth/PreAuthenticatedProcesingFilterEntryPointTests.java +++ /dev/null @@ -1,42 +0,0 @@ -package org.springframework.security.ui.preauth; - -import org.springframework.security.AuthenticationCredentialsNotFoundException; - -import java.io.IOException; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletResponse; - -import junit.framework.TestCase; - -import org.springframework.mock.web.MockHttpServletRequest; -import org.springframework.mock.web.MockHttpServletResponse; - -/** - * - * @author TSARDD - * @since 18-okt-2007 - */ -public class PreAuthenticatedProcesingFilterEntryPointTests extends TestCase { - - public void testGetSetOrder() { - PreAuthenticatedProcessingFilterEntryPoint fep = new PreAuthenticatedProcessingFilterEntryPoint(); - fep.setOrder(333); - assertEquals(fep.getOrder(), 333); - } - - public void testCommence() { - MockHttpServletRequest req = new MockHttpServletRequest(); - MockHttpServletResponse resp = new MockHttpServletResponse(); - PreAuthenticatedProcessingFilterEntryPoint fep = new PreAuthenticatedProcessingFilterEntryPoint(); - try { - fep.commence(req,resp,new AuthenticationCredentialsNotFoundException("test")); - assertEquals("Incorrect status",resp.getStatus(),HttpServletResponse.SC_FORBIDDEN); - } catch (IOException e) { - fail("Unexpected exception thrown: "+e); - } catch (ServletException e) { - fail("Unexpected exception thrown: "+e); - } - - } -}