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