getPost() private method

private getPost ( string postid, string username, string password ) : CookComputing.XmlRpc.XmlRpcStruct
postid string
username string
password string
return CookComputing.XmlRpc.XmlRpcStruct
示例#1
0
        public void GetPost_ExistingEntry()
        {
            var entry11 = m_blog1.Axes.GetDescendant("Entry11");
            var content = m_api.getPost(entry11.ID.ToString(), m_userAuthor.Name, PASSWORD);

            Assert.AreEqual(entry11["title"], content["title"]);
            Assert.AreEqual(entry11["content"], content["description"]);
            Assert.AreEqual(entry11.ID.ToString(), content["guid"]);
        }