Commit Graph
7 Commits
Author SHA1 Message Date
Jonathan Pryor 3cfe05c157 * System.Xml/UniqueId.cs: Remove most [MonoTODO]s and
NotImplementedExceptions.  Revert the 2009-02-12 UniqueId.IsGuid 
	  "fix", as .NET says that new UniqueId(new Guid()).IsGuid==false 
	  (which makes no sense, as .ToString() on the same instance includes 
	  the "urn:uuid:" prefix, which is used by Guids...).
	* Test/System.Xml/UniqueIdTest.cs: Add tests for all members.

svn path=/trunk/mcs/; revision=126911
2009-02-14 03:33:07 +00:00
Jonathan Pryor e1b0befb1a * System.Xml/XmlDictionaryWriter.cs: Implement
WriteValue(IStreamProvider).
	* Test/System.Xml/XmlDictionaryWriterTest.cs: Test 
	  WriteValue(IStreamProvider).

svn path=/trunk/mcs/; revision=126867
2009-02-13 20:55:12 +00:00
Jonathan Pryor 39d3548bd8 * System.Xml/XmlDictionaryWriter.cs: Implement
WriteTextNode(XmlDictionaryReader,bool).  This requires changes to
	  WriteNode(), as testing had determined that WriteTextNode() is used
	  instead of WriteString() for Text nodes and attribute values when
	  called via WriteNode().
	* Test/System.Xml/XmlDictionaryWriterTest.cs: Test 
	  WriteNode(XmlDictionaryReader), WriteNode(XmlReader), and 
	  WriteTextNode().

svn path=/trunk/mcs/; revision=126853
2009-02-13 19:39:20 +00:00
Jonathan Pryor 8556a49e3c * System.Xml/XmlDictionaryWriter.cs: Implement WriteValue(Guid),
WriteValue(TimeSpan), WriteValue(UniqueId).
	* System.Xml/UniqueId.cs: Fix UniqueId.IsGuid, as 
	  `new UniqueId(new Guid())` was previously being detected as a string 
	  value, not a Guid value.
	* Test/System.Xml/XmlDictionaryWriterTest.cs: Test WriteValue(Guid),
	  WriteValue(TimeSpan), WriteValue(UniqueId).

svn path=/trunk/mcs/; revision=126760
2009-02-12 20:56:05 +00:00
Jonathan Pryor c8f1af3dd7 * System.Runtime.Serialization_test.dll.sources: Add
System.Xml/XmlDictionaryWriterTest.cs to the test build.
	* System.Xml/XmlDictionaryWriter.cs (WriteStartElement): Add parameter 
	  checking and default arguments to avoid NullReferenceExceptions.
	* Test/System.Xml/XmlDictionaryWriterTest.cs: Added; test
	  XmlDictionaryWriter.WriteElementString().

svn path=/trunk/mcs/; revision=126751
2009-02-12 19:47:59 +00:00
Jonathan Pryor 79d3cca79c * System.Runtime.Serialization_test.dll.sources: Add
System.Xml/XmlDictionaryStringTest.cs to the test build.
	* System.Xml/XmlDictionaryString.cs: Add constructor argument checking.
	* Test/System.Xml/XmlDictionaryStringTest.cs: Added; tests for 
	  XmlDictionaryString.

svn path=/trunk/mcs/; revision=126680
2009-02-12 03:43:25 +00:00
Jb Evain 8b9722d103 move to from olive to mcs
svn path=/trunk/mcs/; revision=111184
2008-08-20 21:22:38 +00:00