|
|||||||||
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.XmlRpcTestCase org.apache.xmlrpc.test.BaseTest
public class BaseTest
An abstract test case, to be implemented for the various transport classes.
Nested Class Summary | |
---|---|
static class |
BaseTest.Remote
The remote class being invoked by the test case. |
Field Summary |
---|
Fields inherited from class org.apache.xmlrpc.test.XmlRpcTestCase |
---|
providers |
Constructor Summary | |
---|---|
BaseTest()
|
Method Summary | |
---|---|
protected org.apache.xmlrpc.server.XmlRpcHandlerMapping |
getHandlerMapping()
|
void |
testByteArrayParam()
Test, whether we can invoke a method, passing a byte array. |
void |
testByteArrayResult()
Test, whether we can invoke a method, returning a byte array. |
void |
testByteParam()
Test, whether we can invoke a method, passing a byte value. |
void |
testByteResult()
Test, whether we can invoke a method, returning a byte. |
void |
testCalendarParam()
Tests, whether we can invoke a method, passing an instance of Calendar as a parameter. |
void |
testCatchNPE()
Tests, whether a NullPointerException, thrown by the server, can be trapped by the client. |
void |
testDateParam()
Tests, whether we can invoke a method, passing an instance of Date as a parameter. |
void |
testDoubleParam()
Test, whether we can invoke a method, passing a double value. |
void |
testDoubleResult()
Test, whether we can invoke a method, returning a double value. |
void |
testFloatParam()
Test, whether we can invoke a method, passing a float value. |
void |
testFloatResult()
Test, whether we can invoke a method, returning a float value. |
void |
testIntParam()
Test, whether we can invoke a method, passing an integer value. |
void |
testLongParam()
Test, whether we can invoke a method, passing a long value. |
void |
testLongResult()
Test, whether we can invoke a method, returning a long value. |
void |
testMapParam()
Test, whether we can invoke a method, passing a map. |
void |
testMapResult()
Test, whether we can invoke a method, returning a map. |
void |
testNodeParam()
Test, whether we can invoke a method, passing a DOM node as parameter. |
void |
testNullableStringParam()
Test, whether we can invoke a method, passing a string value or null. |
void |
testNullableStringResult()
Test, whether we can invoke a method, returning a string value or null. |
void |
testObjectArrayParam()
Test, whether we can invoke a method, passing an object array. |
void |
testObjectArrayResult()
Test, whether we can invoke a method, returning an object array. |
void |
testSerializableParam()
Test, whether we can invoke a method, passing an instance of Serializable as a parameter. |
void |
testShortParam()
Test, whether we can invoke a method, passing a short value. |
void |
testShortResult()
Test, whether we can invoke a method, returning a short value. |
void |
testStringParam()
Test, whether we can invoke a method, passing a string value. |
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 |
---|
public BaseTest()
Method Detail |
---|
protected org.apache.xmlrpc.server.XmlRpcHandlerMapping getHandlerMapping() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
getHandlerMapping
in class XmlRpcTestCase
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testByteParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testByteResult() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testShortParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testShortResult() 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 testLongParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testLongResult() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testStringParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testNullableStringParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testNullableStringResult() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testFloatParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testFloatResult() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testDoubleParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testDoubleResult() 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 testByteArrayResult() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testObjectArrayParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testObjectArrayResult() 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 testMapResult() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testNodeParam() throws java.lang.Exception
java.lang.Exception
- The test failed.public void testSerializableParam() throws java.lang.Exception
Serializable
as a parameter.
java.lang.Exception
- The test failed.public void testCalendarParam() throws java.lang.Exception
Calendar
as a parameter.
java.lang.Exception
- The test failed.public void testDateParam() throws java.lang.Exception
Date
as a parameter.
java.lang.Exception
- The test failed.public void testCatchNPE() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |