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