**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Data / Test / System.Data / ChangeLog
blob3e65e8caeefa44d5fe0f6f4d5d5458ab37ae70fc
1 2004-10-14 Umadevi S <sumadevi@novell.com>
2         * DataTableTest.cs : added testcase for subclass clone
4 2004-10-14 Umadevi S <sumadevi@novell.com>
5         * DataSetTest.cs : added testcase to check subclass clone
7 2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>
9         * DataSetTest.cs : now xs:schema contains xmlns="".
11 2004-09-24 Umadevi S <sumadevi@novell.com>
12         * DataRowTest.cs : Added a test for EnforceConstraints with relations defined.
14 2004-09-24  Sureshkumar T  <tsureshkumar@novell.com>
16         * DataSetTest.cs (DataSetClearTest): Added a test for DataSet.Clear. This should not
17         throw any exception and should override constraints.
19 2004-09-19  Sureshkumar T <tsureshkumar@novell.com>
20         * DataSetTest.cs : Added a test for Deserialization of dataset : DeserializeModifiedDataSet
22 2004-08-24  Nick Drochak <ndrochak@ieee.org>
23         * DataViewTest.cs : Fixed compile with csc
25 2004-08-18 Umadevi S <sumadevi@novell.com>
26         * DataViewTest.cs : Revamped to get Event handling tested
27         Thanks to Punit Todi for his contribution towards the test cases
29 2004-06-23 Umadevi S <sumadevi@novell.com>
30         * DataTableTest.cs :Corrected Testcases to .net 1.1 specifications
32 2004-06-23 Umadevi S  <sumadevi@novell.com>
33         * DataRelationTest.cs : Corrected AddRelation testcases
35 2004-06-23 Umadevi S <sumadevi@novell.com>
36         * ConstraintCollectionTest.cs : Corrected AddRange testcases
38 2004-06-20  Atsushi Enomoto <atsushi@ximian.com>
40         * DataTableCollectionTest.cs : Added test for DataSet and Namespace
41           adjustment.
43 2004-06-18  Atsushi Enomoto <atsushi@ximian.com>
45         * TypedDataSetGeneratorTest.cs : [TestFixture] was missing.
47 2004-06-15  Atsushi Enomoto <atsushi@ximian.com>
49         * DataSetTest.cs : Added regression for #53959.
51 2004-05-31  Atsushi Enomoto <atsushi@ximian.com>
53         * DataTableTest.cs : Added test for serialization by Boris Kirzner.
54         * DataSetInferXmlSchemaTest.cs : Added test for schema element skip
55            by Boris Kirzner.
57 2004-05-27  Nick Drochak <ndrochak@ieee.org>
59         * DataRelationCollectionTest.cs: Fixed build when using csc.
61 2004-05-27 Umadevi S <sumadevi@novell.com>
62         * Corrected small typos in DataTableCollectionTest & DataRelationCollectionTest
64 2004-05-26  Umadevi S <sumadevi@novell.com>
65         * Added files DataTableCollectionTest and DataRelationCollectionTest
67 2004-05-19  Atsushi Enomoto <atsushi@ximian.com>
69         * DataSetTest.cs : Fixed ReadWriteXmlSchema() that miscounted
70           constraints and parent keys.
72 2004-05-18  Atsushi Enomoto <atsushi@ximian.com>
74         * DataSetTest.cs : Converted CRLF to LF for line ending comparison.
75           (and added copyright line.)
77 2004-05-17  Atsushi Enomoto <atsushi@ximian.com>
79         * DataSetTest.cs : Added WriteXmlEncodedXml() test.
81 2004-05-17  Atsushi Enomoto <atsushi@ximian.com>
83         * DataSetAssertion.cs : Enabled "Ordinal" check again, unless the test
84           value is -1.
85         * DataSetInferXmlSchemaTest.cs,
86           DataSetReadXmlSchemaTest.cs  : Enabled Ordinal check again, as long
87           as working. Added IgnoredNamespaces() to inferxmlschema test.
89 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
91         * DataSetReadXmlSchemaTest.cs : Added test014.xsd tes (contains two
92           simple repeatable elements).
94 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
96         * DataSetTest.cs,
97           DataSetReadXmlTest.cs,
98           DataSetReadXmlSchemaTest.cs,
99           DataSetInferXmlSchemaTest.cs,
100           DataSetAssertion.cs : AssertDataTable() now checks Constraint count
101           and ParentKey length.
103 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
105         * DataSetReadXmlSchemaTest.cs : Added tests for test012.xsd (repeatable
106           simple element) and test013.xsd (reference to global element;
107           currently failing).
109 2004-05-11  Atsushi Enomoto <atsushi@ximian.com>
111         * DataSetTest.cs : Added WriteXmlToStream().
113 2004-05-11  Atsushi Enomoto <atsushi@ximian.com>
115         * DataSetReadXmlSchemaTest.cs : SingleElementTreatmentDifference() was
116           incorrect. DataSet element is assumed only if there is only one 
117           global element.
118         * DataSetReadXmlTest.cs : Added error-reported test case.
119         * DataSetInferXmlSchemaTest.cs : Modified more tests not to compare
120           Ordinal for non-specified columns (that shouldn't be significant).
122 2004-05-06  Atsushi Enomoto <atsushi@ximian.com>
124         * ConstraintCollectionTest.cs : Table name should not be the same as
125           for the purpose of this test.
126         * DataSetReadXmlSchemaTest.cs : Added more tests based on schema files.
127         * DataSetTest.cs : Reordered attributes to pass test in 
128           WriteDifferentNamespaceSchema().
130 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
132         * ForeignKeyConstraintTest.cs : Made tests pass under MS.NET 1.1.
133           Don't catch every kind of exception. That does nothing but keep us
134           away from the exact error location.
135         * DataSetTest.cs : Make sure that we read schema correctly, before
136           testing WriteXmlSchema.
138 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
140         * DataColumnCollectionTest.cs : catch only specific exception. Don't
141           rely on localizable error message.
142         * DataSetTest.cs : Attribute orders should not be significant, so
143           just hacked to match current implementation's order.
144           Added WriteNestedTableXml().
146 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
148         * ConstraintCollectionTest.cs : uncommented some tests that should be
149           implemented until mono 1.0.
150         * ConstraintTest.cs : use ExpectedException. Don't expect localizable
151           error message.
152         * DataColumnTest.cs,
153           DataRelationTest.cs,
154           DataRowCollectionTest.cs : catch only specific type exception.
155           Don't rely on (test) localizable messages.
156         * DataSetAssertion.cs : We shouldn't expect exact column ordinals
157           when infering/reading the structures from documents/schemas.
159 2004-04-29  Atsushi Enomoto <atsushi@ximian.com>
161         * DataRowTest.cs : Added a test for auto increment column and item
162           integrity (it caused index out of range exception).
164 2004-04-27  Atsushi Enomoto <atsushi@ximian.com>
166         * ConstraintCollectionTest.cs,
167           DataSetTest.cs,
168           DataTableTest.cs,
169           ForeignKeyConstraintTest.cs : Fixes for incorrect NET_1_0 use.
170         * DataRowCollectionTest.cs : just check exception type. Don't check
171           localizable error message.
172         * DataSetAssertion.cs : Removed AssertDataSet() with just 4 argument.
173           Added relation count parameter for AssertDataTable().
174           Added Nested check parameter for AssertDataRelation().
175         * DataSetInferXmlSchemaTest.cs,
176           DataSetReadXmlTest.cs,
177           DataSetReadXmlSchemaTest.cs :
178           Applied new AssertDataTable().  Added more check on
179           DataSetReadXmlSchemaTest.SingleElementTreatmentDifference ().
181 2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
183         All fixes are to make them pass under MS.NET 1.1.
185         * ConstraintCollectionTest.cs : Fixed to pass under MS.NET 1.1.
186         * DataRelationTest.cs : Creation4() never works.
187         * DataSetInferXmlSchemaTest.cs :
188           Fixed xml9 test (relation count).
189           Some mappings were incorrectly specified int.
190           ConflictColumnTable() test incorrectly tested different columns.
191           Fixed exception type on ConflictExistingPrimaryKey().
192         * DataSetReadXmlSchemaTest.cs :
193           Use fixed current culture.
194           Fixed exceptoin type on NestedReferenceNotAllowed().
195         * DataSetReadXmlTest.cs :
196           InferSchema mode is said as to load rows.
197         * DataSetTest.cs :
198           SqlGuid test depends on the runtime version.
199           In WriteDifferentNamespaceSchema(), we're going to set the same
200           order for namespaces (just for ease of tests).
201           Fixed many bugs on SerializeDataSet() test.
202         * DataTableTest.cs :
203           Set culture only on NET_1_0. Culture difference causes exception
204           under .NET 1.1.
205           Don't depend on error message string (consider localization).
206           Under .NET 1.1, constraints looks also vanishes on table's Clear().
207         * ForeignKeyConstraintTest.cs :
208           Ignore TestCtor5(). That does not work under .NET 1.1.
209           Fixed some exception type differences.
211 2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
213         * DataSetInferXmlSchemaTest.cs : Added ConflictExistingPrimaryKey().
214         * DataSetReadXmlTest.cs : Added IgnoreSchemaShouldFillData().
215         * DataSetTest.cs : Added IgnoreColumnEmptyNamespace() and
216           SerializeDataSet().
218 2004-04-20  Atsushi Enomoto <atsushi@ximian.com>
220         * DataSetInferXmlSchema.cs : added more 16 patterns.
221           (mostly fails as yet).
222         * DataSetReadXmlTest.cs : Reverted yesterday's incorrect part.
223           As for XmlReadMode = Auto, data row should be read.
224         * DataSetTest.cs : Added Namespace and Prefix tests.
225           Added WriteDifferentNamespaceSchema().
227           hmm... WriteXmlSchema() also needs more love :(
229 2004-04-19  Atsushi Enomoto <atsushi@ximian.com>
231         * Added DataSetInferXmlSchemaTest.cs.
232         * DataSetReadXmlTest.cs : Fixed test bogus. When ReadMode is
233           InferSchema, it should not load any data rows.
234         * DataSetAssertion.cs : Added AssertDataSet() overroad that takes 
235           relation count.
237 2004-04-19  Atsushi Enomoto <atsushi@ximian.com>
239         * Added missing ChangeLog entry.
240         * ConstraintCollectionTest.cs :
241           Ignore some tests that should fail (They also fail under MS.NET).
242         * DataSetReadXmlSchemaTest.cs : 
243           - Added SingleElementTreatmentDifference() and PrefixedTargetNS().
244           - Modified UnusedComplexTypesInored() to make sure DataSetName is set.
245           - Renamed DataSetElementCannotBeReferenced() to 
246             NestedReferenceNotAllowed().
247           - Modified ReadElemAttrPattern() to LocaleOnRootWithoutIsDataSet() 
248             to test msdata:Locale.
249         * DataSetTest.cs : Due to mcs bug #57200, csc does not allow 
250           System.Type.GetType(), so modified them all.
252 2004-04-16  Atsushi Enomoto <atsushi@ximian.com>
254         * DataSetAssertion.cs : Added AssertDataColumn().
255         * DataSetReadXmlSchemaTest.cs : Added more strange cases.
257 2004-04-15      Umadevi S (sumadevi@novell.com)
258                 * ForeignKeyConstraintTest - constructor testing,
259                 * DataSet - test for Clone and Copy methods.
261 2004-04-15  Atsushi Enomoto <atsushi@ximian.com>
263         * Added DataSetAssertion.cs and DataSetReadXmlSchema.cs.
264         * DataSetReadXmlTest.cs : separate assertion methods into
265           DataSetAssertion.cs. Added label argument to AssertDataTable.
267 2004-04-15  Atsushi Enomoto <atsushi@ximian.com>
269         * DataSetReadXmlTest.cs : Tests were incorrect. They should be done
270           against new dataset. So just added another sequential read tests.
272 2004-04-14  Atsushi Enomoto <atsushi@ximian.com>
274         * Added DataSetReadXmlTest.cs. (specific to ReadXml() in DataSet).
276 2004-04-12  Atsushi Enomoto <atsushi@ximian.com>
278         * DataSetTest.cs : More path fix. Don't expect End of Line = "\n".
279           It might be "\r\n" or else.
281 2004-04-09  Atsushi Enomoto <atsushi@ximian.com>
283         * DataColumnTest.cs,
284           DataRowTest.cs,
285           DataTableTest.cs : build fix: csc does not allow
286           System.Type inside namespace MonoTests.System.Data.
287         * DataSetTest.cs : path fix.
288         * DataRelationTest.cs : path fix. Don't test error message: It should
289           vary by message translations. Split tests and use ExpectedException.
291 2004-03-31  Juraj Skripsky <juraj@hotfeet.ch>
293         * DataColumnTest.cs : fixes here and there,
294         make all tests pass on ms.net.
296 2004-03-29  Juraj Skripsky <juraj@hotfeet.ch>
298         * DataTableTest.cs : add test case for bug #55503,
299         comment out meaningless test cases.
301 2004-01-21  Atsushi Enomoto <atsushi@ximian.com>
303         * Added TypedDataSetGeneratorTest.cs.
305 2003-12-18  Jackson Harper <jackson@ximian.com>
307         * DataViewTest.cs: Add some tests for new methods.
308         
309 2003-05-26  Ben Maurer <bmaurer@users.sourceforge.net>
310         * DataViewTest.cs: Added new test from
311         Patrick Kalkman
313 2003-05-13  Martin Willemoes Hansen <mwh@sysrq.dk>
314         * All tests inherits from Assertion, and
315           Assertion. prefixes removed
317 2003-04-05  Ville Palo <vi64pa@kolumbus.fi>
319         * DataTableTest.cs: little fix.
320         
321 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
323         * UniqueConstraintTest.cs: some minor fixes.
324         
325 2003-03-26  Ville Palo <vi64pa@kolumbus.fi>
327         * DataRowCollectionTest.cs: Tests for AutoIncrement
328         
329 2003-03-25  Ville Palo <vi64pa@kolumbus.fi>
331         * DataTableTest.cs: Added test for PrimaryKey-property
332         
333 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
335         * DataColumnCollectionTest.cs: little fix.
337 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
339         * DataColumnCollectionTest.cs: Typos
340         
341 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
343         * DataSetTest.cs: Fixed line-ending problems
344         
345 2003-03-06  Ville Palo <vi64pa@kolumbus.fi>
347         * DataTableTest.cs: More tests for Select ()
348         
349 2003-02-28  Ville Palo <vi64pa@kolumbus.fi>
351         * DataColumnCollectionTest.cs: Added more tests.
352         * DataRowCollectionTest.cs: Added more tests.
353         
354 2003-04-02  Ville Palo <vi64pa@koti.soon.fi>
356         * DataColumnTest.cs: Added tests for Expression property
357         
358 2003-03-02  Ville Palo <vi64pa@koti.soon.fi>
360         * DataTableTest.cs: More tests for Select
361         
362 2003-31-01  Ville Palo <vi64pa@koti.soon.fi>
364         * DataTableTest.cs: Added more tests for Select (string) -method
365         
366 2003-27-01  Ville Palo <vi64pa@koti.soon.fi>
368         * DataRelationTest.cs: Added more tests
369         
370 2003-27-01  Ville Palo <vi64pa@koti.soon.fi>
372         * DataTableTest.cs: Added test for DataTable.Select ()
373         
374 2003-24-01  Ville Palo <vi64pa@koti.soon.fi>
376         * UniqueConstraint.cs: More tests
377         
378 2003-23-01  Ville Palo <vi64pa@koti.soon.fi>
380         * ForeignKeyConstraint.cs: More tests
381         
382 2003-22-01  Ville Palo <vi64pa@koti.soon.fi>
384         * DataRelationTest.cs: More tests and little clean up.
385         
386 2003-14-01  Ville Palo <vi64pa@koti.soon.fi>
388         * DataRelationTest.cs: Added more tests
389         
390 2003-13-01  Ville Palo <vi64pa@koti.soon.fi>
392         * DataRelationTest.cs: Test class for DataRelation
393         
394 2002-12-26  Ville Palo <vi64pa@koti.soon.fi>
396         * own_schema.xsd: XmlSchema for testing ReadXmlSchema() -method
397         * DataSetTest.cs: Added more Xml-tests. 
398         
399 2002-12-17  Ville Palo <vi64pa@koti.soon.fi>
401         * region.xml: 
402         * store.xsd: new xmldoment and xmlschema for testing DataSet
403         * DataSetTest.cs: Added some Xml-tests.
404         * AllTests.cs: Added DataSetTest
405         
406 2002-10-23  Nick Drochak  <ndrochak@gol.com>
408         * ConstraintCollectionTest.cs (SetUp): Clear the constraints before 
409         each test.
410         * ConstraintTest.cs: same
411         * DataColumnTest.cs: Get exceptions straight.  Some are thrown and some
412         aren't
414 2002-10-22  Nick Drochak  <ndrochak@gol.com>
416         * DataColumnTest.cs: Remove compiler warnings and use caught exception
417         to report useful info.