1 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
3 * DataTableTest.cs : added tests for primary key constraint check
4 (not working right now).
6 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
8 * UniqueConstraintTest.cs : added DBNullAllowed().
10 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
12 * DataViewTest.cs : added test for ListChanged.
13 * DataRowViewTest.cs : (ItemException) fixed test. It is now working.
15 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
17 * DataTableTest.cs : finally run-test-ondotnet passes (i.e.
18 fixed incompatibility).
20 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
22 * DataViewTest.cs : With a tiny fix, removed NotDotNet.
24 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
26 * DataRowTest.cs : added DetachedRowItemException().
27 * DataSetTest.cs : WriteXmlSchema7() is now NotWorking.
29 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
31 * DataTableTest.cs: added test case for checking ImportRow when
32 the row state is detached. Test case by Ankit Jain.
34 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
36 * DataRowViewTest.cs : added IsEdit tests and Item tess (not working).
38 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
40 * DataRowViewTest.cs : added new file.
42 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
44 * DataSetReadXmlSchemaTest.cs : test labels were ambiguous.
45 * DataViewTest.cs : indentation was heavily broken.
47 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
49 * DataColumnTest.cs : Added SetMaxLength().
51 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
53 * store2.xsd, store3.xsd, store4.xsd : Added.
55 Disabled ReadWriteXmlSchema() and ReadWriteXmlSchemaIgnoreSchema()
56 for now. See the details in the code.
58 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
60 * DataRowTest.cs : more test for Current -> Default, test for
61 VersionNotFound, and test for InvalidConstraint on GetChildRows().
64 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
66 * DataRowTest.cs : Test if Default is used to check state of the row
67 instead of Detached. Patch by Ankit Jain.
69 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
71 * DataSetTest.cs : added CloneCopy2().
73 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
75 * DataSetTest.cs : use more normalized schema comparison.
77 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
80 DataSetAssertionTest.cs : In GetNormalizedSchema(), use manual
81 sorting using dom so that it can ignore XmlSerializer difference.
82 Added some new assertion methods.
84 2005-01-19 Atsushi Enomoto <atsushi@ximian.com>
86 * DataRowTest.cs : no need to gather 3 individual tests as RowEditTest.
87 Let's not output to Console.
89 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
91 * DataViewTest.cs : made AddNew_2() and FindRows() pass under .NET 1.1.
92 FindRows() is still not implemented, so marked as [Ignore].
94 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
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.
103 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
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
109 * TypedDataSetGeneratorTest.cs : fixed GenerateName() both for
110 run-test-ondotnet and run-test.
112 2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
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()
122 2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
124 * DataSetAssertion.cs : forgot one required update for refreshed tests.
126 2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
128 * DataSetReadXmlSchemaTest.cs : added test for bug #58744.
129 * DataSetReadXmlTest.cs : Added NameConflictDSAndTable().
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().
139 2004-10-14 Umadevi S <sumadevi@novell.com>
140 * DataTableTest.cs : added testcase for subclass clone
142 2004-10-14 Umadevi S <sumadevi@novell.com>
143 * DataSetTest.cs : added testcase to check subclass clone
145 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
147 * DataSetTest.cs : now xs:schema contains xmlns="".
149 2004-09-24 Umadevi S <sumadevi@novell.com>
150 * DataRowTest.cs : Added a test for EnforceConstraints with relations defined.
152 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
154 * DataSetTest.cs (DataSetClearTest): Added a test for DataSet.Clear. This should not
155 throw any exception and should override constraints.
157 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
158 * DataSetTest.cs : Added a test for Deserialization of dataset : DeserializeModifiedDataSet
160 2004-08-24 Nick Drochak <ndrochak@ieee.org>
161 * DataViewTest.cs : Fixed compile with csc
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
167 2004-06-23 Umadevi S <sumadevi@novell.com>
168 * DataTableTest.cs :Corrected Testcases to .net 1.1 specifications
170 2004-06-23 Umadevi S <sumadevi@novell.com>
171 * DataRelationTest.cs : Corrected AddRelation testcases
173 2004-06-23 Umadevi S <sumadevi@novell.com>
174 * ConstraintCollectionTest.cs : Corrected AddRange testcases
176 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
178 * DataTableCollectionTest.cs : Added test for DataSet and Namespace
181 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
183 * TypedDataSetGeneratorTest.cs : [TestFixture] was missing.
185 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
187 * DataSetTest.cs : Added regression for #53959.
189 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
191 * DataTableTest.cs : Added test for serialization by Boris Kirzner.
192 * DataSetInferXmlSchemaTest.cs : Added test for schema element skip
195 2004-05-27 Nick Drochak <ndrochak@ieee.org>
197 * DataRelationCollectionTest.cs: Fixed build when using csc.
199 2004-05-27 Umadevi S <sumadevi@novell.com>
200 * Corrected small typos in DataTableCollectionTest & DataRelationCollectionTest
202 2004-05-26 Umadevi S <sumadevi@novell.com>
203 * Added files DataTableCollectionTest and DataRelationCollectionTest
205 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
207 * DataSetTest.cs : Fixed ReadWriteXmlSchema() that miscounted
208 constraints and parent keys.
210 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
212 * DataSetTest.cs : Converted CRLF to LF for line ending comparison.
213 (and added copyright line.)
215 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
217 * DataSetTest.cs : Added WriteXmlEncodedXml() test.
219 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
221 * DataSetAssertion.cs : Enabled "Ordinal" check again, unless the test
223 * DataSetInferXmlSchemaTest.cs,
224 DataSetReadXmlSchemaTest.cs : Enabled Ordinal check again, as long
225 as working. Added IgnoredNamespaces() to inferxmlschema test.
227 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
229 * DataSetReadXmlSchemaTest.cs : Added test014.xsd tes (contains two
230 simple repeatable elements).
232 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
235 DataSetReadXmlTest.cs,
236 DataSetReadXmlSchemaTest.cs,
237 DataSetInferXmlSchemaTest.cs,
238 DataSetAssertion.cs : AssertDataTable() now checks Constraint count
239 and ParentKey length.
241 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
243 * DataSetReadXmlSchemaTest.cs : Added tests for test012.xsd (repeatable
244 simple element) and test013.xsd (reference to global element;
247 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
249 * DataSetTest.cs : Added WriteXmlToStream().
251 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
253 * DataSetReadXmlSchemaTest.cs : SingleElementTreatmentDifference() was
254 incorrect. DataSet element is assumed only if there is only one
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).
260 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
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().
268 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
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.
276 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
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().
284 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
286 * ConstraintCollectionTest.cs : uncommented some tests that should be
287 implemented until mono 1.0.
288 * ConstraintTest.cs : use ExpectedException. Don't expect localizable
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.
297 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
299 * DataRowTest.cs : Added a test for auto increment column and item
300 integrity (it caused index out of range exception).
302 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
304 * ConstraintCollectionTest.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 ().
319 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
321 All fixes are to make them pass under MS.NET 1.1.
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.
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.
341 Set culture only on NET_1_0. Culture difference causes exception
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.
349 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
351 * DataSetInferXmlSchemaTest.cs : Added ConflictExistingPrimaryKey().
352 * DataSetReadXmlTest.cs : Added IgnoreSchemaShouldFillData().
353 * DataSetTest.cs : Added IgnoreColumnEmptyNamespace() and
356 2004-04-20 Atsushi Enomoto <atsushi@ximian.com>
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().
365 hmm... WriteXmlSchema() also needs more love :(
367 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
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
375 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
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.
390 2004-04-16 Atsushi Enomoto <atsushi@ximian.com>
392 * DataSetAssertion.cs : Added AssertDataColumn().
393 * DataSetReadXmlSchemaTest.cs : Added more strange cases.
395 2004-04-15 Umadevi S (sumadevi@novell.com)
396 * ForeignKeyConstraintTest - constructor testing,
397 * DataSet - test for Clone and Copy methods.
399 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
401 * Added DataSetAssertion.cs and DataSetReadXmlSchema.cs.
402 * DataSetReadXmlTest.cs : separate assertion methods into
403 DataSetAssertion.cs. Added label argument to AssertDataTable.
405 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
407 * DataSetReadXmlTest.cs : Tests were incorrect. They should be done
408 against new dataset. So just added another sequential read tests.
410 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
412 * Added DataSetReadXmlTest.cs. (specific to ReadXml() in DataSet).
414 2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
416 * DataSetTest.cs : More path fix. Don't expect End of Line = "\n".
417 It might be "\r\n" or else.
419 2004-04-09 Atsushi Enomoto <atsushi@ximian.com>
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.
429 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
431 * DataColumnTest.cs : fixes here and there,
432 make all tests pass on ms.net.
434 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
436 * DataTableTest.cs : add test case for bug #55503,
437 comment out meaningless test cases.
439 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
441 * Added TypedDataSetGeneratorTest.cs.
443 2003-12-18 Jackson Harper <jackson@ximian.com>
445 * DataViewTest.cs: Add some tests for new methods.
447 2003-05-26 Ben Maurer <bmaurer@users.sourceforge.net>
448 * DataViewTest.cs: Added new test from
451 2003-05-13 Martin Willemoes Hansen <mwh@sysrq.dk>
452 * All tests inherits from Assertion, and
453 Assertion. prefixes removed
455 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
457 * DataTableTest.cs: little fix.
459 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
461 * UniqueConstraintTest.cs: some minor fixes.
463 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
465 * DataRowCollectionTest.cs: Tests for AutoIncrement
467 2003-03-25 Ville Palo <vi64pa@kolumbus.fi>
469 * DataTableTest.cs: Added test for PrimaryKey-property
471 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
473 * DataColumnCollectionTest.cs: little fix.
475 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
477 * DataColumnCollectionTest.cs: Typos
479 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
481 * DataSetTest.cs: Fixed line-ending problems
483 2003-03-06 Ville Palo <vi64pa@kolumbus.fi>
485 * DataTableTest.cs: More tests for Select ()
487 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
489 * DataColumnCollectionTest.cs: Added more tests.
490 * DataRowCollectionTest.cs: Added more tests.
492 2003-04-02 Ville Palo <vi64pa@koti.soon.fi>
494 * DataColumnTest.cs: Added tests for Expression property
496 2003-03-02 Ville Palo <vi64pa@koti.soon.fi>
498 * DataTableTest.cs: More tests for Select
500 2003-31-01 Ville Palo <vi64pa@koti.soon.fi>
502 * DataTableTest.cs: Added more tests for Select (string) -method
504 2003-27-01 Ville Palo <vi64pa@koti.soon.fi>
506 * DataRelationTest.cs: Added more tests
508 2003-27-01 Ville Palo <vi64pa@koti.soon.fi>
510 * DataTableTest.cs: Added test for DataTable.Select ()
512 2003-24-01 Ville Palo <vi64pa@koti.soon.fi>
514 * UniqueConstraint.cs: More tests
516 2003-23-01 Ville Palo <vi64pa@koti.soon.fi>
518 * ForeignKeyConstraint.cs: More tests
520 2003-22-01 Ville Palo <vi64pa@koti.soon.fi>
522 * DataRelationTest.cs: More tests and little clean up.
524 2003-14-01 Ville Palo <vi64pa@koti.soon.fi>
526 * DataRelationTest.cs: Added more tests
528 2003-13-01 Ville Palo <vi64pa@koti.soon.fi>
530 * DataRelationTest.cs: Test class for DataRelation
532 2002-12-26 Ville Palo <vi64pa@koti.soon.fi>
534 * own_schema.xsd: XmlSchema for testing ReadXmlSchema() -method
535 * DataSetTest.cs: Added more Xml-tests.
537 2002-12-17 Ville Palo <vi64pa@koti.soon.fi>
540 * store.xsd: new xmldoment and xmlschema for testing DataSet
541 * DataSetTest.cs: Added some Xml-tests.
542 * AllTests.cs: Added DataSetTest
544 2002-10-23 Nick Drochak <ndrochak@gol.com>
546 * ConstraintCollectionTest.cs (SetUp): Clear the constraints before
548 * ConstraintTest.cs: same
549 * DataColumnTest.cs: Get exceptions straight. Some are thrown and some
552 2002-10-22 Nick Drochak <ndrochak@gol.com>
554 * DataColumnTest.cs: Remove compiler warnings and use caught exception
555 to report useful info.