Commit Graph
111 Commits
Author SHA1 Message Date
Atsushi Eno b0c7f07f28 2005-03-09 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs, XmlParserInput.cs, DTDReader.cs: fix UCM-4
	  surrogate calculations. This fixes bug #73513. Patch by
	  Andrew Skiba.

	* XmlTextReaderTests.cs : added SurrogatePair() based on bug #73513.



svn path=/trunk/mcs/; revision=41610
2005-03-09 18:21:10 +00:00
Atsushi Eno 0419196d05 2005-03-07 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : Added ReadNodeEntityReferenceFillsChildren.
	  Test case by Konstantin Triger.


svn path=/trunk/mcs/; revision=41513
2005-03-07 10:03:37 +00:00
Atsushi Eno 7842bbb8c8 2005-03-07 Atsushi Enomoto <[email protected]>
* XmlValidatingReaderTests.cs : added ResolveEntityReadAttributeValue()


svn path=/trunk/mcs/; revision=41512
2005-03-07 09:58:40 +00:00
Atsushi Eno cd668536eb 2005-03-03 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : For duplicating namespace mapping, it should
	  create another prefix without throwing an exception.

	* XmlTextWriterTests.cs : added testcase for duplicating namespace 
	  mapping processing (should create another prefix, not exception).


svn path=/trunk/mcs/; revision=41387
2005-03-03 09:25:16 +00:00
Atsushi Eno 5527fe3ce9 2005-03-02 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : LookupPrefix() should not return those prefix
	  that is overriden by another xmlns declaration.

	* XmlTextWriterTests.cs : Added test for LookupPrefix() for
	  overriden prefix.


svn path=/trunk/mcs/; revision=41372
2005-03-02 19:02:39 +00:00
Atsushi Eno 5d693154f9 2005-02-25 Atsushi Enomoto <[email protected]>
* XmlComment.cs, XmlNode.cs, XmlText.cs, XmlProcessingInstruction.cs,
	  XmlEntityReference.cs, XmlSignificantWhitespace.cs, XmlAttribute.cs,
	  XmlElement.cs, XmlEntity.cs, XmlCDataSection.cs :
	  For those nodes that are created by Clone(), IsReadOnly is false.
	  Patch by Konstantin Triger.

	* XmlNodeTests.cs : added Clone() of readonly node returns a node
	  that is not readonly.



svn path=/trunk/mcs/; revision=41185
2005-02-25 09:39:56 +00:00
Atsushi Eno 71fa56f043 2005-02-25 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : MS does not reject non-NCName prefix. Patch by
	  Konstantin Triger.

	* XmlAttributeTests.cs : added nonNCName Prefix case.


svn path=/trunk/mcs/; revision=41181
2005-02-25 06:50:09 +00:00
Atsushi Eno b7a95b1570 2005-02-24 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : WriteString() should be valid when 
	  WriteStartDocument() was not called.

	* XmlTextWriterTests.cs : Test for call to WriteRaw() -> WriteString()


svn path=/trunk/mcs/; revision=41159
2005-02-24 14:20:00 +00:00
Atsushi Eno 6c489f7182 2005-02-16 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : added some null/empty string cases for
	  EncodeName()/EncodeLocalName()/EncodeNmToken().


svn path=/trunk/mcs/; revision=40759
2005-02-16 16:31:10 +00:00
Atsushi Eno 03ef947aa4 2005-02-15 Atsushi Enomoto <[email protected]>
* XmlElementTests.cs : assertion numbering on 
	  RemoveDoesNotRemoveDefaultAttributes().


svn path=/trunk/mcs/; revision=40693
2005-02-15 11:54:41 +00:00
Nick Drochak cc924c18c7 2005-01-26 Nick Drochak <[email protected]>
* XmlValidatingReaderTests.cs: Move MS.NET bug-exposing test to a new
	test method and ignore it on .NET.

svn path=/trunk/mcs/; revision=39794
2005-01-30 13:17:56 +00:00
Atsushi Eno b922e1b0d4 2005-01-17 Atsushi Enomoto <[email protected]>
* XmlReaderSettingsTests.cs : added some .ctor() tests.



