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