public void InvalidMethodName() { ArrayList parms = new ArrayList(); parms.Add(this); XmlRpcSystemObject.Invoke(this, "InvalidWombat", parms); }
public void InvalidObject() { ArrayList parms = new ArrayList(); parms.Add(this); XmlRpcSystemObject.Invoke(null, "InvalidWombat", parms); }
public void InvalidArgCount() { ArrayList parms = new ArrayList(); parms.Add(this); XmlRpcSystemObject.Invoke(this, "InvalidMethod", parms); }
public void ValidCalls() { ArrayList parms = new ArrayList(); Assertion.AssertEquals("Basic call", XmlRpcSystemObject.Invoke(this, "CallMe", parms), true); parms.Add("Hello"); Assertion.AssertEquals("Return Value", XmlRpcSystemObject.Invoke(this, "Echo", parms), "Hello"); }