svn path=/trunk/mcs/; revision=39004
2005-01-17 09:32:37 +00:00
Atsushi Eno 23f231d021 2005-01-13 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : added labels for tests.
	  Marked MoveToXmlDeclAttributes() as [Ignore] again because there is
	  no consistent reference implementation to follow.



svn path=/trunk/mcs/; revision=38859
2005-01-13 09:11:04 +00:00
Atsushi Eno e0bbe73bfa 2005-01-13 Atsushi Enomoto <[email protected]>
* NamedNodeMap.cs : more NotDotNet.



svn path=/trunk/mcs/; revision=38845
2005-01-13 04:31:40 +00:00
Atsushi Eno b8267fa659 2005-01-13 Atsushi Enomoto <[email protected]>
* XmlValidatingReaderTests.cs,
	  XmlReaderCommonTests.cs,
	  XmlTextWriterTests.cs,
	  XmlUrlResolverTests.cs :
	  Marked as NotDotNet for those tests that fails under MS.NET.
	  Commented out some XmlTextWriter implementation-dependent assertions.
	  Fixed ResolveUriWithNullArgs () expected return type.



svn path=/trunk/mcs/; revision=38844
2005-01-13 04:26:25 +00:00
Atsushi Eno 018c4be8c5 2005-01-13 Atsushi Enomoto <[email protected]>
* Attr.cs : added Category("NotDotNet") for those tests that
	  exposes MS bugs.

	* CharacterData.cs : added Category("NotDotNet") for those tests that
	  exposes MS bugs.

	* Element.cs : added Category("NotDotNet") for those tests that
	  exposes MS bugs.

	* Document.cs : added Category("NotDotNet") for those tests that
	  exposes MS bugs.

	* NamedNodeMap.cs : added Category("NotDotNet") for those tests that
	  exposes MS bugs.

	* Text.cs : added Category("NotDotNet") for those tests that
	  exposes MS bugs.


svn path=/trunk/mcs/; revision=38842
2005-01-13 04:22:43 +00:00
Atsushi Eno e857d44273 2005-01-11 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : WriteComment() was outputting extraneous EOL.

	* XmlTextWriterTests.cs : added Indent2() to test WriteComment EOL.


svn path=/trunk/mcs/; revision=38702
2005-01-11 16:00:05 +00:00
Atsushi Eno fe69bf6c54 2004-01-11 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs :
	  Oops, ReadAttributeValue() was not reverted. Now marked as NotDotNet.



svn path=/trunk/mcs/; revision=38679
2005-01-11 06:26:13 +00:00
Atsushi Eno a8d7a80a3c 2004-01-11 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : reverted r38601. It is MS XmlTextReader
	  that is buggy on attribute value's Prefix and NamespaceURI.



svn path=/trunk/mcs/; revision=38678
2005-01-11 06:15:18 +00:00
Nick Drochak 2a4ecd67f1 2005-01-10 Nick Drochak <[email protected]>
* XmlWriterTests.cs: Fix build warnings.
	* XmlReaderCommonTests.cs: Make tests pass on Fx1.1.  XmlNodeReader
	has different default attributes it seems.

svn path=/trunk/mcs/; revision=38601
2005-01-10 08:58:42 +00:00
Raja R Harinath 8fa4e7b5f8 * XmlReaderSettingsTests.cs (DefaultValue): Update DtdValidate and
XsdValidate references to use ValidationType.

svn path=/trunk/mcs/; revision=37769
2004-12-15 06:54:06 +00:00
Atsushi Eno 25732919b9 2004-12-08 Atsushi Enomoto <[email protected]>
* XmlReaderSettingsTests.cs : updated some boolean flags to 
	  XmlSchemaValidationFlags.



svn path=/trunk/mcs/; revision=37424
2004-12-08 21:12:11 +00:00
Atsushi Eno 53d8624a86 2004-11-22 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : added AttributeNormalizationWrapped().



