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