org.apache.xmlrpc.test
Class AuthenticationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.xmlrpc.test.XmlRpcTestCase
              extended by org.apache.xmlrpc.test.AuthenticationTest
All Implemented Interfaces:
junit.framework.Test

public class AuthenticationTest
extends XmlRpcTestCase

Test case for supported authentication variants.


Nested Class Summary
static interface AuthenticationTest.Adder
          An interface, which is being implemented by the server.
static class AuthenticationTest.AdderImpl
          Implementation of DynamicProxyTest.Adder, which is used by the server.
 
Field Summary
 
Fields inherited from class org.apache.xmlrpc.test.XmlRpcTestCase
providers
 
Constructor Summary
AuthenticationTest()
           
 
Method Summary
protected  org.apache.xmlrpc.client.XmlRpcClientConfigImpl getConfig(ClientProvider pProvider)
           
protected  org.apache.xmlrpc.server.XmlRpcHandlerMapping getHandlerMapping()
           
 void testAdderCall()
          Tests calling the AuthenticationTest.Adder.add(int,int) method by using an object, which has been created by the ClientFactory.
 
Methods inherited from class org.apache.xmlrpc.test.XmlRpcTestCase
getExConfig, getHandlerMapping, getTypeConverterFactory, initProviders, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationTest

public AuthenticationTest()
Method Detail

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

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


Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.