예제 #1
0
파일: UIDTests.cs 프로젝트: hmyit/plist-cil
        public void XmlRoundTripTest()
        {
            UID original = new UID(0xabcd);

            string plist = original.ToXmlPropertyList();

            // UIDs don't exist in XML property lists, but they are represented as strings
            // for compability purposes
            NSString roundtrip = XmlPropertyListParser.ParseString(plist) as NSString;

            Assert.Equal("abcd", roundtrip.ToObject());
        }