org.apache.xmlrpc.test
Class DynamicProxyTest

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.DynamicProxyTest
All Implemented Interfaces:
junit.framework.Test

public class DynamicProxyTest
extends XmlRpcTestCase

Test case for the ClientFactory.


Nested Class Summary
static interface DynamicProxyTest.Adder
          An interface, which is being implemented by the server.
static class DynamicProxyTest.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
DynamicProxyTest()
           
 
Method Summary
protected  org.apache.xmlrpc.server.XmlRpcHandlerMapping getHandlerMapping()
           
 void testAdderCall()
          Tests calling the DynamicProxyTest.Adder.add(int,int) method by using an object, which has been created by the ClientFactory.
 void testParseCall()
          Tests trapping a SAXException.
 void testVoidMethod()
          Tests invoking a "void" method.
 
Methods inherited from class org.apache.xmlrpc.test.XmlRpcTestCase
getConfig, 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

DynamicProxyTest

public DynamicProxyTest()
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

testAdderCall

public void testAdderCall()
                   throws java.lang.Exception
Tests calling the DynamicProxyTest.Adder.add(int,int) method by using an object, which has been created by the ClientFactory.

Throws:
java.lang.Exception

testParseCall

public void testParseCall()
                   throws java.lang.Exception
Tests trapping a SAXException.

Throws:
java.lang.Exception

testVoidMethod

public void testVoidMethod()
                    throws java.lang.Exception
Tests invoking a "void" method.

Throws:
java.lang.Exception


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