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