26 Commits
Author SHA1 Message Date
Alexander Köplinger d4d7374efc [bcl] Remove ONLY_1_1 defines from class libs
This is not used anymore.
2015-01-21 17:18:30 +01: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 26eaa08958 Return different instances of XmlSchemaInfo for each validated node in XmlSchemaValidatingReader. 2010-11-29 21:36:50 +09:00
Atsushi Eno 4ceceaf50b The test is network dependent. 2010-11-19 13:04:58 +09: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
Atsushi Eno da362d6d88 2009-02-09 Atsushi Enomoto <[email protected]>
* XmlElementTest.cs: SetAttribute(name,value) should identify value
	  change for existing node, from new node insertion.
	  Fixed bug #464394.

	* XmlElementTests.cs : added test for bug #464394.



svn path=/trunk/mcs/; revision=126323
2009-02-09 09:31:23 +00:00
Atsushi Eno 680bfdbdee 2008-04-17 Atsushi Enomoto <[email protected]>
* XmlAttributeCollection.cs : check attribute identity only if the
	  source node is in the document tree. Fixed bug #380720.

	* XmlElementTests.cs : added test for bug #380720.
	* XmlAttributeTests.cs : numbered some assertions.


svn path=/trunk/mcs/; revision=101019
2008-04-17 16:02:53 +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
Gert Driesen cd7644c997 * XmlTextWriter.cs: Modified WriteWhitespace to throw ArgumentException
if value is null or zero-length string. Modified WriteNmToken to throw
ArgumentException if name is null or zero-length string. Cosmetic
change to WriteStringInternal.
* XmlElement.cs: In 2.0 profile, do not throw ArgumentNullException
if new value for Prefix is null.
* XmlElementTests.cs: Improved tests for setting prefix to null
or zero-length string. On 2.0 profile, setting prefix to null should
not result in ArgumentNullException.
* XmlTextWriterTests.cs: Enabled WriteNmToken tests and
WriteWhitespace tests for null or zero-length value.

svn path=/trunk/mcs/; revision=55115
2006-01-05 20:16:41 +00:00
Atsushi Eno d120a4fc6e 2005-12-26 Atsushi Enomoto <[email protected]>
* XmlElement.cs : patch for Prefix property by Vorobiev Maksim.
          - null should cause ArgumentNullException.
          - "" should not raise an error.
          - throws ArgumentException when it is readonly.

        * XmlElementTests.cs : Patch by Vorobiev Maksim.
          - setting null to Prefix should raise ArgumentNullException.
          - setting String.Empty to Prefix should be allowed.


svn path=/trunk/mcs/; revision=54849
2005-12-26 14:33:20 +00:00
Gert Driesen 2f6ed89c7f * XmlElementTests.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=54847
2005-12-26 13:58:20 +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 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
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 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 4f981f7a03 2004-01-23 Atsushi Enomoto <[email protected]>
* XmlElementTests.cs : Added SetAttributeXmlns.
	* XmlTextWriterTests.cs : Added several xmlns-related tests.

svn path=/trunk/mcs/; revision=22440
2004-01-23 19:45:56 +00:00
Atsushi Eno a646eee82e 2004-01-20 Atsushi Enomoto <[email protected]>
* XmlElementTests.cs : Added WriteToMakesNonsenseForDefaultNSChildren.
	* XmlTextWriterTests.cs : Added DontOutputRemovalDefaultNSDeclaration.

svn path=/trunk/mcs/; revision=22289
2004-01-20 07:56:23 +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 1395cd6eac 2003-11-28 Atsushi Enomoto <[email protected]>
* XmlWriterTests.cs : Added WriteNodeFullDocument() with
	  encoding specification. Added WriteNodeNonEmptyElement().
	* XmlUrlResolverTests.cs : Added GetEntityWithNonStreamReturnType()
	  and GetEntityWithRelativeFileUri().
	* XmlTextWriterTests.cs : Added some namespace related tests.
	* XmlTextReaderTests.cs : Added char-entity and ReadBase64() tests.
	* XmlNodeTests.cs : GetPrefixOfNamespace() test also for disconnected
	  nodes.
	* XmlElementTests.cs : Added ConstructionAndDefaultAttributes().
	* XmlDeclarationTests.cs : Added InvalidInnerText().
	* XmlAttributeTests.cs : Added CheckPrefixWithNamespace().

svn path=/trunk/mcs/; revision=20590
2003-11-28 16:30:45 +00:00
Atsushi Eno d34c6ca429 2003-10-13 Atsushi Enomoto <[email protected]>
* XmlElementTests.cs : Added more tests on
	  RemoveDoesNotRemoveDefaultAttributes().
	* XmlNodeTests.cs : Added Normalize(), GetNamespaceOfPrefix() and
	  GetNamespaceOfPrefixNullArg().
	* XmlWriterTests.cs : Added WriteNodeNone().

svn path=/trunk/mcs/; revision=18951
2003-10-13 03:37:42 +00:00
Atsushi Eno 08158153ce 2003-08-24 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : Added DefaultAttributeRemoval() and
	  EmptyStringHasTextNode().
	* XmlElementTests.cs : Added RemoveDoesNotRemoveDefaultAttributes().
	* XmlReaderCommonTests.cs : Added overroaded AssertNodeValues() and
	  ReadAttributeValue().
	* XmlTextReaderTests.cs :
	  Added NotAllowedCharRef() and ExpandParameterEntity().
	  Also added but ignored tests: UndeclaredEntityInIntSubsetOnlyXml()
	  and UndeclaredEntityInStandaloneXml().
	* XmlValidatingReaderTests.cs : TestAttributeDefaultContribution()
	  refactory.
	* Added XsdParticleValidationTests.cs and XsdValidatingReaderTests.cs.

svn path=/trunk/mcs/; revision=17558
2003-08-24 19:04:01 +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 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 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