Exemple #1
0
        public void InvalidMethodName()
        {
            ArrayList parms = new ArrayList();

            parms.Add(this);
            XmlRpcSystemObject.Invoke(this, "InvalidWombat", parms);
        }
Exemple #2
0
        public void InvalidObject()
        {
            ArrayList parms = new ArrayList();

            parms.Add(this);
            XmlRpcSystemObject.Invoke(null, "InvalidWombat", parms);
        }
Exemple #3
0
        public void InvalidArgCount()
        {
            ArrayList parms = new ArrayList();

            parms.Add(this);
            XmlRpcSystemObject.Invoke(this, "InvalidMethod", parms);
        }
Exemple #4
0
        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");
        }