Esempio n. 1
0
        public void TestUserChangePasswordXmlGetAttributes()
        {
            string xml =
                @"<roar tick=""135589197910"">
				<user>
					<change_password status=""ok""/>
				</user>
			</roar>"            ;

            System.Xml.XmlElement nn = RoarExtensions.CreateXmlElement(xml);
            Roar.DataConversion.Responses.User.ChangePassword change_password_parser = new Roar.DataConversion.Responses.User.ChangePassword();
            ChangePasswordResponse response = change_password_parser.Build(nn);

            Assert.IsNotNull(response);
        }
Esempio n. 2
0
        public void TestUserChangePasswordXmlGetAttributes()
        {
            string xml =
            @"<roar tick=""135589197910"">
                <user>
                    <change_password status=""ok""/>
                </user>
            </roar>";

            System.Xml.XmlElement nn = RoarExtensions.CreateXmlElement(xml);
            Roar.DataConversion.Responses.User.ChangePassword change_password_parser = new Roar.DataConversion.Responses.User.ChangePassword();
            ChangePasswordResponse response = change_password_parser.Build(nn);
            Assert.IsNotNull(response);
        }