1 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
3 * store2.xsd, store3.xsd, store4.xsd : Added.
5 Disabled ReadWriteXmlSchema() and ReadWriteXmlSchemaIgnoreSchema()
6 for now. See the details in the code.
8 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
10 * DataRowTest.cs : more test for Current -> Default, test for
11 VersionNotFound, and test for InvalidConstraint on GetChildRows().
14 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
16 * DataRowTest.cs : Test if Default is used to check state of the row
17 instead of Detached. Patch by Ankit Jain.
19 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
21 * DataSetTest.cs : added CloneCopy2().
23 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
25 * DataSetTest.cs : use more normalized schema comparison.
27 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
30 DataSetAssertionTest.cs : In GetNormalizedSchema(), use manual
31 sorting using dom so that it can ignore XmlSerializer difference.
32 Added some new assertion methods.
34 2005-01-19 Atsushi Enomoto <atsushi@ximian.com>
36 * DataRowTest.cs : no need to gather 3 individual tests as RowEditTest.
37 Let's not output to Console.
39 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
41 * DataViewTest.cs : made AddNew_2() and FindRows() pass under .NET 1.1.
42 FindRows() is still not implemented, so marked as [Ignore].
44 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
46 * ForeignKeyConstraintTest.cs : Fixed Ctor5() to pass under MS.NET 1.1.
47 Design time ctor() needs more love.
48 * DataRelationCollectionTest.cs,
49 DataTableCollectionTest.cs : Made Remove() pass under MS.NET 1.1.
50 When index is out of range, IndexOutOfRangeException is thrown.
51 DataRelationCollectionTest.AddException1() was invalid.
53 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
55 * ConstraintCollectionTest.cs : Fixed run-test-ondotnet. MS.NET does
56 not fill Table property even after EndInit().
57 * DataRelationTest.cs : Fixed run-test-ondotnet. ExpectedException
59 * TypedDataSetGeneratorTest.cs : fixed GenerateName() both for
60 run-test-ondotnet and run-test.
62 2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
64 * DataSetTest.cs : WriteXmlSchema2() and WriteXmlSchema3() didn't pass
65 on run-test-ondotnet. Removed extraneous Console output.
66 modified WriteXmlSchema4(),WriteXmlSchema5() and WriteXmlSchema6()
67 to use xmlserializer-based comparison.
68 Fixed SerializeDataSet() to use ordinal MS result (it's not simple
69 to compare results unless we have another WriteXmlSchema()
72 2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
74 * DataSetAssertion.cs : forgot one required update for refreshed tests.
76 2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
78 * DataSetReadXmlSchemaTest.cs : added test for bug #58744.
79 * DataSetReadXmlTest.cs : Added NameConflictDSAndTable().
81 Now use XmlSerializer based output, to avoid silly attribute order in
82 OwnWriteXmlSchema(),WriteXmlSchema(),ReadWriteXmlSchemaIgnoreSchema(),
83 ReadWriteXmlSchema() and WriteDifferentNamespaceSchema().
84 Added SerializeDataSet2(),SerializeDataSet3(),DeserializeDataSet(),
85 ReadWriteXml3(),WriteXmlSchema2(),WriteXmlSchema3(),WriteXmlSchema4(),
86 WriteXmlSchema5(),WriteXmlSchema6(),WriteXmlSchema7(),
87 WriteXmlExtendedProperties() and WriteXmlModeSchema().
89 2004-10-14 Umadevi S <sumadevi@novell.com>
90 * DataTableTest.cs : added testcase for subclass clone
92 2004-10-14 Umadevi S <sumadevi@novell.com>
93 * DataSetTest.cs : added testcase to check subclass clone
95 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
97 * DataSetTest.cs : now xs:schema contains xmlns="".
99 2004-09-24 Umadevi S <sumadevi@novell.com>
100 * DataRowTest.cs : Added a test for EnforceConstraints with relations defined.
102 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
104 * DataSetTest.cs (DataSetClearTest): Added a test for DataSet.Clear. This should not
105 throw any exception and should override constraints.
107 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
108 * DataSetTest.cs : Added a test for Deserialization of dataset : DeserializeModifiedDataSet
110 2004-08-24 Nick Drochak <ndrochak@ieee.org>
111 * DataViewTest.cs : Fixed compile with csc
113 2004-08-18 Umadevi S <sumadevi@novell.com>
114 * DataViewTest.cs : Revamped to get Event handling tested
115 Thanks to Punit Todi for his contribution towards the test cases
117 2004-06-23 Umadevi S <sumadevi@novell.com>
118 * DataTableTest.cs :Corrected Testcases to .net 1.1 specifications
120 2004-06-23 Umadevi S <sumadevi@novell.com>
121 * DataRelationTest.cs : Corrected AddRelation testcases
123 2004-06-23 Umadevi S <sumadevi@novell.com>
124 * ConstraintCollectionTest.cs : Corrected AddRange testcases
126 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
128 * DataTableCollectionTest.cs : Added test for DataSet and Namespace
131 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
133 * TypedDataSetGeneratorTest.cs : [TestFixture] was missing.
135 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
137 * DataSetTest.cs : Added regression for #53959.
139 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
141 * DataTableTest.cs : Added test for serialization by Boris Kirzner.
142 * DataSetInferXmlSchemaTest.cs : Added test for schema element skip
145 2004-05-27 Nick Drochak <ndrochak@ieee.org>
147 * DataRelationCollectionTest.cs: Fixed build when using csc.
149 2004-05-27 Umadevi S <sumadevi@novell.com>
150 * Corrected small typos in DataTableCollectionTest & DataRelationCollectionTest
152 2004-05-26 Umadevi S <sumadevi@novell.com>
153 * Added files DataTableCollectionTest and DataRelationCollectionTest
155 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
157 * DataSetTest.cs : Fixed ReadWriteXmlSchema() that miscounted
158 constraints and parent keys.
160 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
162 * DataSetTest.cs : Converted CRLF to LF for line ending comparison.
163 (and added copyright line.)
165 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
167 * DataSetTest.cs : Added WriteXmlEncodedXml() test.
169 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
171 * DataSetAssertion.cs : Enabled "Ordinal" check again, unless the test
173 * DataSetInferXmlSchemaTest.cs,
174 DataSetReadXmlSchemaTest.cs : Enabled Ordinal check again, as long
175 as working. Added IgnoredNamespaces() to inferxmlschema test.
177 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
179 * DataSetReadXmlSchemaTest.cs : Added test014.xsd tes (contains two
180 simple repeatable elements).
182 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
185 DataSetReadXmlTest.cs,
186 DataSetReadXmlSchemaTest.cs,
187 DataSetInferXmlSchemaTest.cs,
188 DataSetAssertion.cs : AssertDataTable() now checks Constraint count
189 and ParentKey length.
191 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
193 * DataSetReadXmlSchemaTest.cs : Added tests for test012.xsd (repeatable
194 simple element) and test013.xsd (reference to global element;
197 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
199 * DataSetTest.cs : Added WriteXmlToStream().
201 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
203 * DataSetReadXmlSchemaTest.cs : SingleElementTreatmentDifference() was
204 incorrect. DataSet element is assumed only if there is only one
206 * DataSetReadXmlTest.cs : Added error-reported test case.
207 * DataSetInferXmlSchemaTest.cs : Modified more tests not to compare
208 Ordinal for non-specified columns (that shouldn't be significant).
210 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
212 * ConstraintCollectionTest.cs : Table name should not be the same as
213 for the purpose of this test.
214 * DataSetReadXmlSchemaTest.cs : Added more tests based on schema files.
215 * DataSetTest.cs : Reordered attributes to pass test in
216 WriteDifferentNamespaceSchema().
218 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
220 * ForeignKeyConstraintTest.cs : Made tests pass under MS.NET 1.1.
221 Don't catch every kind of exception. That does nothing but keep us
222 away from the exact error location.
223 * DataSetTest.cs : Make sure that we read schema correctly, before
224 testing WriteXmlSchema.
226 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
228 * DataColumnCollectionTest.cs : catch only specific exception. Don't
229 rely on localizable error message.
230 * DataSetTest.cs : Attribute orders should not be significant, so
231 just hacked to match current implementation's order.
232 Added WriteNestedTableXml().
234 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
236 * ConstraintCollectionTest.cs : uncommented some tests that should be
237 implemented until mono 1.0.
238 * ConstraintTest.cs : use ExpectedException. Don't expect localizable
242 DataRowCollectionTest.cs : catch only specific type exception.
243 Don't rely on (test) localizable messages.
244 * DataSetAssertion.cs : We shouldn't expect exact column ordinals
245 when infering/reading the structures from documents/schemas.
247 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
249 * DataRowTest.cs : Added a test for auto increment column and item
250 integrity (it caused index out of range exception).
252 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
254 * ConstraintCollectionTest.cs,
257 ForeignKeyConstraintTest.cs : Fixes for incorrect NET_1_0 use.
258 * DataRowCollectionTest.cs : just check exception type. Don't check
259 localizable error message.
260 * DataSetAssertion.cs : Removed AssertDataSet() with just 4 argument.
261 Added relation count parameter for AssertDataTable().
262 Added Nested check parameter for AssertDataRelation().
263 * DataSetInferXmlSchemaTest.cs,
264 DataSetReadXmlTest.cs,
265 DataSetReadXmlSchemaTest.cs :
266 Applied new AssertDataTable(). Added more check on
267 DataSetReadXmlSchemaTest.SingleElementTreatmentDifference ().
269 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
271 All fixes are to make them pass under MS.NET 1.1.
273 * ConstraintCollectionTest.cs : Fixed to pass under MS.NET 1.1.
274 * DataRelationTest.cs : Creation4() never works.
275 * DataSetInferXmlSchemaTest.cs :
276 Fixed xml9 test (relation count).
277 Some mappings were incorrectly specified int.
278 ConflictColumnTable() test incorrectly tested different columns.
279 Fixed exception type on ConflictExistingPrimaryKey().
280 * DataSetReadXmlSchemaTest.cs :
281 Use fixed current culture.
282 Fixed exceptoin type on NestedReferenceNotAllowed().
283 * DataSetReadXmlTest.cs :
284 InferSchema mode is said as to load rows.
286 SqlGuid test depends on the runtime version.
287 In WriteDifferentNamespaceSchema(), we're going to set the same
288 order for namespaces (just for ease of tests).
289 Fixed many bugs on SerializeDataSet() test.
291 Set culture only on NET_1_0. Culture difference causes exception
293 Don't depend on error message string (consider localization).
294 Under .NET 1.1, constraints looks also vanishes on table's Clear().
295 * ForeignKeyConstraintTest.cs :
296 Ignore TestCtor5(). That does not work under .NET 1.1.
297 Fixed some exception type differences.
299 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
301 * DataSetInferXmlSchemaTest.cs : Added ConflictExistingPrimaryKey().
302 * DataSetReadXmlTest.cs : Added IgnoreSchemaShouldFillData().
303 * DataSetTest.cs : Added IgnoreColumnEmptyNamespace() and
306 2004-04-20 Atsushi Enomoto <atsushi@ximian.com>
308 * DataSetInferXmlSchema.cs : added more 16 patterns.
309 (mostly fails as yet).
310 * DataSetReadXmlTest.cs : Reverted yesterday's incorrect part.
311 As for XmlReadMode = Auto, data row should be read.
312 * DataSetTest.cs : Added Namespace and Prefix tests.
313 Added WriteDifferentNamespaceSchema().
315 hmm... WriteXmlSchema() also needs more love :(
317 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
319 * Added DataSetInferXmlSchemaTest.cs.
320 * DataSetReadXmlTest.cs : Fixed test bogus. When ReadMode is
321 InferSchema, it should not load any data rows.
322 * DataSetAssertion.cs : Added AssertDataSet() overroad that takes
325 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
327 * Added missing ChangeLog entry.
328 * ConstraintCollectionTest.cs :
329 Ignore some tests that should fail (They also fail under MS.NET).
330 * DataSetReadXmlSchemaTest.cs :
331 - Added SingleElementTreatmentDifference() and PrefixedTargetNS().
332 - Modified UnusedComplexTypesInored() to make sure DataSetName is set.
333 - Renamed DataSetElementCannotBeReferenced() to
334 NestedReferenceNotAllowed().
335 - Modified ReadElemAttrPattern() to LocaleOnRootWithoutIsDataSet()
336 to test msdata:Locale.
337 * DataSetTest.cs : Due to mcs bug #57200, csc does not allow
338 System.Type.GetType(), so modified them all.
340 2004-04-16 Atsushi Enomoto <atsushi@ximian.com>
342 * DataSetAssertion.cs : Added AssertDataColumn().
343 * DataSetReadXmlSchemaTest.cs : Added more strange cases.
345 2004-04-15 Umadevi S (sumadevi@novell.com)
346 * ForeignKeyConstraintTest - constructor testing,
347 * DataSet - test for Clone and Copy methods.
349 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
351 * Added DataSetAssertion.cs and DataSetReadXmlSchema.cs.
352 * DataSetReadXmlTest.cs : separate assertion methods into
353 DataSetAssertion.cs. Added label argument to AssertDataTable.
355 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
357 * DataSetReadXmlTest.cs : Tests were incorrect. They should be done
358 against new dataset. So just added another sequential read tests.
360 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
362 * Added DataSetReadXmlTest.cs. (specific to ReadXml() in DataSet).
364 2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
366 * DataSetTest.cs : More path fix. Don't expect End of Line = "\n".
367 It might be "\r\n" or else.
369 2004-04-09 Atsushi Enomoto <atsushi@ximian.com>
373 DataTableTest.cs : build fix: csc does not allow
374 System.Type inside namespace MonoTests.System.Data.
375 * DataSetTest.cs : path fix.
376 * DataRelationTest.cs : path fix. Don't test error message: It should
377 vary by message translations. Split tests and use ExpectedException.
379 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
381 * DataColumnTest.cs : fixes here and there,
382 make all tests pass on ms.net.
384 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
386 * DataTableTest.cs : add test case for bug #55503,
387 comment out meaningless test cases.
389 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
391 * Added TypedDataSetGeneratorTest.cs.
393 2003-12-18 Jackson Harper <jackson@ximian.com>
395 * DataViewTest.cs: Add some tests for new methods.
397 2003-05-26 Ben Maurer <bmaurer@users.sourceforge.net>
398 * DataViewTest.cs: Added new test from
401 2003-05-13 Martin Willemoes Hansen <mwh@sysrq.dk>
402 * All tests inherits from Assertion, and
403 Assertion. prefixes removed
405 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
407 * DataTableTest.cs: little fix.
409 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
411 * UniqueConstraintTest.cs: some minor fixes.
413 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
415 * DataRowCollectionTest.cs: Tests for AutoIncrement
417 2003-03-25 Ville Palo <vi64pa@kolumbus.fi>
419 * DataTableTest.cs: Added test for PrimaryKey-property
421 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
423 * DataColumnCollectionTest.cs: little fix.
425 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
427 * DataColumnCollectionTest.cs: Typos
429 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
431 * DataSetTest.cs: Fixed line-ending problems
433 2003-03-06 Ville Palo <vi64pa@kolumbus.fi>
435 * DataTableTest.cs: More tests for Select ()
437 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
439 * DataColumnCollectionTest.cs: Added more tests.
440 * DataRowCollectionTest.cs: Added more tests.
442 2003-04-02 Ville Palo <vi64pa@koti.soon.fi>
444 * DataColumnTest.cs: Added tests for Expression property
446 2003-03-02 Ville Palo <vi64pa@koti.soon.fi>
448 * DataTableTest.cs: More tests for Select
450 2003-31-01 Ville Palo <vi64pa@koti.soon.fi>
452 * DataTableTest.cs: Added more tests for Select (string) -method
454 2003-27-01 Ville Palo <vi64pa@koti.soon.fi>
456 * DataRelationTest.cs: Added more tests
458 2003-27-01 Ville Palo <vi64pa@koti.soon.fi>
460 * DataTableTest.cs: Added test for DataTable.Select ()
462 2003-24-01 Ville Palo <vi64pa@koti.soon.fi>
464 * UniqueConstraint.cs: More tests
466 2003-23-01 Ville Palo <vi64pa@koti.soon.fi>
468 * ForeignKeyConstraint.cs: More tests
470 2003-22-01 Ville Palo <vi64pa@koti.soon.fi>
472 * DataRelationTest.cs: More tests and little clean up.
474 2003-14-01 Ville Palo <vi64pa@koti.soon.fi>
476 * DataRelationTest.cs: Added more tests
478 2003-13-01 Ville Palo <vi64pa@koti.soon.fi>
480 * DataRelationTest.cs: Test class for DataRelation
482 2002-12-26 Ville Palo <vi64pa@koti.soon.fi>
484 * own_schema.xsd: XmlSchema for testing ReadXmlSchema() -method
485 * DataSetTest.cs: Added more Xml-tests.
487 2002-12-17 Ville Palo <vi64pa@koti.soon.fi>
490 * store.xsd: new xmldoment and xmlschema for testing DataSet
491 * DataSetTest.cs: Added some Xml-tests.
492 * AllTests.cs: Added DataSetTest
494 2002-10-23 Nick Drochak <ndrochak@gol.com>
496 * ConstraintCollectionTest.cs (SetUp): Clear the constraints before
498 * ConstraintTest.cs: same
499 * DataColumnTest.cs: Get exceptions straight. Some are thrown and some
502 2002-10-22 Nick Drochak <ndrochak@gol.com>
504 * DataColumnTest.cs: Remove compiler warnings and use caught exception
505 to report useful info.