2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Data / Test / System.Data / ChangeLog
1 2004-05-31  Atsushi Enomoto <atsushi@ximian.com>
2
3         * DataTableTest.cs : Added test for serialization.
4         * DataSetInferXmlSchemaTest.cs : Added test for schema element skip.
5
6 2004-05-27  Nick Drochak <ndrochak@ieee.org>
7
8         * DataRelationCollectionTest.cs: Fixed build when using csc.
9
10 2004-05-27 Umadevi S <sumadevi@novell.com>
11         * Corrected small typos in DataTableCollectionTest & DataRelationCollectionTest
12
13 2004-05-26  Umadevi S <sumadevi@novell.com>
14         * Added files DataTableCollectionTest and DataRelationCollectionTest
15
16 2004-05-19  Atsushi Enomoto <atsushi@ximian.com>
17
18         * DataSetTest.cs : Fixed ReadWriteXmlSchema() that miscounted
19           constraints and parent keys.
20
21 2004-05-18  Atsushi Enomoto <atsushi@ximian.com>
22
23         * DataSetTest.cs : Converted CRLF to LF for line ending comparison.
24           (and added copyright line.)
25
26 2004-05-17  Atsushi Enomoto <atsushi@ximian.com>
27
28         * DataSetTest.cs : Added WriteXmlEncodedXml() test.
29
30 2004-05-17  Atsushi Enomoto <atsushi@ximian.com>
31
32         * DataSetAssertion.cs : Enabled "Ordinal" check again, unless the test
33           value is -1.
34         * DataSetInferXmlSchemaTest.cs,
35           DataSetReadXmlSchemaTest.cs  : Enabled Ordinal check again, as long
36           as working. Added IgnoredNamespaces() to inferxmlschema test.
37
38 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
39
40         * DataSetReadXmlSchemaTest.cs : Added test014.xsd tes (contains two
41           simple repeatable elements).
42
43 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
44
45         * DataSetTest.cs,
46           DataSetReadXmlTest.cs,
47           DataSetReadXmlSchemaTest.cs,
48           DataSetInferXmlSchemaTest.cs,
49           DataSetAssertion.cs : AssertDataTable() now checks Constraint count
50           and ParentKey length.
51
52 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
53
54         * DataSetReadXmlSchemaTest.cs : Added tests for test012.xsd (repeatable
55           simple element) and test013.xsd (reference to global element;
56           currently failing).
57
58 2004-05-11  Atsushi Enomoto <atsushi@ximian.com>
59
60         * DataSetTest.cs : Added WriteXmlToStream().
61
62 2004-05-11  Atsushi Enomoto <atsushi@ximian.com>
63
64         * DataSetReadXmlSchemaTest.cs : SingleElementTreatmentDifference() was
65           incorrect. DataSet element is assumed only if there is only one 
66           global element.
67         * DataSetReadXmlTest.cs : Added error-reported test case.
68         * DataSetInferXmlSchemaTest.cs : Modified more tests not to compare
69           Ordinal for non-specified columns (that shouldn't be significant).
70
71 2004-05-06  Atsushi Enomoto <atsushi@ximian.com>
72
73         * ConstraintCollectionTest.cs : Table name should not be the same as
74           for the purpose of this test.
75         * DataSetReadXmlSchemaTest.cs : Added more tests based on schema files.
76         * DataSetTest.cs : Reordered attributes to pass test in 
77           WriteDifferentNamespaceSchema().
78
79 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
80
81         * ForeignKeyConstraintTest.cs : Made tests pass under MS.NET 1.1.
82           Don't catch every kind of exception. That does nothing but keep us
83           away from the exact error location.
84         * DataSetTest.cs : Make sure that we read schema correctly, before
85           testing WriteXmlSchema.
86
87 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
88
89         * DataColumnCollectionTest.cs : catch only specific exception. Don't
90           rely on localizable error message.
91         * DataSetTest.cs : Attribute orders should not be significant, so
92           just hacked to match current implementation's order.
93           Added WriteNestedTableXml().
94
95 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
96
97         * ConstraintCollectionTest.cs : uncommented some tests that should be
98           implemented until mono 1.0.
99         * ConstraintTest.cs : use ExpectedException. Don't expect localizable
100           error message.
101         * DataColumnTest.cs,
102           DataRelationTest.cs,
103           DataRowCollectionTest.cs : catch only specific type exception.
104           Don't rely on (test) localizable messages.
105         * DataSetAssertion.cs : We shouldn't expect exact column ordinals
106           when infering/reading the structures from documents/schemas.
107
108 2004-04-29  Atsushi Enomoto <atsushi@ximian.com>
109
110         * DataRowTest.cs : Added a test for auto increment column and item
111           integrity (it caused index out of range exception).
112
113 2004-04-27  Atsushi Enomoto <atsushi@ximian.com>
114
115         * ConstraintCollectionTest.cs,
116           DataSetTest.cs,
117           DataTableTest.cs,
118           ForeignKeyConstraintTest.cs : Fixes for incorrect NET_1_0 use.
119         * DataRowCollectionTest.cs : just check exception type. Don't check
120           localizable error message.
121         * DataSetAssertion.cs : Removed AssertDataSet() with just 4 argument.
122           Added relation count parameter for AssertDataTable().
123           Added Nested check parameter for AssertDataRelation().
124         * DataSetInferXmlSchemaTest.cs,
125           DataSetReadXmlTest.cs,
126           DataSetReadXmlSchemaTest.cs :
127           Applied new AssertDataTable().  Added more check on
128           DataSetReadXmlSchemaTest.SingleElementTreatmentDifference ().
129
130 2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
131
132         All fixes are to make them pass under MS.NET 1.1.
133
134         * ConstraintCollectionTest.cs : Fixed to pass under MS.NET 1.1.
135         * DataRelationTest.cs : Creation4() never works.
136         * DataSetInferXmlSchemaTest.cs :
137           Fixed xml9 test (relation count).
138           Some mappings were incorrectly specified int.
139           ConflictColumnTable() test incorrectly tested different columns.
140           Fixed exception type on ConflictExistingPrimaryKey().
141         * DataSetReadXmlSchemaTest.cs :
142           Use fixed current culture.
143           Fixed exceptoin type on NestedReferenceNotAllowed().
144         * DataSetReadXmlTest.cs :
145           InferSchema mode is said as to load rows.
146         * DataSetTest.cs :
147           SqlGuid test depends on the runtime version.
148           In WriteDifferentNamespaceSchema(), we're going to set the same
149           order for namespaces (just for ease of tests).
150           Fixed many bugs on SerializeDataSet() test.
151         * DataTableTest.cs :
152           Set culture only on NET_1_0. Culture difference causes exception
153           under .NET 1.1.
154           Don't depend on error message string (consider localization).
155           Under .NET 1.1, constraints looks also vanishes on table's Clear().
156         * ForeignKeyConstraintTest.cs :
157           Ignore TestCtor5(). That does not work under .NET 1.1.
158           Fixed some exception type differences.
159
160 2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
161
162         * DataSetInferXmlSchemaTest.cs : Added ConflictExistingPrimaryKey().
163         * DataSetReadXmlTest.cs : Added IgnoreSchemaShouldFillData().
164         * DataSetTest.cs : Added IgnoreColumnEmptyNamespace() and
165           SerializeDataSet().
166
167 2004-04-20  Atsushi Enomoto <atsushi@ximian.com>
168
169         * DataSetInferXmlSchema.cs : added more 16 patterns.
170           (mostly fails as yet).
171         * DataSetReadXmlTest.cs : Reverted yesterday's incorrect part.
172           As for XmlReadMode = Auto, data row should be read.
173         * DataSetTest.cs : Added Namespace and Prefix tests.
174           Added WriteDifferentNamespaceSchema().
175
176           hmm... WriteXmlSchema() also needs more love :(
177
178 2004-04-19  Atsushi Enomoto <atsushi@ximian.com>
179
180         * Added DataSetInferXmlSchemaTest.cs.
181         * DataSetReadXmlTest.cs : Fixed test bogus. When ReadMode is
182           InferSchema, it should not load any data rows.
183         * DataSetAssertion.cs : Added AssertDataSet() overroad that takes 
184           relation count.
185
186 2004-04-19  Atsushi Enomoto <atsushi@ximian.com>
187
188         * Added missing ChangeLog entry.
189         * ConstraintCollectionTest.cs :
190           Ignore some tests that should fail (They also fail under MS.NET).
191         * DataSetReadXmlSchemaTest.cs : 
192           - Added SingleElementTreatmentDifference() and PrefixedTargetNS().
193           - Modified UnusedComplexTypesInored() to make sure DataSetName is set.
194           - Renamed DataSetElementCannotBeReferenced() to 
195             NestedReferenceNotAllowed().
196           - Modified ReadElemAttrPattern() to LocaleOnRootWithoutIsDataSet() 
197             to test msdata:Locale.
198         * DataSetTest.cs : Due to mcs bug #57200, csc does not allow 
199           System.Type.GetType(), so modified them all.
200
201 2004-04-16  Atsushi Enomoto <atsushi@ximian.com>
202
203         * DataSetAssertion.cs : Added AssertDataColumn().
204         * DataSetReadXmlSchemaTest.cs : Added more strange cases.
205
206 2004-04-15      Umadevi S (sumadevi@novell.com)
207                 * ForeignKeyConstraintTest - constructor testing,
208                 * DataSet - test for Clone and Copy methods.
209
210 2004-04-15  Atsushi Enomoto <atsushi@ximian.com>
211
212         * Added DataSetAssertion.cs and DataSetReadXmlSchema.cs.
213         * DataSetReadXmlTest.cs : separate assertion methods into
214           DataSetAssertion.cs. Added label argument to AssertDataTable.
215
216 2004-04-15  Atsushi Enomoto <atsushi@ximian.com>
217
218         * DataSetReadXmlTest.cs : Tests were incorrect. They should be done
219           against new dataset. So just added another sequential read tests.
220
221 2004-04-14  Atsushi Enomoto <atsushi@ximian.com>
222
223         * Added DataSetReadXmlTest.cs. (specific to ReadXml() in DataSet).
224
225 2004-04-12  Atsushi Enomoto <atsushi@ximian.com>
226
227         * DataSetTest.cs : More path fix. Don't expect End of Line = "\n".
228           It might be "\r\n" or else.
229
230 2004-04-09  Atsushi Enomoto <atsushi@ximian.com>
231
232         * DataColumnTest.cs,
233           DataRowTest.cs,
234           DataTableTest.cs : build fix: csc does not allow
235           System.Type inside namespace MonoTests.System.Data.
236         * DataSetTest.cs : path fix.
237         * DataRelationTest.cs : path fix. Don't test error message: It should
238           vary by message translations. Split tests and use ExpectedException.
239
240 2004-03-31  Juraj Skripsky <juraj@hotfeet.ch>
241
242         * DataColumnTest.cs : fixes here and there,
243         make all tests pass on ms.net.
244
245 2004-03-29  Juraj Skripsky <juraj@hotfeet.ch>
246
247         * DataTableTest.cs : add test case for bug #55503,
248         comment out meaningless test cases.
249
250 2004-01-21  Atsushi Enomoto <atsushi@ximian.com>
251
252         * Added TypedDataSetGeneratorTest.cs.
253
254 2003-12-18  Jackson Harper <jackson@ximian.com>
255
256         * DataViewTest.cs: Add some tests for new methods.
257         
258 2003-05-26  Ben Maurer <bmaurer@users.sourceforge.net>
259         * DataViewTest.cs: Added new test from
260         Patrick Kalkman
261
262 2003-05-13  Martin Willemoes Hansen <mwh@sysrq.dk>
263         * All tests inherits from Assertion, and
264           Assertion. prefixes removed
265
266 2003-04-05  Ville Palo <vi64pa@kolumbus.fi>
267
268         * DataTableTest.cs: little fix.
269         
270 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
271
272         * UniqueConstraintTest.cs: some minor fixes.
273         
274 2003-03-26  Ville Palo <vi64pa@kolumbus.fi>
275
276         * DataRowCollectionTest.cs: Tests for AutoIncrement
277         
278 2003-03-25  Ville Palo <vi64pa@kolumbus.fi>
279
280         * DataTableTest.cs: Added test for PrimaryKey-property
281         
282 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
283
284         * DataColumnCollectionTest.cs: little fix.
285
286 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
287
288         * DataColumnCollectionTest.cs: Typos
289         
290 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
291
292         * DataSetTest.cs: Fixed line-ending problems
293         
294 2003-03-06  Ville Palo <vi64pa@kolumbus.fi>
295
296         * DataTableTest.cs: More tests for Select ()
297         
298 2003-02-28  Ville Palo <vi64pa@kolumbus.fi>
299
300         * DataColumnCollectionTest.cs: Added more tests.
301         * DataRowCollectionTest.cs: Added more tests.
302         
303 2003-04-02  Ville Palo <vi64pa@koti.soon.fi>
304
305         * DataColumnTest.cs: Added tests for Expression property
306         
307 2003-03-02  Ville Palo <vi64pa@koti.soon.fi>
308
309         * DataTableTest.cs: More tests for Select
310         
311 2003-31-01  Ville Palo <vi64pa@koti.soon.fi>
312
313         * DataTableTest.cs: Added more tests for Select (string) -method
314         
315 2003-27-01  Ville Palo <vi64pa@koti.soon.fi>
316
317         * DataRelationTest.cs: Added more tests
318         
319 2003-27-01  Ville Palo <vi64pa@koti.soon.fi>
320
321         * DataTableTest.cs: Added test for DataTable.Select ()
322         
323 2003-24-01  Ville Palo <vi64pa@koti.soon.fi>
324
325         * UniqueConstraint.cs: More tests
326         
327 2003-23-01  Ville Palo <vi64pa@koti.soon.fi>
328
329         * ForeignKeyConstraint.cs: More tests
330         
331 2003-22-01  Ville Palo <vi64pa@koti.soon.fi>
332
333         * DataRelationTest.cs: More tests and little clean up.
334         
335 2003-14-01  Ville Palo <vi64pa@koti.soon.fi>
336
337         * DataRelationTest.cs: Added more tests
338         
339 2003-13-01  Ville Palo <vi64pa@koti.soon.fi>
340
341         * DataRelationTest.cs: Test class for DataRelation
342         
343 2002-12-26  Ville Palo <vi64pa@koti.soon.fi>
344
345         * own_schema.xsd: XmlSchema for testing ReadXmlSchema() -method
346         * DataSetTest.cs: Added more Xml-tests. 
347         
348 2002-12-17  Ville Palo <vi64pa@koti.soon.fi>
349
350         * region.xml: 
351         * store.xsd: new xmldoment and xmlschema for testing DataSet
352         * DataSetTest.cs: Added some Xml-tests.
353         * AllTests.cs: Added DataSetTest
354         
355 2002-10-23  Nick Drochak  <ndrochak@gol.com>
356
357         * ConstraintCollectionTest.cs (SetUp): Clear the constraints before 
358         each test.
359         * ConstraintTest.cs: same
360         * DataColumnTest.cs: Get exceptions straight.  Some are thrown and some
361         aren't
362
363 2002-10-22  Nick Drochak  <ndrochak@gol.com>
364
365         * DataColumnTest.cs: Remove compiler warnings and use caught exception
366         to report useful info.