|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.xmlrpc.test.SerializerTest
public class SerializerTest
A test case for the various serializers.
Constructor Summary | |
---|---|
SerializerTest()
Creates a new instance. |
Method Summary | |
---|---|
protected org.apache.xmlrpc.client.XmlRpcClientConfigImpl |
getConfig()
|
protected org.apache.xmlrpc.common.XmlRpcStreamRequestConfig |
getExConfig()
|
void |
testByteArrayParam()
Test serialization of a byte array. |
void |
testByteParam()
Test serialization of a byte parameter. |
void |
testCalendarParam()
Tests serialization of a calendar instance. |
void |
testIntegerKeyMap()
Test for XMLRPC-127: Is it possible to transmit a map with integers as the keys? |
void |
testIntParam()
Test serialization of an integer parameter. |
void |
testMapParam()
Test serialization of a map. |
protected java.lang.String |
writeRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig,
org.apache.xmlrpc.XmlRpcRequest pRequest)
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
---|
public SerializerTest()
Method Detail |
---|
protected org.apache.xmlrpc.client.XmlRpcClientConfigImpl getConfig()
protected org.apache.xmlrpc.common.XmlRpcStreamRequestConfig getExConfig()
protected java.lang.String writeRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig, org.apache.xmlrpc.XmlRpcRequest pRequest) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void testByteParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testIntParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testByteArrayParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testMapParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testCalendarParam() throws java.lang.Exception
java.lang.Exception
public void testIntegerKeyMap() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |