org.apache.xmlrpc.test
Class CustomTypesTest

java.lang.Object
  extended by TestCase
      extended by org.apache.xmlrpc.test.XmlRpcTestCase
          extended by org.apache.xmlrpc.test.CustomTypesTest

public class CustomTypesTest
extends XmlRpcTestCase

Test suite for working with custom types.


Nested Class Summary
static class CustomTypesTest.DateConverter
          Sample date converter
 
Field Summary
 
Fields inherited from class org.apache.xmlrpc.test.XmlRpcTestCase
providers
 
Constructor Summary
CustomTypesTest()
           
 
Method Summary
private  org.apache.xmlrpc.common.TypeFactory getCustomDateTypeFactory(org.apache.xmlrpc.common.XmlRpcController pController, java.text.Format pFormat)
           
protected  org.apache.xmlrpc.server.XmlRpcHandlerMapping getHandlerMapping()
           
 void testCustomDateFormat()
          Tests using a custom date format.
private  void testCustomDateFormat(ClientProvider pProvider)
           
 
Methods inherited from class org.apache.xmlrpc.test.XmlRpcTestCase
getConfig, getExConfig, getHandlerMapping, getTypeConverterFactory, initProviders, setUp, tearDown, writeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomTypesTest

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

testCustomDateFormat

public void testCustomDateFormat()
                          throws java.lang.Exception
Tests using a custom date format.

Throws:
java.lang.Exception

getCustomDateTypeFactory

private org.apache.xmlrpc.common.TypeFactory getCustomDateTypeFactory(org.apache.xmlrpc.common.XmlRpcController pController,
                                                                      java.text.Format pFormat)

testCustomDateFormat

private void testCustomDateFormat(ClientProvider pProvider)
                           throws java.lang.Exception
Throws:
java.lang.Exception