Пример #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());
 }