2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Data / Test / System.Data / ChangeLog
index 724f68cdde6256282b5edfe0701d42c20824b1a6..18c4d73b0efa2d0375fd06f0b89908842d8967ae 100644 (file)
@@ -1,3 +1,420 @@
+2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataRowViewTest.cs : added new file.
+
+2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSetReadXmlSchemaTest.cs : test labels were ambiguous.
+       * DataViewTest.cs : indentation was heavily broken.
+
+2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataColumnTest.cs : Added SetMaxLength().
+
+2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * store2.xsd, store3.xsd, store4.xsd : Added.
+       * DataSetTest.cs :
+         Disabled ReadWriteXmlSchema() and ReadWriteXmlSchemaIgnoreSchema()
+         for now. See the details in the code.
+
+2005-01-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataRowTest.cs : more test for Current -> Default, test for 
+         VersionNotFound, and test for InvalidConstraint on GetChildRows().
+         Patch by Ankit Jain.
+
+2005-01-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataRowTest.cs : Test if Default is used to check state of the row
+         instead of Detached. Patch by Ankit Jain.
+
+2005-01-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSetTest.cs : added CloneCopy2().
+
+2005-01-20  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSetTest.cs : use more normalized schema comparison.
+
+2005-01-20  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSetTest.cs,
+         DataSetAssertionTest.cs : In GetNormalizedSchema(), use manual
+         sorting using dom  so that it can ignore XmlSerializer difference.
+         Added some new assertion methods.
+
+2005-01-19  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataRowTest.cs : no need to gather 3 individual tests as RowEditTest.
+         Let's not output to Console.
+
+2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataViewTest.cs : made AddNew_2() and FindRows() pass under .NET 1.1.
+         FindRows() is still not implemented, so marked as [Ignore].
+
+2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ForeignKeyConstraintTest.cs : Fixed Ctor5() to pass under MS.NET 1.1.
+         Design time ctor() needs more love.
+       * DataRelationCollectionTest.cs,
+         DataTableCollectionTest.cs : Made Remove() pass under MS.NET 1.1.
+         When index is out of range, IndexOutOfRangeException is thrown.
+         DataRelationCollectionTest.AddException1() was invalid.
+
+2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ConstraintCollectionTest.cs : Fixed run-test-ondotnet. MS.NET does
+         not fill Table property even after EndInit().
+       * DataRelationTest.cs : Fixed run-test-ondotnet. ExpectedException 
+         is missing.
+       * TypedDataSetGeneratorTest.cs : fixed GenerateName() both for
+         run-test-ondotnet and run-test.
+
+2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSetTest.cs : WriteXmlSchema2() and WriteXmlSchema3() didn't pass
+         on run-test-ondotnet. Removed extraneous Console output.
+         modified WriteXmlSchema4(),WriteXmlSchema5() and WriteXmlSchema6()
+         to use xmlserializer-based comparison.
+         Fixed SerializeDataSet() to use ordinal MS result (it's not simple
+         to compare results unless we have another WriteXmlSchema() 
+         implementation.)
+
+2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSetAssertion.cs : forgot one required update for refreshed tests.
+
+2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSetReadXmlSchemaTest.cs : added test for bug #58744.
+       * DataSetReadXmlTest.cs : Added NameConflictDSAndTable().
+       * DataSetTest.cs :
+         Now use XmlSerializer based output, to avoid silly attribute order in
+         OwnWriteXmlSchema(),WriteXmlSchema(),ReadWriteXmlSchemaIgnoreSchema(),
+         ReadWriteXmlSchema() and WriteDifferentNamespaceSchema().
+         Added SerializeDataSet2(),SerializeDataSet3(),DeserializeDataSet(),
+         ReadWriteXml3(),WriteXmlSchema2(),WriteXmlSchema3(),WriteXmlSchema4(),
+         WriteXmlSchema5(),WriteXmlSchema6(),WriteXmlSchema7(),
+         WriteXmlExtendedProperties() and WriteXmlModeSchema().
+
+2004-10-14 Umadevi S <sumadevi@novell.com>
+       * DataTableTest.cs : added testcase for subclass clone
+
+2004-10-14 Umadevi S <sumadevi@novell.com>
+       * DataSetTest.cs : added testcase to check subclass clone
+
+2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSetTest.cs : now xs:schema contains xmlns="".
+
+2004-09-24 Umadevi S <sumadevi@novell.com>
+       * DataRowTest.cs : Added a test for EnforceConstraints with relations defined.
+
+2004-09-24  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * DataSetTest.cs (DataSetClearTest): Added a test for DataSet.Clear. This should not
+       throw any exception and should override constraints.
+
+2004-09-19  Sureshkumar T <tsureshkumar@novell.com>
+       * DataSetTest.cs : Added a test for Deserialization of dataset : DeserializeModifiedDataSet
+
+2004-08-24  Nick Drochak <ndrochak@ieee.org>
+       * DataViewTest.cs : Fixed compile with csc
+
+2004-08-18 Umadevi S <sumadevi@novell.com>
+       * DataViewTest.cs : Revamped to get Event handling tested
+       Thanks to Punit Todi for his contribution towards the test cases
+
+2004-06-23 Umadevi S <sumadevi@novell.com>
+       * DataTableTest.cs :Corrected Testcases to .net 1.1 specifications
+
+2004-06-23 Umadevi S  <sumadevi@novell.com>
+       * DataRelationTest.cs : Corrected AddRelation testcases
+
+2004-06-23 Umadevi S <sumadevi@novell.com>
+       * ConstraintCollectionTest.cs : Corrected AddRange testcases
+
+2004-06-20  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataTableCollectionTest.cs : Added test for DataSet and Namespace
+         adjustment.
+
+2004-06-18  Atsushi Enomoto <atsushi@ximian.com>
+
+       * TypedDataSetGeneratorTest.cs : [TestFixture] was missing.
+
+2004-06-15  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetTest.cs : Added regression for #53959.
+
+2004-05-31  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataTableTest.cs : Added test for serialization by Boris Kirzner.
+       * DataSetInferXmlSchemaTest.cs : Added test for schema element skip
+          by Boris Kirzner.
+
+2004-05-27  Nick Drochak <ndrochak@ieee.org>
+
+       * DataRelationCollectionTest.cs: Fixed build when using csc.
+
+2004-05-27 Umadevi S <sumadevi@novell.com>
+       * Corrected small typos in DataTableCollectionTest & DataRelationCollectionTest
+
+2004-05-26  Umadevi S <sumadevi@novell.com>
+       * Added files DataTableCollectionTest and DataRelationCollectionTest
+
+2004-05-19  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetTest.cs : Fixed ReadWriteXmlSchema() that miscounted
+         constraints and parent keys.
+
+2004-05-18  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetTest.cs : Converted CRLF to LF for line ending comparison.
+         (and added copyright line.)
+
+2004-05-17  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetTest.cs : Added WriteXmlEncodedXml() test.
+
+2004-05-17  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetAssertion.cs : Enabled "Ordinal" check again, unless the test
+         value is -1.
+       * DataSetInferXmlSchemaTest.cs,
+         DataSetReadXmlSchemaTest.cs  : Enabled Ordinal check again, as long
+         as working. Added IgnoredNamespaces() to inferxmlschema test.
+
+2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetReadXmlSchemaTest.cs : Added test014.xsd tes (contains two
+         simple repeatable elements).
+
+2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetTest.cs,
+         DataSetReadXmlTest.cs,
+         DataSetReadXmlSchemaTest.cs,
+         DataSetInferXmlSchemaTest.cs,
+         DataSetAssertion.cs : AssertDataTable() now checks Constraint count
+         and ParentKey length.
+
+2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetReadXmlSchemaTest.cs : Added tests for test012.xsd (repeatable
+         simple element) and test013.xsd (reference to global element;
+         currently failing).
+
+2004-05-11  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetTest.cs : Added WriteXmlToStream().
+
+2004-05-11  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetReadXmlSchemaTest.cs : SingleElementTreatmentDifference() was
+         incorrect. DataSet element is assumed only if there is only one 
+         global element.
+       * DataSetReadXmlTest.cs : Added error-reported test case.
+       * DataSetInferXmlSchemaTest.cs : Modified more tests not to compare
+         Ordinal for non-specified columns (that shouldn't be significant).
+
+2004-05-06  Atsushi Enomoto <atsushi@ximian.com>
+
+       * ConstraintCollectionTest.cs : Table name should not be the same as
+         for the purpose of this test.
+       * DataSetReadXmlSchemaTest.cs : Added more tests based on schema files.
+       * DataSetTest.cs : Reordered attributes to pass test in 
+         WriteDifferentNamespaceSchema().
+
+2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
+
+       * ForeignKeyConstraintTest.cs : Made tests pass under MS.NET 1.1.
+         Don't catch every kind of exception. That does nothing but keep us
+         away from the exact error location.
+       * DataSetTest.cs : Make sure that we read schema correctly, before
+         testing WriteXmlSchema.
+
+2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataColumnCollectionTest.cs : catch only specific exception. Don't
+         rely on localizable error message.
+       * DataSetTest.cs : Attribute orders should not be significant, so
+         just hacked to match current implementation's order.
+         Added WriteNestedTableXml().
+
+2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
+
+       * ConstraintCollectionTest.cs : uncommented some tests that should be
+         implemented until mono 1.0.
+       * ConstraintTest.cs : use ExpectedException. Don't expect localizable
+         error message.
+       * DataColumnTest.cs,
+         DataRelationTest.cs,
+         DataRowCollectionTest.cs : catch only specific type exception.
+         Don't rely on (test) localizable messages.
+       * DataSetAssertion.cs : We shouldn't expect exact column ordinals
+         when infering/reading the structures from documents/schemas.
+
+2004-04-29  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataRowTest.cs : Added a test for auto increment column and item
+         integrity (it caused index out of range exception).
+
+2004-04-27  Atsushi Enomoto <atsushi@ximian.com>
+
+       * ConstraintCollectionTest.cs,
+         DataSetTest.cs,
+         DataTableTest.cs,
+         ForeignKeyConstraintTest.cs : Fixes for incorrect NET_1_0 use.
+       * DataRowCollectionTest.cs : just check exception type. Don't check
+         localizable error message.
+       * DataSetAssertion.cs : Removed AssertDataSet() with just 4 argument.
+         Added relation count parameter for AssertDataTable().
+         Added Nested check parameter for AssertDataRelation().
+       * DataSetInferXmlSchemaTest.cs,
+         DataSetReadXmlTest.cs,
+         DataSetReadXmlSchemaTest.cs :
+         Applied new AssertDataTable().  Added more check on
+         DataSetReadXmlSchemaTest.SingleElementTreatmentDifference ().
+
+2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
+
+       All fixes are to make them pass under MS.NET 1.1.
+
+       * ConstraintCollectionTest.cs : Fixed to pass under MS.NET 1.1.
+       * DataRelationTest.cs : Creation4() never works.
+       * DataSetInferXmlSchemaTest.cs :
+         Fixed xml9 test (relation count).
+         Some mappings were incorrectly specified int.
+         ConflictColumnTable() test incorrectly tested different columns.
+         Fixed exception type on ConflictExistingPrimaryKey().
+       * DataSetReadXmlSchemaTest.cs :
+         Use fixed current culture.
+         Fixed exceptoin type on NestedReferenceNotAllowed().
+       * DataSetReadXmlTest.cs :
+         InferSchema mode is said as to load rows.
+       * DataSetTest.cs :
+         SqlGuid test depends on the runtime version.
+         In WriteDifferentNamespaceSchema(), we're going to set the same
+         order for namespaces (just for ease of tests).
+         Fixed many bugs on SerializeDataSet() test.
+       * DataTableTest.cs :
+         Set culture only on NET_1_0. Culture difference causes exception
+         under .NET 1.1.
+         Don't depend on error message string (consider localization).
+         Under .NET 1.1, constraints looks also vanishes on table's Clear().
+       * ForeignKeyConstraintTest.cs :
+         Ignore TestCtor5(). That does not work under .NET 1.1.
+         Fixed some exception type differences.
+
+2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetInferXmlSchemaTest.cs : Added ConflictExistingPrimaryKey().
+       * DataSetReadXmlTest.cs : Added IgnoreSchemaShouldFillData().
+       * DataSetTest.cs : Added IgnoreColumnEmptyNamespace() and
+         SerializeDataSet().
+
+2004-04-20  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetInferXmlSchema.cs : added more 16 patterns.
+         (mostly fails as yet).
+       * DataSetReadXmlTest.cs : Reverted yesterday's incorrect part.
+         As for XmlReadMode = Auto, data row should be read.
+       * DataSetTest.cs : Added Namespace and Prefix tests.
+         Added WriteDifferentNamespaceSchema().
+
+         hmm... WriteXmlSchema() also needs more love :(
+
+2004-04-19  Atsushi Enomoto <atsushi@ximian.com>
+
+       * Added DataSetInferXmlSchemaTest.cs.
+       * DataSetReadXmlTest.cs : Fixed test bogus. When ReadMode is
+         InferSchema, it should not load any data rows.
+       * DataSetAssertion.cs : Added AssertDataSet() overroad that takes 
+         relation count.
+
+2004-04-19  Atsushi Enomoto <atsushi@ximian.com>
+
+       * Added missing ChangeLog entry.
+       * ConstraintCollectionTest.cs :
+         Ignore some tests that should fail (They also fail under MS.NET).
+       * DataSetReadXmlSchemaTest.cs : 
+         - Added SingleElementTreatmentDifference() and PrefixedTargetNS().
+         - Modified UnusedComplexTypesInored() to make sure DataSetName is set.
+         - Renamed DataSetElementCannotBeReferenced() to 
+           NestedReferenceNotAllowed().
+         - Modified ReadElemAttrPattern() to LocaleOnRootWithoutIsDataSet() 
+           to test msdata:Locale.
+       * DataSetTest.cs : Due to mcs bug #57200, csc does not allow 
+         System.Type.GetType(), so modified them all.
+
+2004-04-16  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetAssertion.cs : Added AssertDataColumn().
+       * DataSetReadXmlSchemaTest.cs : Added more strange cases.
+
+2004-04-15     Umadevi S (sumadevi@novell.com)
+               * ForeignKeyConstraintTest - constructor testing,
+               * DataSet - test for Clone and Copy methods.
+
+2004-04-15  Atsushi Enomoto <atsushi@ximian.com>
+
+       * Added DataSetAssertion.cs and DataSetReadXmlSchema.cs.
+       * DataSetReadXmlTest.cs : separate assertion methods into
+         DataSetAssertion.cs. Added label argument to AssertDataTable.
+
+2004-04-15  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetReadXmlTest.cs : Tests were incorrect. They should be done
+         against new dataset. So just added another sequential read tests.
+
+2004-04-14  Atsushi Enomoto <atsushi@ximian.com>
+
+       * Added DataSetReadXmlTest.cs. (specific to ReadXml() in DataSet).
+
+2004-04-12  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataSetTest.cs : More path fix. Don't expect End of Line = "\n".
+         It might be "\r\n" or else.
+
+2004-04-09  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DataColumnTest.cs,
+         DataRowTest.cs,
+         DataTableTest.cs : build fix: csc does not allow
+         System.Type inside namespace MonoTests.System.Data.
+       * DataSetTest.cs : path fix.
+       * DataRelationTest.cs : path fix. Don't test error message: It should
+         vary by message translations. Split tests and use ExpectedException.
+
+2004-03-31  Juraj Skripsky <juraj@hotfeet.ch>
+
+       * DataColumnTest.cs : fixes here and there,
+       make all tests pass on ms.net.
+
+2004-03-29  Juraj Skripsky <juraj@hotfeet.ch>
+
+       * DataTableTest.cs : add test case for bug #55503,
+       comment out meaningless test cases.
+
+2004-01-21  Atsushi Enomoto <atsushi@ximian.com>
+
+       * Added TypedDataSetGeneratorTest.cs.
+
+2003-12-18  Jackson Harper <jackson@ximian.com>
+
+       * DataViewTest.cs: Add some tests for new methods.
+       
+2003-05-26  Ben Maurer <bmaurer@users.sourceforge.net>
+       * DataViewTest.cs: Added new test from
+       Patrick Kalkman
+
+2003-05-13  Martin Willemoes Hansen <mwh@sysrq.dk>
+       * All tests inherits from Assertion, and
+         Assertion. prefixes removed
+
 2003-04-05  Ville Palo <vi64pa@kolumbus.fi>
 
        * DataTableTest.cs: little fix.