Browse Source

Remove unnecessary console output from tests.

Ben Alex 21 years ago
parent
commit
70a9c76f69

+ 0 - 2
core/src/test/java/org/acegisecurity/providers/encoding/BasePasswordEncoderTests.java

@@ -89,8 +89,6 @@ public class BasePasswordEncoderTests extends TestCase {
         assertEquals("p{ass{w{o}rd{foo}", merged);
 
         String[] demerged = pwd.nowDemergePasswordAndSalt(merged);
-        System.out.println(demerged[0]);
-        System.out.println(demerged[1]);
 
         assertEquals("p{ass{w{o}rd", demerged[0]);
         assertEquals("foo", demerged[1]);

+ 0 - 4
core/src/test/java/org/acegisecurity/securechannel/RetryWithHttpEntryPointTests.java

@@ -92,7 +92,6 @@ public class RetryWithHttpEntryPointTests extends TestCase {
         ep.afterPropertiesSet();
 
         ep.commence(request, response);
-        System.out.println(response.getRedirect());
         assertEquals("http://www.example.com/bigWebApp/hello/pathInfo.html?open=true",
             response.getRedirect());
     }
@@ -115,7 +114,6 @@ public class RetryWithHttpEntryPointTests extends TestCase {
         ep.afterPropertiesSet();
 
         ep.commence(request, response);
-        System.out.println(response.getRedirect());
         assertEquals("http://www.example.com/bigWebApp/hello",
             response.getRedirect());
     }
@@ -138,7 +136,6 @@ public class RetryWithHttpEntryPointTests extends TestCase {
         ep.afterPropertiesSet();
 
         ep.commence(request, response);
-        System.out.println(response.getRedirect());
         assertEquals("/bigWebApp", response.getRedirect());
     }
 
@@ -164,7 +161,6 @@ public class RetryWithHttpEntryPointTests extends TestCase {
         ep.afterPropertiesSet();
 
         ep.commence(request, response);
-        System.out.println(response.getRedirect());
         assertEquals("http://www.example.com:8888/bigWebApp/hello/pathInfo.html?open=true",
             response.getRedirect());
     }

+ 0 - 4
core/src/test/java/org/acegisecurity/securechannel/RetryWithHttpsEntryPointTests.java

@@ -92,7 +92,6 @@ public class RetryWithHttpsEntryPointTests extends TestCase {
         ep.afterPropertiesSet();
 
         ep.commence(request, response);
-        System.out.println(response.getRedirect());
         assertEquals("https://www.example.com/bigWebApp/hello/pathInfo.html?open=true",
             response.getRedirect());
     }
@@ -115,7 +114,6 @@ public class RetryWithHttpsEntryPointTests extends TestCase {
         ep.afterPropertiesSet();
 
         ep.commence(request, response);
-        System.out.println(response.getRedirect());
         assertEquals("https://www.example.com/bigWebApp/hello",
             response.getRedirect());
     }
@@ -138,7 +136,6 @@ public class RetryWithHttpsEntryPointTests extends TestCase {
         ep.afterPropertiesSet();
 
         ep.commence(request, response);
-        System.out.println(response.getRedirect());
         assertEquals("/bigWebApp", response.getRedirect());
     }
 
@@ -164,7 +161,6 @@ public class RetryWithHttpsEntryPointTests extends TestCase {
         ep.afterPropertiesSet();
 
         ep.commence(request, response);
-        System.out.println(response.getRedirect());
         assertEquals("https://www.example.com:9999/bigWebApp/hello/pathInfo.html?open=true",
             response.getRedirect());
     }

+ 0 - 1
core/src/test/java/org/acegisecurity/ui/webapp/AuthenticationProcessingFilterEntryPointTests.java

@@ -123,7 +123,6 @@ public class AuthenticationProcessingFilterEntryPointTests extends TestCase {
         request.setServerPort(8080);
         ep.setPortResolver(new MockPortResolver(8080, 8443));
         ep.commence(request, response);
-        System.out.println(response.getRedirect());
         assertEquals("https://www.example.com:8443/bigWebApp/hello",
             response.getRedirect());