|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlrpc.test.BaseTest.Remote
public static class BaseTest.Remote
The remote class being invoked by the test case.
Nested Class Summary | |
---|---|
static class |
BaseTest.Remote.CalendarWrapper
Example of a Serializable instance. |
Constructor Summary | |
---|---|
BaseTest.Remote()
|
Method Summary | |
---|---|
int |
byteArrayParam(byte[] pArg)
Returns the sum of the bytes in the given byte array. |
byte[] |
byteArrayResult(int pArg)
Returns an array with the bytes 0..pArg. |
int |
byteParam(byte pArg)
Returns the argument, multiplied by two. |
byte |
byteResult(byte pArg)
Returns the argument, multiplied by two. |
java.util.Calendar |
calendarParam(java.util.Calendar pCal)
Returns midnight of the following day. |
java.util.Date |
dateParam(java.util.Date pDate)
Returns midnight of the following day. |
double |
doubleParam(double pArg)
Returns the argument, multiplied by two. |
double |
doubleResult(double pArg)
Returns the argument, multiplied by two. |
double |
floatParam(float pArg)
Returns the argument, multiplied by two. |
float |
floatResult(float pArg)
Returns the argument, multiplied by two. |
int |
intParam(int pArg)
Returns the argument, multiplied by two. |
int |
longParam(long pArg)
Returns the argument, multiplied by two. |
long |
longResult(long pArg)
Returns the argument, multiplied by two. |
int |
mapParam(java.util.Map pArg)
Returns a sum over the entries in the map. |
java.util.Map |
mapResult(int pArg)
Returns a map with the stringified values 0..pArg as keys and the corresponding integers as values. |
int |
nodeParam(org.w3c.dom.Node pNode)
Returns the sum of all "int" nodes in pNode . |
java.lang.String |
nullableStringParam(java.lang.String pArg)
Returns the argument, concatenated with itself. |
java.lang.String |
nullableStringResult(java.lang.String pArg)
Returns the argument, concatenated with itself. |
int |
objectArrayParam(java.lang.Object[] pArg)
Returns the sum over the objects in the array. |
java.lang.Object[] |
objectArrayResult(int pArg)
Returns an array of integers with the values 0..pArg. |
long |
serializableParam(BaseTest.Remote.CalendarWrapper pCal)
Returns the calendar value in milliseconds. |
int |
shortParam(short pArg)
Returns the argument, multiplied by two. |
short |
shortResult(short pArg)
Returns the argument, multiplied by two. |
java.lang.String |
stringParam(java.lang.String pArg)
Returns the argument, concatenated with itself. |
java.lang.Object |
throwNPE()
Throws a NullPointerException. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseTest.Remote()
Method Detail |
---|
public int byteParam(byte pArg)
pArg
- The argument being doubled.
public byte byteResult(byte pArg)
pArg
- The argument being doubled.
public int shortParam(short pArg)
pArg
- The argument being doubled.
public short shortResult(short pArg)
pArg
- The argument being doubled.
public int intParam(int pArg)
pArg
- The argument being doubled.
public int longParam(long pArg)
pArg
- The argument being doubled.
public long longResult(long pArg)
pArg
- The argument being doubled.
public double floatParam(float pArg)
pArg
- The argument being doubled.
public float floatResult(float pArg)
pArg
- The argument being doubled.
public double doubleParam(double pArg)
pArg
- The argument being doubled.
public double doubleResult(double pArg)
pArg
- The argument being doubled.
public java.lang.String stringParam(java.lang.String pArg)
pArg
- The argument being concatenated.
public java.lang.Object throwNPE()
public java.lang.String nullableStringParam(java.lang.String pArg)
pArg
- The argument being concatenated.
public java.lang.String nullableStringResult(java.lang.String pArg)
pArg
- The argument being concatenated.
public int byteArrayParam(byte[] pArg)
pArg
- The array of bytes being added.
public byte[] byteArrayResult(int pArg)
pArg
- Requestes byte array length.
public int objectArrayParam(java.lang.Object[] pArg)
pArg
- Object array being added
public java.lang.Object[] objectArrayResult(int pArg)
pArg
- Requested array length.
public int mapParam(java.util.Map pArg)
pArg
- The map being iterated.
public java.util.Map mapResult(int pArg)
pArg
- Requested map size.
public int nodeParam(org.w3c.dom.Node pNode)
pNode
.
pNode
- The node being counted.
public long serializableParam(BaseTest.Remote.CalendarWrapper pCal)
pCal
- Calendar object
pCal.getTime().getTime()
.public java.util.Calendar calendarParam(java.util.Calendar pCal)
public java.util.Date dateParam(java.util.Date pDate)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |