1 2005-02-03 Sureshkumar T <tsureshkumar@novell.com>
3 * ForeignKeyConstraintTest.cs: TestCtor5: ad-hoc fixes for mono.
4 ms.net does not allow fkc.Table. LAMESPEC.
6 2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
8 * DataViewManagerTest.cs : (Ctor) okay, #7 is silly test.
10 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
12 * DataTableTest.cs: ClearReset (): added valid error messages.
14 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
16 * DataViewManagerTest.cs : new file.
18 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
20 * DataViewTest.cs : Enable ComplexEventSequence1().
21 - Right now don't test ApplyDefaultSort event.
22 - Also row order between identical values depends on implementation.
24 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
26 * DataViewTest.cs : added practical event handling tests (though
27 NotWorking since it is still not complete).
29 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
31 * DataTableTest.cs : added RowChanging event test.
32 * DataViewTest.cs : make sure to clear event args.
34 2005-01-31 Sureshkumar T <tsureshkumar@novell.com>
36 * DataRowTest.cs: Added case for SetparentRow: create
37 DataRelations with createConstraints=false. part of the test case
40 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
42 * DataRowViewTest.cs : added RowVersion1() test.
44 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
46 * DataViewTest.cs : Enabled TestFindRows(). Added more FindRows() tests.
48 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
50 * DataTableTest.cs : PrimaryKeyColumnChecksNonNull() is working now.
52 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
54 * DataTableTest.cs : added tests for primary key constraint check
55 (not working right now).
57 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
59 * UniqueConstraintTest.cs : added DBNullAllowed().
61 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
63 * DataViewTest.cs : added test for ListChanged.
64 * DataRowViewTest.cs : (ItemException) fixed test. It is now working.
66 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
68 * DataTableTest.cs : finally run-test-ondotnet passes (i.e.
69 fixed incompatibility).
71 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
73 * DataViewTest.cs : With a tiny fix, removed NotDotNet.
75 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
77 * DataRowTest.cs : added DetachedRowItemException().
78 * DataSetTest.cs : WriteXmlSchema7() is now NotWorking.
80 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
82 * DataTableTest.cs: added test case for checking ImportRow when
83 the row state is detached. Test case by Ankit Jain.
85 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
87 * DataRowViewTest.cs : added IsEdit tests and Item tess (not working).
89 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
91 * DataRowViewTest.cs : added new file.
93 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
95 * DataSetReadXmlSchemaTest.cs : test labels were ambiguous.
96 * DataViewTest.cs : indentation was heavily broken.
98 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
100 * DataColumnTest.cs : Added SetMaxLength().
102 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
104 * store2.xsd, store3.xsd, store4.xsd : Added.
106 Disabled ReadWriteXmlSchema() and ReadWriteXmlSchemaIgnoreSchema()
107 for now. See the details in the code.
109 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
111 * DataRowTest.cs : more test for Current -> Default, test for
112 VersionNotFound, and test for InvalidConstraint on GetChildRows().
115 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
117 * DataRowTest.cs : Test if Default is used to check state of the row
118 instead of Detached. Patch by Ankit Jain.
120 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
122 * DataSetTest.cs : added CloneCopy2().
124 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
126 * DataSetTest.cs : use more normalized schema comparison.
128 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
131 DataSetAssertionTest.cs : In GetNormalizedSchema(), use manual
132 sorting using dom so that it can ignore XmlSerializer difference.
133 Added some new assertion methods.
135 2005-01-19 Atsushi Enomoto <atsushi@ximian.com>
137 * DataRowTest.cs : no need to gather 3 individual tests as RowEditTest.
138 Let's not output to Console.
140 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
142 * DataViewTest.cs : made AddNew_2() and FindRows() pass under .NET 1.1.
143 FindRows() is still not implemented, so marked as [Ignore].
145 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
147 * ForeignKeyConstraintTest.cs : Fixed Ctor5() to pass under MS.NET 1.1.
148 Design time ctor() needs more love.
149 * DataRelationCollectionTest.cs,
150 DataTableCollectionTest.cs : Made Remove() pass under MS.NET 1.1.
151 When index is out of range, IndexOutOfRangeException is thrown.
152 DataRelationCollectionTest.AddException1() was invalid.
154 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
156 * ConstraintCollectionTest.cs : Fixed run-test-ondotnet. MS.NET does
157 not fill Table property even after EndInit().
158 * DataRelationTest.cs : Fixed run-test-ondotnet. ExpectedException
160 * TypedDataSetGeneratorTest.cs : fixed GenerateName() both for
161 run-test-ondotnet and run-test.
163 2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
165 * DataSetTest.cs : WriteXmlSchema2() and WriteXmlSchema3() didn't pass
166 on run-test-ondotnet. Removed extraneous Console output.
167 modified WriteXmlSchema4(),WriteXmlSchema5() and WriteXmlSchema6()
168 to use xmlserializer-based comparison.
169 Fixed SerializeDataSet() to use ordinal MS result (it's not simple
170 to compare results unless we have another WriteXmlSchema()
173 2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
175 * DataSetAssertion.cs : forgot one required update for refreshed tests.
177 2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
179 * DataSetReadXmlSchemaTest.cs : added test for bug #58744.
180 * DataSetReadXmlTest.cs : Added NameConflictDSAndTable().
182 Now use XmlSerializer based output, to avoid silly attribute order in
183 OwnWriteXmlSchema(),WriteXmlSchema(),ReadWriteXmlSchemaIgnoreSchema(),
184 ReadWriteXmlSchema() and WriteDifferentNamespaceSchema().
185 Added SerializeDataSet2(),SerializeDataSet3(),DeserializeDataSet(),
186 ReadWriteXml3(),WriteXmlSchema2(),WriteXmlSchema3(),WriteXmlSchema4(),
187 WriteXmlSchema5(),WriteXmlSchema6(),WriteXmlSchema7(),
188 WriteXmlExtendedProperties() and WriteXmlModeSchema().
190 2004-10-14 Umadevi S <sumadevi@novell.com>
191 * DataTableTest.cs : added testcase for subclass clone
193 2004-10-14 Umadevi S <sumadevi@novell.com>
194 * DataSetTest.cs : added testcase to check subclass clone
196 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
198 * DataSetTest.cs : now xs:schema contains xmlns="".
200 2004-09-24 Umadevi S <sumadevi@novell.com>
201 * DataRowTest.cs : Added a test for EnforceConstraints with relations defined.
203 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
205 * DataSetTest.cs (DataSetClearTest): Added a test for DataSet.Clear. This should not
206 throw any exception and should override constraints.
208 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
209 * DataSetTest.cs : Added a test for Deserialization of dataset : DeserializeModifiedDataSet
211 2004-08-24 Nick Drochak <ndrochak@ieee.org>
212 * DataViewTest.cs : Fixed compile with csc
214 2004-08-18 Umadevi S <sumadevi@novell.com>
215 * DataViewTest.cs : Revamped to get Event handling tested
216 Thanks to Punit Todi for his contribution towards the test cases
218 2004-06-23 Umadevi S <sumadevi@novell.com>
219 * DataTableTest.cs :Corrected Testcases to .net 1.1 specifications
221 2004-06-23 Umadevi S <sumadevi@novell.com>
222 * DataRelationTest.cs : Corrected AddRelation testcases
224 2004-06-23 Umadevi S <sumadevi@novell.com>
225 * ConstraintCollectionTest.cs : Corrected AddRange testcases
227 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
229 * DataTableCollectionTest.cs : Added test for DataSet and Namespace
232 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
234 * TypedDataSetGeneratorTest.cs : [TestFixture] was missing.
236 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
238 * DataSetTest.cs : Added regression for #53959.
240 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
242 * DataTableTest.cs : Added test for serialization by Boris Kirzner.
243 * DataSetInferXmlSchemaTest.cs : Added test for schema element skip
246 2004-05-27 Nick Drochak <ndrochak@ieee.org>
248 * DataRelationCollectionTest.cs: Fixed build when using csc.
250 2004-05-27 Umadevi S <sumadevi@novell.com>
251 * Corrected small typos in DataTableCollectionTest & DataRelationCollectionTest
253 2004-05-26 Umadevi S <sumadevi@novell.com>
254 * Added files DataTableCollectionTest and DataRelationCollectionTest
256 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
258 * DataSetTest.cs : Fixed ReadWriteXmlSchema() that miscounted
259 constraints and parent keys.
261 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
263 * DataSetTest.cs : Converted CRLF to LF for line ending comparison.
264 (and added copyright line.)
266 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
268 * DataSetTest.cs : Added WriteXmlEncodedXml() test.
270 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
272 * DataSetAssertion.cs : Enabled "Ordinal" check again, unless the test
274 * DataSetInferXmlSchemaTest.cs,
275 DataSetReadXmlSchemaTest.cs : Enabled Ordinal check again, as long
276 as working. Added IgnoredNamespaces() to inferxmlschema test.
278 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
280 * DataSetReadXmlSchemaTest.cs : Added test014.xsd tes (contains two
281 simple repeatable elements).
283 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
286 DataSetReadXmlTest.cs,
287 DataSetReadXmlSchemaTest.cs,
288 DataSetInferXmlSchemaTest.cs,
289 DataSetAssertion.cs : AssertDataTable() now checks Constraint count
290 and ParentKey length.
292 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
294 * DataSetReadXmlSchemaTest.cs : Added tests for test012.xsd (repeatable
295 simple element) and test013.xsd (reference to global element;
298 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
300 * DataSetTest.cs : Added WriteXmlToStream().
302 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
304 * DataSetReadXmlSchemaTest.cs : SingleElementTreatmentDifference() was
305 incorrect. DataSet element is assumed only if there is only one
307 * DataSetReadXmlTest.cs : Added error-reported test case.
308 * DataSetInferXmlSchemaTest.cs : Modified more tests not to compare
309 Ordinal for non-specified columns (that shouldn't be significant).
311 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
313 * ConstraintCollectionTest.cs : Table name should not be the same as
314 for the purpose of this test.
315 * DataSetReadXmlSchemaTest.cs : Added more tests based on schema files.
316 * DataSetTest.cs : Reordered attributes to pass test in
317 WriteDifferentNamespaceSchema().
319 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
321 * ForeignKeyConstraintTest.cs : Made tests pass under MS.NET 1.1.
322 Don't catch every kind of exception. That does nothing but keep us
323 away from the exact error location.
324 * DataSetTest.cs : Make sure that we read schema correctly, before
325 testing WriteXmlSchema.
327 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
329 * DataColumnCollectionTest.cs : catch only specific exception. Don't
330 rely on localizable error message.
331 * DataSetTest.cs : Attribute orders should not be significant, so
332 just hacked to match current implementation's order.
333 Added WriteNestedTableXml().
335 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
337 * ConstraintCollectionTest.cs : uncommented some tests that should be
338 implemented until mono 1.0.
339 * ConstraintTest.cs : use ExpectedException. Don't expect localizable
343 DataRowCollectionTest.cs : catch only specific type exception.
344 Don't rely on (test) localizable messages.
345 * DataSetAssertion.cs : We shouldn't expect exact column ordinals
346 when infering/reading the structures from documents/schemas.
348 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
350 * DataRowTest.cs : Added a test for auto increment column and item
351 integrity (it caused index out of range exception).
353 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
355 * ConstraintCollectionTest.cs,
358 ForeignKeyConstraintTest.cs : Fixes for incorrect NET_1_0 use.
359 * DataRowCollectionTest.cs : just check exception type. Don't check
360 localizable error message.
361 * DataSetAssertion.cs : Removed AssertDataSet() with just 4 argument.
362 Added relation count parameter for AssertDataTable().
363 Added Nested check parameter for AssertDataRelation().
364 * DataSetInferXmlSchemaTest.cs,
365 DataSetReadXmlTest.cs,
366 DataSetReadXmlSchemaTest.cs :
367 Applied new AssertDataTable(). Added more check on
368 DataSetReadXmlSchemaTest.SingleElementTreatmentDifference ().
370 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
372 All fixes are to make them pass under MS.NET 1.1.
374 * ConstraintCollectionTest.cs : Fixed to pass under MS.NET 1.1.
375 * DataRelationTest.cs : Creation4() never works.
376 * DataSetInferXmlSchemaTest.cs :
377 Fixed xml9 test (relation count).
378 Some mappings were incorrectly specified int.
379 ConflictColumnTable() test incorrectly tested different columns.
380 Fixed exception type on ConflictExistingPrimaryKey().
381 * DataSetReadXmlSchemaTest.cs :
382 Use fixed current culture.
383 Fixed exceptoin type on NestedReferenceNotAllowed().
384 * DataSetReadXmlTest.cs :
385 InferSchema mode is said as to load rows.
387 SqlGuid test depends on the runtime version.
388 In WriteDifferentNamespaceSchema(), we're going to set the same
389 order for namespaces (just for ease of tests).
390 Fixed many bugs on SerializeDataSet() test.
392 Set culture only on NET_1_0. Culture difference causes exception
394 Don't depend on error message string (consider localization).
395 Under .NET 1.1, constraints looks also vanishes on table's Clear().
396 * ForeignKeyConstraintTest.cs :
397 Ignore TestCtor5(). That does not work under .NET 1.1.
398 Fixed some exception type differences.
400 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
402 * DataSetInferXmlSchemaTest.cs : Added ConflictExistingPrimaryKey().
403 * DataSetReadXmlTest.cs : Added IgnoreSchemaShouldFillData().
404 * DataSetTest.cs : Added IgnoreColumnEmptyNamespace() and
407 2004-04-20 Atsushi Enomoto <atsushi@ximian.com>
409 * DataSetInferXmlSchema.cs : added more 16 patterns.
410 (mostly fails as yet).
411 * DataSetReadXmlTest.cs : Reverted yesterday's incorrect part.
412 As for XmlReadMode = Auto, data row should be read.
413 * DataSetTest.cs : Added Namespace and Prefix tests.
414 Added WriteDifferentNamespaceSchema().
416 hmm... WriteXmlSchema() also needs more love :(
418 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
420 * Added DataSetInferXmlSchemaTest.cs.
421 * DataSetReadXmlTest.cs : Fixed test bogus. When ReadMode is
422 InferSchema, it should not load any data rows.
423 * DataSetAssertion.cs : Added AssertDataSet() overroad that takes
426 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
428 * Added missing ChangeLog entry.
429 * ConstraintCollectionTest.cs :
430 Ignore some tests that should fail (They also fail under MS.NET).
431 * DataSetReadXmlSchemaTest.cs :
432 - Added SingleElementTreatmentDifference() and PrefixedTargetNS().
433 - Modified UnusedComplexTypesInored() to make sure DataSetName is set.
434 - Renamed DataSetElementCannotBeReferenced() to
435 NestedReferenceNotAllowed().
436 - Modified ReadElemAttrPattern() to LocaleOnRootWithoutIsDataSet()
437 to test msdata:Locale.
438 * DataSetTest.cs : Due to mcs bug #57200, csc does not allow
439 System.Type.GetType(), so modified them all.
441 2004-04-16 Atsushi Enomoto <atsushi@ximian.com>
443 * DataSetAssertion.cs : Added AssertDataColumn().
444 * DataSetReadXmlSchemaTest.cs : Added more strange cases.
446 2004-04-15 Umadevi S (sumadevi@novell.com)
447 * ForeignKeyConstraintTest - constructor testing,
448 * DataSet - test for Clone and Copy methods.
450 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
452 * Added DataSetAssertion.cs and DataSetReadXmlSchema.cs.
453 * DataSetReadXmlTest.cs : separate assertion methods into
454 DataSetAssertion.cs. Added label argument to AssertDataTable.
456 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
458 * DataSetReadXmlTest.cs : Tests were incorrect. They should be done
459 against new dataset. So just added another sequential read tests.
461 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
463 * Added DataSetReadXmlTest.cs. (specific to ReadXml() in DataSet).
465 2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
467 * DataSetTest.cs : More path fix. Don't expect End of Line = "\n".
468 It might be "\r\n" or else.
470 2004-04-09 Atsushi Enomoto <atsushi@ximian.com>
474 DataTableTest.cs : build fix: csc does not allow
475 System.Type inside namespace MonoTests.System.Data.
476 * DataSetTest.cs : path fix.
477 * DataRelationTest.cs : path fix. Don't test error message: It should
478 vary by message translations. Split tests and use ExpectedException.
480 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
482 * DataColumnTest.cs : fixes here and there,
483 make all tests pass on ms.net.
485 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
487 * DataTableTest.cs : add test case for bug #55503,
488 comment out meaningless test cases.
490 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
492 * Added TypedDataSetGeneratorTest.cs.
494 2003-12-18 Jackson Harper <jackson@ximian.com>
496 * DataViewTest.cs: Add some tests for new methods.
498 2003-05-26 Ben Maurer <bmaurer@users.sourceforge.net>
499 * DataViewTest.cs: Added new test from
502 2003-05-13 Martin Willemoes Hansen <mwh@sysrq.dk>
503 * All tests inherits from Assertion, and
504 Assertion. prefixes removed
506 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
508 * DataTableTest.cs: little fix.
510 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
512 * UniqueConstraintTest.cs: some minor fixes.
514 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
516 * DataRowCollectionTest.cs: Tests for AutoIncrement
518 2003-03-25 Ville Palo <vi64pa@kolumbus.fi>
520 * DataTableTest.cs: Added test for PrimaryKey-property
522 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
524 * DataColumnCollectionTest.cs: little fix.
526 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
528 * DataColumnCollectionTest.cs: Typos
530 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
532 * DataSetTest.cs: Fixed line-ending problems
534 2003-03-06 Ville Palo <vi64pa@kolumbus.fi>
536 * DataTableTest.cs: More tests for Select ()
538 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
540 * DataColumnCollectionTest.cs: Added more tests.
541 * DataRowCollectionTest.cs: Added more tests.
543 2003-04-02 Ville Palo <vi64pa@koti.soon.fi>
545 * DataColumnTest.cs: Added tests for Expression property
547 2003-03-02 Ville Palo <vi64pa@koti.soon.fi>
549 * DataTableTest.cs: More tests for Select
551 2003-31-01 Ville Palo <vi64pa@koti.soon.fi>
553 * DataTableTest.cs: Added more tests for Select (string) -method
555 2003-27-01 Ville Palo <vi64pa@koti.soon.fi>
557 * DataRelationTest.cs: Added more tests
559 2003-27-01 Ville Palo <vi64pa@koti.soon.fi>
561 * DataTableTest.cs: Added test for DataTable.Select ()
563 2003-24-01 Ville Palo <vi64pa@koti.soon.fi>
565 * UniqueConstraint.cs: More tests
567 2003-23-01 Ville Palo <vi64pa@koti.soon.fi>
569 * ForeignKeyConstraint.cs: More tests
571 2003-22-01 Ville Palo <vi64pa@koti.soon.fi>
573 * DataRelationTest.cs: More tests and little clean up.
575 2003-14-01 Ville Palo <vi64pa@koti.soon.fi>
577 * DataRelationTest.cs: Added more tests
579 2003-13-01 Ville Palo <vi64pa@koti.soon.fi>
581 * DataRelationTest.cs: Test class for DataRelation
583 2002-12-26 Ville Palo <vi64pa@koti.soon.fi>
585 * own_schema.xsd: XmlSchema for testing ReadXmlSchema() -method
586 * DataSetTest.cs: Added more Xml-tests.
588 2002-12-17 Ville Palo <vi64pa@koti.soon.fi>
591 * store.xsd: new xmldoment and xmlschema for testing DataSet
592 * DataSetTest.cs: Added some Xml-tests.
593 * AllTests.cs: Added DataSetTest
595 2002-10-23 Nick Drochak <ndrochak@gol.com>
597 * ConstraintCollectionTest.cs (SetUp): Clear the constraints before
599 * ConstraintTest.cs: same
600 * DataColumnTest.cs: Get exceptions straight. Some are thrown and some
603 2002-10-22 Nick Drochak <ndrochak@gol.com>
605 * DataColumnTest.cs: Remove compiler warnings and use caught exception
606 to report useful info.