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