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