org.apache.xmlrpc.test
Class AuthenticationTest
java.lang.Object
TestCase
org.apache.xmlrpc.test.XmlRpcTestCase
org.apache.xmlrpc.test.AuthenticationTest
public class AuthenticationTest
- extends XmlRpcTestCase
Test case for supported authentication variants.
Field Summary |
private static java.lang.String |
PASSWORD
|
private static java.lang.String |
USER_NAME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PASSWORD
private static final java.lang.String PASSWORD
- See Also:
- Constant Field Values
USER_NAME
private static final java.lang.String USER_NAME
- See Also:
- Constant Field Values
AuthenticationTest
public AuthenticationTest()
getHandlerMapping
protected org.apache.xmlrpc.server.XmlRpcHandlerMapping getHandlerMapping()
throws java.io.IOException,
org.apache.xmlrpc.XmlRpcException
- Specified by:
getHandlerMapping
in class XmlRpcTestCase
- Throws:
java.io.IOException
org.apache.xmlrpc.XmlRpcException
getConfig
protected org.apache.xmlrpc.client.XmlRpcClientConfigImpl getConfig(ClientProvider pProvider)
throws java.lang.Exception
- Overrides:
getConfig
in class XmlRpcTestCase
- Throws:
java.lang.Exception
getClientFactory
private org.apache.xmlrpc.client.util.ClientFactory getClientFactory(ClientProvider pProvider)
throws java.lang.Exception
- Throws:
java.lang.Exception
testAdderCall
public void testAdderCall()
throws java.lang.Exception
- Tests calling the
AuthenticationTest.Adder.add(int,int)
method
by using an object, which has been created by the
ClientFactory
.
- Throws:
java.lang.Exception
testAdderCall
private void testAdderCall(ClientProvider pProvider)
throws java.lang.Exception
- Throws:
java.lang.Exception