예제 #1
0
 public void TestWithSupplementaryCharacterInAttributeKeyAndValue()
 {
     String s = char.ConvertFromUtf32(135361);
     Supremes.Nodes.Attribute attr = new Supremes.Nodes.Attribute(s, "A" + s + "B");
     Assert.AreEqual(s + "=\"A" + s + "B\"", attr.Html);
     Assert.AreEqual(attr.Html, attr.ToString());
 }
예제 #2
0
        public void TestWithSupplementaryCharacterInAttributeKeyAndValue()
        {
            String s = char.ConvertFromUtf32(135361);

            Supremes.Nodes.Attribute attr = new Supremes.Nodes.Attribute(s, "A" + s + "B");
            Assert.AreEqual(s + "=\"A" + s + "B\"", attr.Html);
            Assert.AreEqual(attr.Html, attr.ToString());
        }
예제 #3
0
 public void Html()
 {
     Supremes.Nodes.Attribute attr = new Supremes.Nodes.Attribute("key", "value &");
     Assert.AreEqual("key=\"value &\"", attr.Html);
     Assert.AreEqual(attr.Html, attr.ToString());
 }
예제 #4
0
 public void Html()
 {
     Supremes.Nodes.Attribute attr = new Supremes.Nodes.Attribute("key", "value &");
     Assert.AreEqual("key=\"value &\"", attr.Html);
     Assert.AreEqual(attr.Html, attr.ToString());
 }