Ejemplo n.º 1
0
        public void DBNull()
        {
            DBNull     value   = System.DBNull.Value;
            Type       type    = value.GetType();
            XmlRpcType rpcType = XmlRpcTypeInfo.GetXmlRpcType(type);

            Assert.AreEqual(XmlRpcType.tStruct, rpcType, "GetXmlRpcType return DBNull as tStruct");
        }
Ejemplo n.º 2
0
        public void DBNull()
        {
            DBNull     value   = System.DBNull.Value;
            Type       type    = value.GetType();
            XmlRpcType rpcType = XmlRpcServiceInfo.GetXmlRpcType(type);

            Assert.AreEqual(XmlRpcType.tInvalid, rpcType,
                            "GetXmlRpcType return DBNull as tInvalid");
        }