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