コード例 #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");
        }
コード例 #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");
        }