[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/tests/System.Xml TestXmlTextWriter.c
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/tests/System.Xml TestXmlTextWriter.cs,1.1,1.2 |
Date: |
Tue, 31 Dec 2002 06:13:08 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/tests/System.Xml
In directory subversions:/tmp/cvs-serv12558/tests/System.Xml
Modified Files:
TestXmlTextWriter.cs
Log Message:
Patch #923 for Xml
Index: TestXmlTextWriter.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/tests/System.Xml/TestXmlTextWriter.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** TestXmlTextWriter.cs 3 Dec 2002 00:13:34 -0000 1.1
--- TestXmlTextWriter.cs 31 Dec 2002 11:13:06 -0000 1.2
***************
*** 77,80 ****
--- 77,92 ----
}
+ // Test the XmlTextWriter.WriteProcessingInstruction
+ public void TestXmlTextWriterWriteProcessingInstruction()
+ {
+ Clear();
+ String name = "xsl-stylesheet";
+ String text = "href=\"test.xsl\"";
+ xml.WriteStartDocument();
+ xml.WriteProcessingInstruction(name, text);
+ Check("ProcessingInstruction (1)",
+ "<?xml version=\"1.0\"
encoding=\"utf-16\"?>\n<?xsl-stylesheet href=\"test.xsl\"?>\n");
+ }
+
// Test the property values on the writer.
public void TestXmlTextWriterProperties()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/tests/System.Xml TestXmlTextWriter.cs,1.1,1.2,
Gopal.V <address@hidden> <=