In Test/System.Data:
[mono.git] / mcs / class / System.Data / Test / System.Data / ChangeLog
1 2005-01-25  Sureshkumar T  <tsureshkumar@novell.com>
2
3         * DataTableTest.cs: added test case for checking ImportRow when
4         the row state is detached. Test case by Ankit Jain.
5
6 2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * DataRowViewTest.cs : added IsEdit tests and Item tess (not working).
9
10 2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
11
12         * DataRowViewTest.cs : added new file.
13
14 2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
15
16         * DataSetReadXmlSchemaTest.cs : test labels were ambiguous.
17         * DataViewTest.cs : indentation was heavily broken.
18
19 2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
20
21         * DataColumnTest.cs : Added SetMaxLength().
22
23 2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
24
25         * store2.xsd, store3.xsd, store4.xsd : Added.
26         * DataSetTest.cs :
27           Disabled ReadWriteXmlSchema() and ReadWriteXmlSchemaIgnoreSchema()
28           for now. See the details in the code.
29
30 2005-01-21  Atsushi Enomoto  <atsushi@ximian.com>
31
32         * DataRowTest.cs : more test for Current -> Default, test for 
33           VersionNotFound, and test for InvalidConstraint on GetChildRows().
34           Patch by Ankit Jain.
35
36 2005-01-21  Atsushi Enomoto  <atsushi@ximian.com>
37
38         * DataRowTest.cs : Test if Default is used to check state of the row
39           instead of Detached. Patch by Ankit Jain.
40
41 2005-01-21  Atsushi Enomoto  <atsushi@ximian.com>
42
43         * DataSetTest.cs : added CloneCopy2().
44
45 2005-01-20  Atsushi Enomoto  <atsushi@ximian.com>
46
47         * DataSetTest.cs : use more normalized schema comparison.
48
49 2005-01-20  Atsushi Enomoto  <atsushi@ximian.com>
50
51         * DataSetTest.cs,
52           DataSetAssertionTest.cs : In GetNormalizedSchema(), use manual
53           sorting using dom  so that it can ignore XmlSerializer difference.
54           Added some new assertion methods.
55
56 2005-01-19  Atsushi Enomoto  <atsushi@ximian.com>
57
58         * DataRowTest.cs : no need to gather 3 individual tests as RowEditTest.
59           Let's not output to Console.
60
61 2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
62
63         * DataViewTest.cs : made AddNew_2() and FindRows() pass under .NET 1.1.
64           FindRows() is still not implemented, so marked as [Ignore].
65
66 2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
67
68         * ForeignKeyConstraintTest.cs : Fixed Ctor5() to pass under MS.NET 1.1.
69           Design time ctor() needs more love.
70         * DataRelationCollectionTest.cs,
71           DataTableCollectionTest.cs : Made Remove() pass under MS.NET 1.1.
72           When index is out of range, IndexOutOfRangeException is thrown.
73           DataRelationCollectionTest.AddException1() was invalid.
74
75 2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
76
77         * ConstraintCollectionTest.cs : Fixed run-test-ondotnet. MS.NET does
78           not fill Table property even after EndInit().
79         * DataRelationTest.cs : Fixed run-test-ondotnet. ExpectedException 
80           is missing.
81         * TypedDataSetGeneratorTest.cs : fixed GenerateName() both for
82           run-test-ondotnet and run-test.
83
84 2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>
85
86         * DataSetTest.cs : WriteXmlSchema2() and WriteXmlSchema3() didn't pass
87           on run-test-ondotnet. Removed extraneous Console output.
88           modified WriteXmlSchema4(),WriteXmlSchema5() and WriteXmlSchema6()
89           to use xmlserializer-based comparison.
90           Fixed SerializeDataSet() to use ordinal MS result (it's not simple
91           to compare results unless we have another WriteXmlSchema() 
92           implementation.)
93
94 2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>
95
96         * DataSetAssertion.cs : forgot one required update for refreshed tests.
97
98 2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>
99
100         * DataSetReadXmlSchemaTest.cs : added test for bug #58744.
101         * DataSetReadXmlTest.cs : Added NameConflictDSAndTable().
102         * DataSetTest.cs :
103           Now use XmlSerializer based output, to avoid silly attribute order in
104           OwnWriteXmlSchema(),WriteXmlSchema(),ReadWriteXmlSchemaIgnoreSchema(),
105           ReadWriteXmlSchema() and WriteDifferentNamespaceSchema().
106           Added SerializeDataSet2(),SerializeDataSet3(),DeserializeDataSet(),
107           ReadWriteXml3(),WriteXmlSchema2(),WriteXmlSchema3(),WriteXmlSchema4(),
108           WriteXmlSchema5(),WriteXmlSchema6(),WriteXmlSchema7(),
109           WriteXmlExtendedProperties() and WriteXmlModeSchema().
110
111 2004-10-14 Umadevi S <sumadevi@novell.com>
112         * DataTableTest.cs : added testcase for subclass clone
113
114 2004-10-14 Umadevi S <sumadevi@novell.com>
115         * DataSetTest.cs : added testcase to check subclass clone
116
117 2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>
118
119         * DataSetTest.cs : now xs:schema contains xmlns="".
120
121 2004-09-24 Umadevi S <sumadevi@novell.com>
122         * DataRowTest.cs : Added a test for EnforceConstraints with relations defined.
123
124 2004-09-24  Sureshkumar T  <tsureshkumar@novell.com>
125
126         * DataSetTest.cs (DataSetClearTest): Added a test for DataSet.Clear. This should not
127         throw any exception and should override constraints.
128
129 2004-09-19  Sureshkumar T <tsureshkumar@novell.com>
130         * DataSetTest.cs : Added a test for Deserialization of dataset : DeserializeModifiedDataSet
131
132 2004-08-24  Nick Drochak <ndrochak@ieee.org>
133         * DataViewTest.cs : Fixed compile with csc
134
135 2004-08-18 Umadevi S <sumadevi@novell.com>
136         * DataViewTest.cs : Revamped to get Event handling tested
137         Thanks to Punit Todi for his contribution towards the test cases
138
139 2004-06-23 Umadevi S <sumadevi@novell.com>
140         * DataTableTest.cs :Corrected Testcases to .net 1.1 specifications
141
142 2004-06-23 Umadevi S  <sumadevi@novell.com>
143         * DataRelationTest.cs : Corrected AddRelation testcases
144
145 2004-06-23 Umadevi S <sumadevi@novell.com>
146         * ConstraintCollectionTest.cs : Corrected AddRange testcases
147
148 2004-06-20  Atsushi Enomoto <atsushi@ximian.com>
149
150         * DataTableCollectionTest.cs : Added test for DataSet and Namespace
151           adjustment.
152
153 2004-06-18  Atsushi Enomoto <atsushi@ximian.com>
154
155         * TypedDataSetGeneratorTest.cs : [TestFixture] was missing.
156
157 2004-06-15  Atsushi Enomoto <atsushi@ximian.com>
158
159         * DataSetTest.cs : Added regression for #53959.
160
161 2004-05-31  Atsushi Enomoto <atsushi@ximian.com>
162
163         * DataTableTest.cs : Added test for serialization by Boris Kirzner.
164         * DataSetInferXmlSchemaTest.cs : Added test for schema element skip
165            by Boris Kirzner.
166
167 2004-05-27  Nick Drochak <ndrochak@ieee.org>
168
169         * DataRelationCollectionTest.cs: Fixed build when using csc.
170
171 2004-05-27 Umadevi S <sumadevi@novell.com>
172         * Corrected small typos in DataTableCollectionTest & DataRelationCollectionTest
173
174 2004-05-26  Umadevi S <sumadevi@novell.com>
175         * Added files DataTableCollectionTest and DataRelationCollectionTest
176
177 2004-05-19  Atsushi Enomoto <atsushi@ximian.com>
178
179         * DataSetTest.cs : Fixed ReadWriteXmlSchema() that miscounted
180           constraints and parent keys.
181
182 2004-05-18  Atsushi Enomoto <atsushi@ximian.com>
183
184         * DataSetTest.cs : Converted CRLF to LF for line ending comparison.
185           (and added copyright line.)
186
187 2004-05-17  Atsushi Enomoto <atsushi@ximian.com>
188
189         * DataSetTest.cs : Added WriteXmlEncodedXml() test.
190
191 2004-05-17  Atsushi Enomoto <atsushi@ximian.com>
192
193         * DataSetAssertion.cs : Enabled "Ordinal" check again, unless the test
194           value is -1.
195         * DataSetInferXmlSchemaTest.cs,
196           DataSetReadXmlSchemaTest.cs  : Enabled Ordinal check again, as long
197           as working. Added IgnoredNamespaces() to inferxmlschema test.
198
199 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
200
201         * DataSetReadXmlSchemaTest.cs : Added test014.xsd tes (contains two
202           simple repeatable elements).
203
204 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
205
206         * DataSetTest.cs,
207           DataSetReadXmlTest.cs,
208           DataSetReadXmlSchemaTest.cs,
209           DataSetInferXmlSchemaTest.cs,
210           DataSetAssertion.cs : AssertDataTable() now checks Constraint count
211           and ParentKey length.
212
213 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
214
215         * DataSetReadXmlSchemaTest.cs : Added tests for test012.xsd (repeatable
216           simple element) and test013.xsd (reference to global element;
217           currently failing).
218
219 2004-05-11  Atsushi Enomoto <atsushi@ximian.com>
220
221         * DataSetTest.cs : Added WriteXmlToStream().
222
223 2004-05-11  Atsushi Enomoto <atsushi@ximian.com>
224
225         * DataSetReadXmlSchemaTest.cs : SingleElementTreatmentDifference() was
226           incorrect. DataSet element is assumed only if there is only one 
227           global element.
228         * DataSetReadXmlTest.cs : Added error-reported test case.
229         * DataSetInferXmlSchemaTest.cs : Modified more tests not to compare
230           Ordinal for non-specified columns (that shouldn't be significant).
231
232 2004-05-06  Atsushi Enomoto <atsushi@ximian.com>
233
234         * ConstraintCollectionTest.cs : Table name should not be the same as
235           for the purpose of this test.
236         * DataSetReadXmlSchemaTest.cs : Added more tests based on schema files.
237         * DataSetTest.cs : Reordered attributes to pass test in 
238           WriteDifferentNamespaceSchema().
239
240 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
241
242         * ForeignKeyConstraintTest.cs : Made tests pass under MS.NET 1.1.
243           Don't catch every kind of exception. That does nothing but keep us
244           away from the exact error location.
245         * DataSetTest.cs : Make sure that we read schema correctly, before
246           testing WriteXmlSchema.
247
248 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
249
250         * DataColumnCollectionTest.cs : catch only specific exception. Don't
251           rely on localizable error message.
252         * DataSetTest.cs : Attribute orders should not be significant, so
253           just hacked to match current implementation's order.
254           Added WriteNestedTableXml().
255
256 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
257
258         * ConstraintCollectionTest.cs : uncommented some tests that should be
259           implemented until mono 1.0.
260         * ConstraintTest.cs : use ExpectedException. Don't expect localizable
261           error message.
262         * DataColumnTest.cs,
263           DataRelationTest.cs,
264           DataRowCollectionTest.cs : catch only specific type exception.
265           Don't rely on (test) localizable messages.
266         * DataSetAssertion.cs : We shouldn't expect exact column ordinals
267           when infering/reading the structures from documents/schemas.
268
269 2004-04-29  Atsushi Enomoto <atsushi@ximian.com>
270
271         * DataRowTest.cs : Added a test for auto increment column and item
272           integrity (it caused index out of range exception).
273
274 2004-04-27  Atsushi Enomoto <atsushi@ximian.com>
275
276         * ConstraintCollectionTest.cs,
277           DataSetTest.cs,
278           DataTableTest.cs,
279           ForeignKeyConstraintTest.cs : Fixes for incorrect NET_1_0 use.
280         * DataRowCollectionTest.cs : just check exception type. Don't check
281           localizable error message.
282         * DataSetAssertion.cs : Removed AssertDataSet() with just 4 argument.
283           Added relation count parameter for AssertDataTable().
284           Added Nested check parameter for AssertDataRelation().
285         * DataSetInferXmlSchemaTest.cs,
286           DataSetReadXmlTest.cs,
287           DataSetReadXmlSchemaTest.cs :
288           Applied new AssertDataTable().  Added more check on
289           DataSetReadXmlSchemaTest.SingleElementTreatmentDifference ().
290
291 2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
292
293         All fixes are to make them pass under MS.NET 1.1.
294
295         * ConstraintCollectionTest.cs : Fixed to pass under MS.NET 1.1.
296         * DataRelationTest.cs : Creation4() never works.
297         * DataSetInferXmlSchemaTest.cs :
298           Fixed xml9 test (relation count).
299           Some mappings were incorrectly specified int.
300           ConflictColumnTable() test incorrectly tested different columns.
301           Fixed exception type on ConflictExistingPrimaryKey().
302         * DataSetReadXmlSchemaTest.cs :
303           Use fixed current culture.
304           Fixed exceptoin type on NestedReferenceNotAllowed().
305         * DataSetReadXmlTest.cs :
306           InferSchema mode is said as to load rows.
307         * DataSetTest.cs :
308           SqlGuid test depends on the runtime version.
309           In WriteDifferentNamespaceSchema(), we're going to set the same
310           order for namespaces (just for ease of tests).
311           Fixed many bugs on SerializeDataSet() test.
312         * DataTableTest.cs :
313           Set culture only on NET_1_0. Culture difference causes exception
314           under .NET 1.1.
315           Don't depend on error message string (consider localization).
316           Under .NET 1.1, constraints looks also vanishes on table's Clear().
317         * ForeignKeyConstraintTest.cs :
318           Ignore TestCtor5(). That does not work under .NET 1.1.
319           Fixed some exception type differences.
320
321 2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
322
323         * DataSetInferXmlSchemaTest.cs : Added ConflictExistingPrimaryKey().
324         * DataSetReadXmlTest.cs : Added IgnoreSchemaShouldFillData().
325         * DataSetTest.cs : Added IgnoreColumnEmptyNamespace() and
326           SerializeDataSet().
327
328 2004-04-20  Atsushi Enomoto <atsushi@ximian.com>
329
330         * DataSetInferXmlSchema.cs : added more 16 patterns.
331           (mostly fails as yet).
332         * DataSetReadXmlTest.cs : Reverted yesterday's incorrect part.
333           As for XmlReadMode = Auto, data row should be read.
334         * DataSetTest.cs : Added Namespace and Prefix tests.
335           Added WriteDifferentNamespaceSchema().
336
337           hmm... WriteXmlSchema() also needs more love :(
338
339 2004-04-19  Atsushi Enomoto <atsushi@ximian.com>
340
341         * Added DataSetInferXmlSchemaTest.cs.
342         * DataSetReadXmlTest.cs : Fixed test bogus. When ReadMode is
343           InferSchema, it should not load any data rows.
344         * DataSetAssertion.cs : Added AssertDataSet() overroad that takes 
345           relation count.
346
347 2004-04-19  Atsushi Enomoto <atsushi@ximian.com>
348
349         * Added missing ChangeLog entry.
350         * ConstraintCollectionTest.cs :
351           Ignore some tests that should fail (They also fail under MS.NET).
352         * DataSetReadXmlSchemaTest.cs : 
353           - Added SingleElementTreatmentDifference() and PrefixedTargetNS().
354           - Modified UnusedComplexTypesInored() to make sure DataSetName is set.
355           - Renamed DataSetElementCannotBeReferenced() to 
356             NestedReferenceNotAllowed().
357           - Modified ReadElemAttrPattern() to LocaleOnRootWithoutIsDataSet() 
358             to test msdata:Locale.
359         * DataSetTest.cs : Due to mcs bug #57200, csc does not allow 
360           System.Type.GetType(), so modified them all.
361
362 2004-04-16  Atsushi Enomoto <atsushi@ximian.com>
363
364         * DataSetAssertion.cs : Added AssertDataColumn().
365         * DataSetReadXmlSchemaTest.cs : Added more strange cases.
366
367 2004-04-15      Umadevi S (sumadevi@novell.com)
368                 * ForeignKeyConstraintTest - constructor testing,
369                 * DataSet - test for Clone and Copy methods.
370
371 2004-04-15  Atsushi Enomoto <atsushi@ximian.com>
372
373         * Added DataSetAssertion.cs and DataSetReadXmlSchema.cs.
374         * DataSetReadXmlTest.cs : separate assertion methods into
375           DataSetAssertion.cs. Added label argument to AssertDataTable.
376
377 2004-04-15  Atsushi Enomoto <atsushi@ximian.com>
378
379         * DataSetReadXmlTest.cs : Tests were incorrect. They should be done
380           against new dataset. So just added another sequential read tests.
381
382 2004-04-14  Atsushi Enomoto <atsushi@ximian.com>
383
384         * Added DataSetReadXmlTest.cs. (specific to ReadXml() in DataSet).
385
386 2004-04-12  Atsushi Enomoto <atsushi@ximian.com>
387
388         * DataSetTest.cs : More path fix. Don't expect End of Line = "\n".
389           It might be "\r\n" or else.
390
391 2004-04-09  Atsushi Enomoto <atsushi@ximian.com>
392
393         * DataColumnTest.cs,
394           DataRowTest.cs,
395           DataTableTest.cs : build fix: csc does not allow
396           System.Type inside namespace MonoTests.System.Data.
397         * DataSetTest.cs : path fix.
398         * DataRelationTest.cs : path fix. Don't test error message: It should
399           vary by message translations. Split tests and use ExpectedException.
400
401 2004-03-31  Juraj Skripsky <juraj@hotfeet.ch>
402
403         * DataColumnTest.cs : fixes here and there,
404         make all tests pass on ms.net.
405
406 2004-03-29  Juraj Skripsky <juraj@hotfeet.ch>
407
408         * DataTableTest.cs : add test case for bug #55503,
409         comment out meaningless test cases.
410
411 2004-01-21  Atsushi Enomoto <atsushi@ximian.com>
412
413         * Added TypedDataSetGeneratorTest.cs.
414
415 2003-12-18  Jackson Harper <jackson@ximian.com>
416
417         * DataViewTest.cs: Add some tests for new methods.
418         
419 2003-05-26  Ben Maurer <bmaurer@users.sourceforge.net>
420         * DataViewTest.cs: Added new test from
421         Patrick Kalkman
422
423 2003-05-13  Martin Willemoes Hansen <mwh@sysrq.dk>
424         * All tests inherits from Assertion, and
425           Assertion. prefixes removed
426
427 2003-04-05  Ville Palo <vi64pa@kolumbus.fi>
428
429         * DataTableTest.cs: little fix.
430         
431 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
432
433         * UniqueConstraintTest.cs: some minor fixes.
434         
435 2003-03-26  Ville Palo <vi64pa@kolumbus.fi>
436
437         * DataRowCollectionTest.cs: Tests for AutoIncrement
438         
439 2003-03-25  Ville Palo <vi64pa@kolumbus.fi>
440
441         * DataTableTest.cs: Added test for PrimaryKey-property
442         
443 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
444
445         * DataColumnCollectionTest.cs: little fix.
446
447 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
448
449         * DataColumnCollectionTest.cs: Typos
450         
451 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
452
453         * DataSetTest.cs: Fixed line-ending problems
454         
455 2003-03-06  Ville Palo <vi64pa@kolumbus.fi>
456
457         * DataTableTest.cs: More tests for Select ()
458         
459 2003-02-28  Ville Palo <vi64pa@kolumbus.fi>
460
461         * DataColumnCollectionTest.cs: Added more tests.
462         * DataRowCollectionTest.cs: Added more tests.
463         
464 2003-04-02  Ville Palo <vi64pa@koti.soon.fi>
465
466         * DataColumnTest.cs: Added tests for Expression property
467         
468 2003-03-02  Ville Palo <vi64pa@koti.soon.fi>
469
470         * DataTableTest.cs: More tests for Select
471         
472 2003-31-01  Ville Palo <vi64pa@koti.soon.fi>
473
474         * DataTableTest.cs: Added more tests for Select (string) -method
475         
476 2003-27-01  Ville Palo <vi64pa@koti.soon.fi>
477
478         * DataRelationTest.cs: Added more tests
479         
480 2003-27-01  Ville Palo <vi64pa@koti.soon.fi>
481
482         * DataTableTest.cs: Added test for DataTable.Select ()
483         
484 2003-24-01  Ville Palo <vi64pa@koti.soon.fi>
485
486         * UniqueConstraint.cs: More tests
487         
488 2003-23-01  Ville Palo <vi64pa@koti.soon.fi>
489
490         * ForeignKeyConstraint.cs: More tests
491         
492 2003-22-01  Ville Palo <vi64pa@koti.soon.fi>
493
494         * DataRelationTest.cs: More tests and little clean up.
495         
496 2003-14-01  Ville Palo <vi64pa@koti.soon.fi>
497
498         * DataRelationTest.cs: Added more tests
499         
500 2003-13-01  Ville Palo <vi64pa@koti.soon.fi>
501
502         * DataRelationTest.cs: Test class for DataRelation
503         
504 2002-12-26  Ville Palo <vi64pa@koti.soon.fi>
505
506         * own_schema.xsd: XmlSchema for testing ReadXmlSchema() -method
507         * DataSetTest.cs: Added more Xml-tests. 
508         
509 2002-12-17  Ville Palo <vi64pa@koti.soon.fi>
510
511         * region.xml: 
512         * store.xsd: new xmldoment and xmlschema for testing DataSet
513         * DataSetTest.cs: Added some Xml-tests.
514         * AllTests.cs: Added DataSetTest
515         
516 2002-10-23  Nick Drochak  <ndrochak@gol.com>
517
518         * ConstraintCollectionTest.cs (SetUp): Clear the constraints before 
519         each test.
520         * ConstraintTest.cs: same
521         * DataColumnTest.cs: Get exceptions straight.  Some are thrown and some
522         aren't
523
524 2002-10-22  Nick Drochak  <ndrochak@gol.com>
525
526         * DataColumnTest.cs: Remove compiler warnings and use caught exception
527         to report useful info.