mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-04-27 01:25:41 +00:00
Remove unnecessary console output from tests.
This commit is contained in:
parent
ef2e45df77
commit
70a9c76f69
@ -89,8 +89,6 @@ public class BasePasswordEncoderTests extends TestCase {
|
|||||||
assertEquals("p{ass{w{o}rd{foo}", merged);
|
assertEquals("p{ass{w{o}rd{foo}", merged);
|
||||||
|
|
||||||
String[] demerged = pwd.nowDemergePasswordAndSalt(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("p{ass{w{o}rd", demerged[0]);
|
||||||
assertEquals("foo", demerged[1]);
|
assertEquals("foo", demerged[1]);
|
||||||
|
@ -92,7 +92,6 @@ public class RetryWithHttpEntryPointTests extends TestCase {
|
|||||||
ep.afterPropertiesSet();
|
ep.afterPropertiesSet();
|
||||||
|
|
||||||
ep.commence(request, response);
|
ep.commence(request, response);
|
||||||
System.out.println(response.getRedirect());
|
|
||||||
assertEquals("http://www.example.com/bigWebApp/hello/pathInfo.html?open=true",
|
assertEquals("http://www.example.com/bigWebApp/hello/pathInfo.html?open=true",
|
||||||
response.getRedirect());
|
response.getRedirect());
|
||||||
}
|
}
|
||||||
@ -115,7 +114,6 @@ public class RetryWithHttpEntryPointTests extends TestCase {
|
|||||||
ep.afterPropertiesSet();
|
ep.afterPropertiesSet();
|
||||||
|
|
||||||
ep.commence(request, response);
|
ep.commence(request, response);
|
||||||
System.out.println(response.getRedirect());
|
|
||||||
assertEquals("http://www.example.com/bigWebApp/hello",
|
assertEquals("http://www.example.com/bigWebApp/hello",
|
||||||
response.getRedirect());
|
response.getRedirect());
|
||||||
}
|
}
|
||||||
@ -138,7 +136,6 @@ public class RetryWithHttpEntryPointTests extends TestCase {
|
|||||||
ep.afterPropertiesSet();
|
ep.afterPropertiesSet();
|
||||||
|
|
||||||
ep.commence(request, response);
|
ep.commence(request, response);
|
||||||
System.out.println(response.getRedirect());
|
|
||||||
assertEquals("/bigWebApp", response.getRedirect());
|
assertEquals("/bigWebApp", response.getRedirect());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -164,7 +161,6 @@ public class RetryWithHttpEntryPointTests extends TestCase {
|
|||||||
ep.afterPropertiesSet();
|
ep.afterPropertiesSet();
|
||||||
|
|
||||||
ep.commence(request, response);
|
ep.commence(request, response);
|
||||||
System.out.println(response.getRedirect());
|
|
||||||
assertEquals("http://www.example.com:8888/bigWebApp/hello/pathInfo.html?open=true",
|
assertEquals("http://www.example.com:8888/bigWebApp/hello/pathInfo.html?open=true",
|
||||||
response.getRedirect());
|
response.getRedirect());
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,6 @@ public class RetryWithHttpsEntryPointTests extends TestCase {
|
|||||||
ep.afterPropertiesSet();
|
ep.afterPropertiesSet();
|
||||||
|
|
||||||
ep.commence(request, response);
|
ep.commence(request, response);
|
||||||
System.out.println(response.getRedirect());
|
|
||||||
assertEquals("https://www.example.com/bigWebApp/hello/pathInfo.html?open=true",
|
assertEquals("https://www.example.com/bigWebApp/hello/pathInfo.html?open=true",
|
||||||
response.getRedirect());
|
response.getRedirect());
|
||||||
}
|
}
|
||||||
@ -115,7 +114,6 @@ public class RetryWithHttpsEntryPointTests extends TestCase {
|
|||||||
ep.afterPropertiesSet();
|
ep.afterPropertiesSet();
|
||||||
|
|
||||||
ep.commence(request, response);
|
ep.commence(request, response);
|
||||||
System.out.println(response.getRedirect());
|
|
||||||
assertEquals("https://www.example.com/bigWebApp/hello",
|
assertEquals("https://www.example.com/bigWebApp/hello",
|
||||||
response.getRedirect());
|
response.getRedirect());
|
||||||
}
|
}
|
||||||
@ -138,7 +136,6 @@ public class RetryWithHttpsEntryPointTests extends TestCase {
|
|||||||
ep.afterPropertiesSet();
|
ep.afterPropertiesSet();
|
||||||
|
|
||||||
ep.commence(request, response);
|
ep.commence(request, response);
|
||||||
System.out.println(response.getRedirect());
|
|
||||||
assertEquals("/bigWebApp", response.getRedirect());
|
assertEquals("/bigWebApp", response.getRedirect());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -164,7 +161,6 @@ public class RetryWithHttpsEntryPointTests extends TestCase {
|
|||||||
ep.afterPropertiesSet();
|
ep.afterPropertiesSet();
|
||||||
|
|
||||||
ep.commence(request, response);
|
ep.commence(request, response);
|
||||||
System.out.println(response.getRedirect());
|
|
||||||
assertEquals("https://www.example.com:9999/bigWebApp/hello/pathInfo.html?open=true",
|
assertEquals("https://www.example.com:9999/bigWebApp/hello/pathInfo.html?open=true",
|
||||||
response.getRedirect());
|
response.getRedirect());
|
||||||
}
|
}
|
||||||
|
@ -123,7 +123,6 @@ public class AuthenticationProcessingFilterEntryPointTests extends TestCase {
|
|||||||
request.setServerPort(8080);
|
request.setServerPort(8080);
|
||||||
ep.setPortResolver(new MockPortResolver(8080, 8443));
|
ep.setPortResolver(new MockPortResolver(8080, 8443));
|
||||||
ep.commence(request, response);
|
ep.commence(request, response);
|
||||||
System.out.println(response.getRedirect());
|
|
||||||
assertEquals("https://www.example.com:8443/bigWebApp/hello",
|
assertEquals("https://www.example.com:8443/bigWebApp/hello",
|
||||||
response.getRedirect());
|
response.getRedirect());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user