svn path=/trunk/mcs/; revision=36362
2004-11-22 01:43:57 +00:00
Atsushi Eno d071899d3e 2004-11-14 Atsushi Enomoto <[email protected]>
* XmlWriterTests.cs : Added test for WriteAttributes().


svn path=/trunk/mcs/; revision=36105
2004-11-14 06:35:48 +00:00
Atsushi Eno f1bb914230 2004-11-08 Atsushi Enomoto <[email protected]>
* xmltest.cs : reformat; easier to check.

svn path=/trunk/mcs/; revision=35816
2004-11-08 06:59:43 +00:00
Atsushi Eno 5b7207c7b1 2004-11-08 Atsushi Enomoto <[email protected]>
* XmlNodeReaderTests.cs : numbered some of asserts.

svn path=/trunk/mcs/; revision=35815
2004-11-08 06:59:14 +00:00
Atsushi Eno 53e4641a96 2004-11-08 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : added tests for 2.0 entity handling.
	* XmlValidatingReaderTests.cs : modified tests for entity handling
	  that are changed in 2.0.

svn path=/trunk/mcs/; revision=35813
2004-11-08 06:51:03 +00:00
Atsushi Eno 12792953c0 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : ReadAsObject() is removed.
	* XmlTextWriterTests.cs : added CloseTwice().
	* XmlNodeTests.cs : added labels.

svn path=/trunk/mcs/; revision=35418
2004-10-29 02:07:07 +00:00
Atsushi Eno b2b88e20ff 2004-09-08 Atsushi Enomoto <[email protected]>
* XmlWriterSettingsTests.cs : added.

svn path=/trunk/mcs/; revision=33564
2004-09-08 08:42:12 +00:00
Atsushi Eno 1fc0d15f0a 2004-09-07 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : Added tests for ReadAsObject().

svn path=/trunk/mcs/; revision=33519
2004-09-07 14:03:17 +00:00
Atsushi Eno c24f05e78a 2004-09-07 Atsushi Enomoto <[email protected]>
* XmlNamespaceManagerTests.cs : Added test for duplicate addition,
	  atomization, complex RemoveNamespace() and GetNamespacesInScope().

svn path=/trunk/mcs/; revision=33514
2004-09-07 12:45:56 +00:00
Atsushi Eno 4513f3ed86 2004-09-07 Atsushi Enomoto <[email protected]>
* XmlReaderSettingsTests.cs : added, including XmlReader.Create() tests
	* XmlTextReaderTests.cs : added normalization and Setting sests.

svn path=/trunk/mcs/; revision=33473
2004-09-07 06:34:56 +00:00
Atsushi Eno 12d11e7889 2004-09-06 Atsushi Enomoto <[email protected]>
* XmlElementTests.cs : added another set_InnerXml test.
	* XmlNodeTests.cs : added BaseURI test.
	* XmlTextReaderTests.cs : added tests for Normalization, EOF,
	  LineNumber, LinePosition (all reported ones).
	* XsdValidatingReaderTests.cs : more descriptions.

svn path=/trunk/mcs/; revision=33434
2004-09-06 17:25:52 +00:00
Atsushi Eno 103be5da58 2004-09-06 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : added ProhibitDtd().
	* XmlWriterTests.cs : added WriteNodeError().

svn path=/trunk/mcs/; revision=33423
2004-09-06 16:52:07 +00:00
Atsushi Eno a5ef8bedd7 2004-06-21 Atsushi Enomoto <[email protected]>
* XmlSecureResolverTests.cs : Just [Ignore] EmptyEvidenceDeniedAccess.
	  It requires CAS.

svn path=/trunk/mcs/; revision=30074
2004-06-22 01:22:07 +00:00
Atsushi Eno ae938f1f66 2004-06-18 Atsushi Enomoto <[email protected]>
* XmlSecureResolverTests.cs : [TestFixture] was missing.

