31 Commits
Author SHA1 Message Date
Alexander Köplinger 9606a8f180 [bcl] Remove usages of mono-project.com/go-mono.com/google.com in tests (#14586)
Use example.com and example.org instead.

Fixes https://github.com/mono/mono/issues/14585

Note that not all of the things I replaced make an actual network request but I thought it'd be nice to be consistent.
2019-05-23 14:12:14 +02:00
Atsushi Eno 4990b4c47b First step to import referencesource System.Xml.
It is not simply replacement because we have to workaround dynamic codegen
for Xamarin.iOS.

Also there were several tests failing with MS implementation (e.g. for
W3C DOM conformance), so we had to disable them.

There is one regression that rather needs to be fixed in Reflection.Emit.

Also, some WCF tests fail with this implementation. They need to be
investigated, reviewed and appropriately fixed.
2015-03-02 11:36:38 +08:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Atsushi Eno f23c8f7fc2 2010-04-28 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : it seems .net does allow Load() with such an xml
	  reader positioned in the middle of the document. Fixed bug #598953.

	* XmlDocumentTests.cs : add test for bug #598953.


svn path=/trunk/mcs/; revision=156278
2010-04-28 01:22:00 +00:00
Robert Jordan bd7622796a 2009-06-26 Robert Jordan <[email protected]>
* *.cs: Upgrade to new NUnit style.


svn path=/trunk/mcs/; revision=137010
2009-06-26 21:06:21 +00:00
Gert Driesen 22c7e5186c * XmlDocumentTests.cs: Fixed line endings.
* XmlAttributeCollectionTests.cs: Fixed line endings.
* XmlDocumentEventTests.cs: Fixed line endings.
* XmlNodeTests.cs: Fixed line endings.
* XsdValidatingReaderTests.cs: Fixed line endings.
* XmlDocumentTypeTests.cs: Fixed line endings.
* XmlEntityReferenceTests.cs: Fixed line endings.

svn path=/trunk/mcs/; revision=99458
2008-03-31 19:04:17 +00:00
Atsushi Eno 6c8f6ac907 2006-12-11 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : call overriden CreateAttribute() when loading from
	  XmlReader.

	* XmlDocumentTests.cs : make sure to call overriden CreateAttribute()
	  when loading from XmlReader.


svn path=/trunk/mcs/; revision=69290
2006-12-11 02:37:59 +00:00
Atsushi Eno e2b9ba5fa5 2006-09-21 Atsushi Enomoto <[email protected]>
* XmlNameEntryCache.cs : It should expand temporary buffer even at
	  initial state. Fixed bug #79468.

	* XmlDocumentTests.cs : added bug #79468 case.


svn path=/trunk/mcs/; revision=65803
2006-09-22 03:21:03 +00:00
Atsushi Eno a6e2f53a1d 2006-09-19 Atsushi Enomoto <[email protected]>
* XmlElement.cs : for non-atomized names, alter null prefix with "".
	  Fixed bug #79420.

	* XmlElementTests.cs : added test for #79420.
	* XmlAttributeTests.cs : added similar test.
	* XmlDocumentTests.cs : fix warnings.


svn path=/trunk/mcs/; revision=65621
2006-09-19 05:13:39 +00:00
Atsushi Eno c5064307cb 2006-08-26 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : use XmlValidatingReader to load TextReader/Stream
	  so that it could fill default and fixed attributes. This ends up
	  to fix bug #79163 (it fills fixed "xmlns" attribute and thus
	  the node's namespace URI becomes that of glade-2.0).

	* XmlDocumentTests.cs : added test for bug #79163.


svn path=/trunk/mcs/; revision=64413
2006-08-26 16:53:41 +00:00
Atsushi Eno 36b7985e54 2005-12-14 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : (CreateNodeNodeTypeName) the previous fix was 
	  wrong; ArgumentException is the expected exception (it anyways won't
	  work under MS.NET 2.0).
	* XmlNodeTests.cs : added labels to assertions. another NotDotNet case.
	* XmlAttributeTests.cs : ditto.


svn path=/trunk/mcs/; revision=54351
2005-12-14 08:25:40 +00:00
Atsushi Eno 55336d1581 2005-12-14 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs, XmlAttributeCollectionTests.cs
	  XmlElementTests.cs, XmlCharacterDataTests.cs :
	  Marked NotDotNet for some tests broken under 2.0 (MS bugs).
	  Marked Ignore for some tests which originally does not make sense.
	  Changed types in ExpectedException for some tests under 2.0.


svn path=/trunk/mcs/; revision=54345
2005-12-14 06:54:23 +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 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 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
Atsushi Eno 0c2454195d 2004-04-20 Atsushi Enomoto <[email protected]>
* XmlCharacterDataTests.cs : Added more tests for Substring().
	* XmlConvertTests.cs : Commented out locale-dependent tests.
	* XmlDocumentTests.cs : Added LoadEntityReference().

svn path=/trunk/mcs/; revision=25719
2004-04-20 12:13:21 +00:00
Atsushi Eno 204001070a 2004-03-16 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : Added PreserveWhitespace2() (whitespace nodes
	  should be written regardless of document.PreserveWhitespace.)

svn path=/trunk/mcs/; revision=24177
2004-03-16 22:26:48 +00:00
Atsushi Eno 4c7cf4124e 2004-03-04 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : added Implementation().

svn path=/trunk/mcs/; revision=23692
2004-03-04 16:29:32 +00:00
Atsushi Eno 6e92de9354 2004-02-05 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : Added ReadNodeEmptyContent() and
	  ReadNodeWhitespace().
	* XmlElementTests.cs : Added SetAttributeNodeError().

svn path=/trunk/mcs/; revision=22801
2004-02-05 16:15:32 +00:00
Atsushi Eno 43143e82c8 2004-02-03 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : Added SurrogatePairContent().
	* XmlDocumentTests.cs : Added LoadXmlReaderNamespacesFalse().
	* XmlEntityReferenceTests.cs : Added TestsDescendantsRecursively().

svn path=/trunk/mcs/; revision=22743
2004-02-03 15:25:21 +00:00
Atsushi Eno 485add530e 2004-01-14 Atsushi Enomoto <[email protected]>
* XmlAttributeCollectionTests.cs : Added RemoveDefaultAttribute().
	* XmlDocumentTests.cs, XmlElementTests.cs, XmlNodeReaderTests.cs,
	  XmlTextReaderTests.cs, XmlTextWriter.cs, XmlWriterTests.cs :
	  Close or avoid XmlTextReader.

svn path=/trunk/mcs/; revision=22053
2004-01-14 08:02:53 +00:00
Atsushi Eno 62be62bd75 2003-12-21 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs, XmlElementTests.cs :
	  Added GetElementsByTagNameNs2().

svn path=/trunk/mcs/; revision=21400
2003-12-21 17:26:09 +00:00
Atsushi Eno b95124c7fb 2003-12-16 Atsushi Enomoto <[email protected]>
* XmlDeclarationTests.cs : Added InvalidInnerText().
	* XmlDocumentTests.cs : CRLF fix (to LF)
	* XmlWriterTests.cs : tiny fix on WriteNodeFullDocument().
	* XmlValidatingReaderTests.cs : Fixed entity handling check tests.

svn path=/trunk/mcs/; revision=21243
2003-12-16 15:46:53 +00:00
Atsushi Eno b7e96960e4 2003-07-31 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : added LoadThrowsUndeclaredEntity() and
	  CreateEntityReferencesWithoutDTD().
	* XmlNodeReaderTests.cs : added ResolveEntity(), ResolveEntity2() and
	  ResolveEntityWithoutDTD().

svn path=/trunk/mcs/; revision=16947
2003-07-31 18:06:47 +00:00
Atsushi Eno 62044c8ac2 2003-07-29 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : added DTDEntityAttributeHandling() test.
	* XmlElementTests.cs : added WriteToDefaultAttribute() test.
	* XmlNodeTests.cs : added InnerXmlWithXmlns () test.
	* XmlTextWriterTests.cs : added DontOutputNonDeclaredXmlns () test.
	* XmlValidatingReaderTests.cs : modified TestResolveEntity() to have
	  entity reference inside text content (and it now fails).

svn path=/trunk/mcs/; revision=16815
2003-07-29 02:24:01 +00:00
Atsushi Eno 85b67a618e 2003-07-26 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : added IdentityConstraints().
	* XmlDocumentTests.cs : added DocumentTypeNodes().
	* XmlNodeTests.cs : added InnerText().
	* XmlReaderCommonTests.cs : added XmlValidatingReader as one of the
	  testing reader. Added IndexerAndAttributes().
	* XmlValidatingReader.cs : modified TestAttributes() to have
	  ReadAttributeValue() tests. Added TestIdentityConstraints()

svn path=/trunk/mcs/; revision=16718
2003-07-26 19:46:11 +00:00
Zoltan Varga 3f5732eb75 2003-06-10 Zoltan Varga <[email protected]>
* XmlDocumentTests.cs: New test for null prefix and namespaceURI in
	CreateAttribute.

svn path=/trunk/mcs/; revision=15271
2003-06-10 09:52:57 +00:00
Atsushi Eno df14a8aaf0 2003-05-16 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : added NamespaceAttributes() and WriteTo().
	* XmlDocumentTests.cs : fixed invalid xml of DocumentWithDoctypeDecl()
	  and not well-formed xml of OuterXmlWithDefaultXmlns().
	* XmlElementTests.cs : added IsEmpty(). fixed not well-formed xml of
	  WriteToWithDefaultNamespace().
	* XmlNodeReaderTests.cs : fixed incorrect result expectation of
	  ReadInnerXmlWrongInit().
	* XmlNodeTets.cs : applied USE_VERSION_1_1 for InsertBefore()/-After().
	* XmlReaderCommonTests.cs,
	  XmlTextReaderTests.cs : moved EntityReference() and EntityReference-
	  InsideText() to XmlTextReaderTests.cs, since XmlNodeReader is expected
	  to resolve these entity references.
	* XmlTextWriterTests.cs : removed English-dependent error message check.
	  fixed incorrect state-check ignorant blocks of WriteAttributes ().
	* XmlWriterTests.cs : modified WriteNodeFullDocument() and WriteNode-
	  XmlDecl() as MS.NET results in.

svn path=/trunk/mcs/; revision=14610
2003-05-15 19:09:10 +00:00
Martin Willemoes Hansen ba234c2a4a * Tests inherits from Assertion and Assertion. prefixes removed
svn path=/trunk/mcs/; revision=14558
2003-05-13 20:41:56 +00:00
Atsushi Eno 5fb6444ff6 2003-04-13 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs: quick fix to comment out TestExternalDocument.
	* XmlDocumentTests.cs : quick fix to comment out LoadExternalUri and
	  LoadDocumentWithIgnoreSection.

svn path=/trunk/mcs/; revision=13555
2003-04-12 15:16:05 +00:00
Atsushi Eno bef07b2478 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find ChangeLog entries before than this day.

svn path=/trunk/mcs/; revision=13549
2003-04-12 13:39:49 +00:00