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