svn path=/trunk/mcs/; revision=29833
2004-06-18 02:06:08 +00:00
Atsushi Eno 357572721d 2004-06-14 Atsushi Enomoto <[email protected]>
* XmlTextWriterTests.cs : Avoid CR/CRLF testing complexity.

svn path=/trunk/mcs/; revision=29492
2004-06-14 10:40:33 +00:00
Atsushi Eno 5c7e0ec021 2004-06-14 Atsushi Enomoto <[email protected]>
* XmlUrlResolverTests.cs : Unlike MS.NET, we treats Unix absolute file
	  URI file:///usr/local/src as correct file path. MS.NET is not aware
	  of such format and parses as "host = usr, path = /local/src".

svn path=/trunk/mcs/; revision=29489
2004-06-14 10:27:43 +00:00
Gonzalo Paniagua Javier 1ea661c0ad 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* xmltest.cs: directory name of extracted test cases is lower case.

svn path=/trunk/mcs/; revision=28945
2004-06-07 04:44:26 +00:00
Atsushi Eno d4e8a093ba 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlTextWriterTests.cs : Added indentation testcase (it might now
	  work due to CompareInfo.IndexOf() bug).

svn path=/trunk/mcs/; revision=28910
2004-06-06 14:50:43 +00:00
Atsushi Eno 10ba91fbfa 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : added some namespace check tests.

svn path=/trunk/mcs/; revision=28902
2004-06-06 07:36:19 +00:00
Atsushi Eno 261e928b07 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : added test for bug #59142.
	* XmlTextWriterTests.cs : added test for bug #59154.
	* XmlDocumentTests.cs : added test for bug #59155.

svn path=/trunk/mcs/; revision=28238
2004-05-27 09:29:47 +00:00
Atsushi Eno 8aab01d991 2004-05-24 Atsushi Enomoto <[email protected]>
* NamedNodeMap.cs : Modified. "domestic or street" does not mean
	  the exact literal node name, but it means "either 'domestic' or
	  'street'". We always return fixed values.

svn path=/trunk/mcs/; revision=27944
2004-05-24 07:45:24 +00:00
Atsushi Eno 7ba146f2ca 2004-05-24 Atsushi Enomoto <[email protected]>
* Document.cs : am sure that element nodes are up to 36, not 37
	  (maybe counting the element that is in unused entity value?).

svn path=/trunk/mcs/; revision=27943
2004-05-24 07:44:24 +00:00
Atsushi Eno 92f5d743a2 2004-05-24 Atsushi Enomoto <[email protected]>
* XmlNodeTests.cs : added Normalize2().

svn path=/trunk/mcs/; revision=27942
2004-05-24 07:40:48 +00:00
Atsushi Eno 37601e10f9 2004-05-13 Atsushi Enomoto <[email protected]>
* XsdValidatingReaderTests.cs : Ignore TestNamespaceFalse(). It is not
	  kind of thing that should be supported.
	* XmlValidatingReaderTests.cs : commented a bit.

svn path=/trunk/mcs/; revision=27238
2004-05-13 07:26:39 +00:00
Atsushi Eno 02fb9f05e2 2004-05-13 Atsushi Enomoto <[email protected]>
* CharacterData.cs : More don't check error message.

svn path=/trunk/mcs/; revision=27237
2004-05-13 07:24:57 +00:00
Atsushi Eno e7849a7aea 2004-05-13 Atsushi Enomoto <[email protected]>
* Document.cs : More don't check error message.

svn path=/trunk/mcs/; revision=27236
2004-05-13 07:24:38 +00:00
Atsushi Eno 7557c9c2ad 2004-05-13 Atsushi Enomoto <[email protected]>
* Text.cs : More don't check error message.

svn path=/trunk/mcs/; revision=27235
2004-05-13 07:24:17 +00:00
Atsushi Eno 682d3c1cab 2004-04-24 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : Commented out locale-dependent tests.
	* XmlDocumentTests.cs : Uncommented now-testable lines.
	  Commented out that should not be allowed, such as non-XML-name node.

svn path=/trunk/mcs/; revision=25936
2004-04-24 14:22:00 +00:00