Beispiel #1
0
        public void TestItemsSetXmlGetAttributes()
        {
            string xml =
                @"<roar tick=""128555540202"">
				<items>
					<set status=""ok""/>
				</items>
			</roar>"            ;

            System.Xml.XmlElement nn = RoarExtensions.CreateXmlElement(xml);
            Roar.DataConversion.Responses.Items.Set set_parser = new Roar.DataConversion.Responses.Items.Set();
            SetResponse response = set_parser.Build(nn);

            Assert.IsNotNull(response);
        }
        public void TestItemsSetXmlGetAttributes()
        {
            string xml =
            @"<roar tick=""128555540202"">
                <items>
                    <set status=""ok""/>
                </items>
            </roar>";

            System.Xml.XmlElement nn = RoarExtensions.CreateXmlElement(xml);
            Roar.DataConversion.Responses.Items.Set set_parser = new Roar.DataConversion.Responses.Items.Set();
            SetResponse response = set_parser.Build(nn);
            Assert.IsNotNull(response);
        }