2 // System.Xml.XmlTextWriterTests
5 // Kral Ferch <kral_ferch@hotmail.com>
12 using NUnit.Framework;
14 namespace MonoTests.System.Xml
16 public class XmlTextTests : TestCase
18 public XmlTextTests () : base ("MonoTests.System.Xml.XmlTextTests testsuite") {}
19 public XmlTextTests (string name) : base (name) {}
24 protected override void SetUp ()
26 document = new XmlDocument ();
29 public void TestInnerAndOuterXml ()
31 text = document.CreateTextNode ("&<>\"'");
32 AssertEquals (String.Empty, text.InnerXml);
33 AssertEquals ("&<>\"'", text.OuterXml);