Author: kkolinko
Date: Sun Jan 15 03:54:17 2012
New Revision: 1231620
URL: http://svn.apache.org/viewvc?rev=1231620&view=rev
Log:
In TestNonLoginAndBasicAuthenticator:
Reduce visibility of methods that are not called from outside. Fix javadoc
formatting.
Modified:
tomcat/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java
Modified:
tomcat/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java?rev=1231620&r1=1231619&r2=1231620&view=diff
==============================================================================
---
tomcat/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java
(original)
+++
tomcat/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java
Sun Jan 15 03:54:17 2012
@@ -40,6 +40,7 @@ import org.apache.tomcat.util.buf.ByteCh
* Test BasicAuthenticator and NonLoginAuthenticator when a
* SingleSignOn Valve is not active.
*
+ * <p>
* In the absence of SSO support, these two authenticator classes
* both have quite simple behaviour. By testing them together, we
* can make sure they operate independently and confirm that no
@@ -139,7 +140,7 @@ public class TestNonLoginAndBasicAuthent
}
- public void doTestNonLogin(String uri, boolean expectedReject,
+ private void doTestNonLogin(String uri, boolean expectedReject,
int expectedRC) throws Exception {
Map<String,List<String>> reqHeaders =
@@ -159,9 +160,9 @@ public class TestNonLoginAndBasicAuthent
assertEquals(200, rc);
assertEquals("OK", bc.toString());
}
-}
+ }
- public void doTestBasic(String user, String pwd, String uri,
+ private void doTestBasic(String user, String pwd, String uri,
boolean expectedReject1, int expectedRC1,
boolean expectedReject2, int expectedRC2) throws Exception {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]