[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System.Data / Test / ProviderTests / System.Data.SqlClient / ChangeLog
1 2010-10-01  Veerapuram Varadhan  <vvaradhan@novell.com>
2
3         * SqlCommandTest.cs: Add test for bug#561667
4         
5 2010-09-20  Veerapuram Varadhan  <vvaradhan@novell.com>
6
7         * SqlDataReaderTest.cs: Add test for bug#613087
8         
9 2010-09-16  Veerapuram Varadhan  <vvaradhan@novell.com>
10
11         * SqlCommandTest.cs: Add test for bug#569543
12         
13 2010-09-16  Veerapuram Varadhan  <vvaradhan@novell.com>
14
15         * SqlCommandTest.cs: Add test for bug#584833
16         
17 2010-04-21  Veerapuram Varadhan  <vvaradhan@novell.com>
18
19         * SqlParameterTest.cs: Add test for bug#595918.
20         
21 2009-08-01  Gert Driesen  <drieseng@users.sourceforge.net>
22
23         * SqlDataReaderTest.cs: Fixes for SQL Server 7.0 / TDS 7. Avoid
24         catching and rethrowing AssertionException. Minor code formatting
25         changes.
26
27 2009-08-01  Gert Driesen  <drieseng@users.sourceforge.net>
28
29         * SqlCommandBuilderTest.cs: Fixes for SQL Server 7.0 / TDS 7.
30         * SqlCommandTest.cs: Fixes for SQL Server 7.0 / TDS 7.
31         * SqlConnectionTest.cs: Fixes for SQL Server 7.0 / TDS 7.
32         * SqlDataAdapterTest.cs: Added tests for Update. Fixed Fill_Test_Data,
33         Fill_Test_PriKey and Fill_Test_FillErrorTest to pass on SQL Server 7.0.
34         Avoid catching and rethrowing AssertionException. Minor improvements.
35         * SqlParameterTest.cs: Fixes for SQL Server 7.0 / TDS 7. Updated
36         ZeroLengthString to pass on 1.0 profile.
37         * SqlTransactionTest.cs: Fixes for SQL Server 7.0 / TDS 7.
38
39 2009-07-30  Gert Driesen  <drieseng@users.sourceforge.net>
40
41         * SqlParameterTest.cs: Improved tests for bug #382589.
42
43 2009-07-30  Gert Driesen  <drieseng@users.sourceforge.net>
44
45         * SqlParameterTest.cs: Added test for bug #526794, and failed
46         conversion from (zero-length) string to int. Changed spaces to tabs.
47
48 2009-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
49
50         * SqlCommandTest.cs: Improved test for invalid statement to cover
51         CloseConnection behavior.
52
53 2009-07-25  Veerapuram Varadhan  <vvaradhan@novell.com>
54
55         * SqlDataAdapterTest.cs: Test fix. 
56         
57 2009-05-16  Veerapuram Varadhan  <vvaradhan@novell.com>
58
59         * SqlParameterTest.cs: Added test for bug #382589.
60         
61 2009-02-02  Veerapuram Varadhan  <vvaradhan@novell.com>
62
63         * SqlCommandTest.cs:
64           SqlDataReaderTest.cs: TDS 8 changes.
65         
66 2009-01-29  Gert Driesen  <drieseng@users.sourceforge.net>
67
68         * SqlCommandTest.cs: Added test for bug #470579.
69
70 2009-01-17  Gert Driesen  <drieseng@users.sourceforge.net>
71
72         * SqlCommandBuilderTest.cs: Improved DeriveParameters test.
73         * SqlCommandTest.cs: Added InputOutput parameter to
74         StoredProc_ParameterTest.
75
76 2009-01-04  Gert Driesen  <drieseng@users.sourceforge.net>
77
78         * SqlCommandBuilderTest.cs: Improved tests to also check
79         behavior of RefreshSchema.
80         * SqlDataReaderTest.cs: Added tests for GetBytes.
81
82 2009-01-03  Gert Driesen  <drieseng@users.sourceforge.net>
83
84         * SqlCommandBuilderTest.cs: Improve Get*Command tests.
85         * SqlCommandTest.cs: Fixed warning.
86         * SqlConnectionTest.cs: Removed unused property.
87         * SqlDataReaderTest.cs: Enabled GetChars test on 1.0
88         profile. Added GetValues test. Added and improved
89         GetSqlValue tests. Improved HasRows and NextResult
90         tests. Added GetFieldType tests. Added big batch of
91         schema-related tests.
92         * SqlParameterTest.cs: Moved disconnected tests to
93         System.Data test suite. Improved test for bug
94         #382635. Added test for failed conversion to SQL type.
95
96 2008-12-31  Gert Driesen  <drieseng@users.sourceforge.net>
97
98         * SqlCommandBuilderTest.cs: Improve Get*Command tests.
99         * SqlCommandTest.cs: Added test for bug #341743. Added test
100         for connection state after executing invalid SQL. Improved
101         stored procedure test to check behavior with and without
102         leading '@' for parameter names. Minor formatting changes.
103         * SqlConnectionTest.cs: Split up connection string errors
104         test.
105         * SqlDataReaderTest.cs: Improved GetInt64Test. Improved and
106         added GetBytes tests. Added GetSqlValues and HasRows tests.
107         Added GetSchemaTable test. Improved GetProviderSpecificFieldType
108         tests.
109         * SqlParameterTest.cs: Improved ParameterType test. Added
110         type inferrence tests.
111         * SqlTransactionTest.cs: Allow not working tests to run on MS.
112
113 2008-12-30  Gert Driesen  <drieseng@users.sourceforge.net>
114
115         * SqlConnectionTest.cs: Improve Database test.
116
117 2008-11-11  Gert Driesen  <drieseng@users.sourceforge.net>
118
119         * SqlCommandTest.cs: Added (SMALL)MONEY rounding tests.
120
121 2008-11-11  Gert Driesen  <drieseng@users.sourceforge.net>
122
123         * SqlCommandTest.cs: Added tests for bug #428139. Added test for
124         SMALLMONEY overflows. Added workaround for Assert.AreEqual bug in
125         NUnit v2.2.0. 
126
127 2008-11-09  Gert Driesen  <drieseng@users.sourceforge.net>
128
129         * SqlConnectionTest.cs: Added tests for ClearPool and ClearAllPools.
130
131 2008-11-08  Gert Driesen  <drieseng@users.sourceforge.net>
132
133         * SqlConnectionTest.cs: Added test for bug #383061.
134
135 2008-09-17  Veerapuram Varadhan  <vvaradhan@novell.com>
136
137         * SqlCommandBuilderTest.cs: Added test for DeriverParameters.
138         
139 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
140
141         * SqlCommandTest.cs: Enabled test for bug #412569.
142
143 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
144
145         * SqlCommandTest.cs: Enabled and improved tests for pending transaction
146         and transaction that is not associated with connection. Added tests for
147         Prepare.
148
149 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
150
151         * SqlCommandTest.cs: Enabled and improved tests for Execute* with 
152         only a transaction set.
153
154 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
155
156         * SqlCommandTest.cs: Enabled test for bug #412579.
157  
158 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
159
160         * SqlCommandTest.cs: Enabled and improved test for bug #412576.
161         Enabled test for changing Connection while reader is open.
162
163 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
164
165         * SqlConnectionTest.cs: Enabled and improved test for bug #412571.
166
167 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
168
169         * SqlConnectionTest.cs: Enabled test for bug #412574.
170
171 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
172
173         * SqlCommandTest.cs: Moved tests that do not require connection to
174         regular test suite. Improved existing tests, and added set of new
175         tests. Reduce failure count.
176         * SqlConnectionTest.cs: Moved tests that do not require connection to
177         regular test suite. Improved existing tests, and added set of new
178         tests. Reduce failure count.
179         * SqlTransactionTest.cs: Added several tests.
180
181 2008-07-10  Veerapuram Varadhan  <vvaradhan@novell.com>
182
183         * SqlCommandTest.cs (bug326182_*): Test case for Bug#326182 - StoredProcedure 
184         parameters gets mixed up
185         
186 2008-05-29  Veerapuram Varadhan  <vvaradhan@novell.com>
187
188         * SqlParameterTest.cs (ParameterSize_compatibility_Test) : New
189         test case for Bug#382635 - truncate parameter values accordingly.
190         
191 2007-10-19  Nagappan A  <anagappan@novell.com>
192
193         * SqlCommandBuilderTest.cs: Fixed compilation warnings.
194
195 2007-07-31  Nagappan A  <anagappan@novell.com>
196
197         * SqlConnectionTest.cs (InterfaceTransactionTest): Fixes bug
198         82189. SqlConnection throws an exception if Connection or
199         Transaction is set to null on IDbCommand interface.
200
201 2007-07-24  Nagappan A  <anagappan@novell.com>
202
203         * SqlParameterTest.cs (ParameterSizeTest): Fixes Large strings
204         truncated with SqlClient - Bug # 82170.
205
206 2007-07-22  Nagappan A  <anagappan@novell.com>
207
208         * SqlTransactionTest.cs: Added exception handling.
209
210 2007-06-11  Nagappan A  <anagappan@novell.com>
211
212         * SqlCommandTest.cs (SqlCommandDisposeTest): Added new test case
213         to check, the SqlCommand.Dispose, not to dispose SqlConnection and
214         SqlTransaction instances.
215
216 2007-06-07  Nagappan A  <anagappan@novell.com>
217
218         * SqlCommandTest.cs: Fixes compilation warnings.
219
220 2007-05-30  Nagappan A  <anagappan@novell.com>
221
222         * SqlCommandTest.cs (StoredProc_NoParameterTest)
223         (StoredProc_ParameterTest, rpc_helper_function): Added new methods
224         to test the implementation of TDS RPC.
225
226 2007-04-03  Amit Biswas <amit@amitbiswas.com>
227
228         * SqlDataReaderTest.cs (GetSqlBytesTest): Test case for GetSqlBytes
229         (GetProviderSpecificFieldTypeTest): Test case for GetProviderSpecificFieldTypeTest
230         (GetProviderSpecificValueTest): Test case for GetProviderSpecificValueTest
231         (GetProviderSpecificValueLowerBoundaryTest):
232         (GetProviderSpecificValueUpperBoundaryTest):
233         (GetProviderSpecificValuesTest): Test case for GetProviderSpecificValuesTest
234         (GetProviderSpecificValuesSmallArrayTest): Test case with an array smaller than no. of columns
235         (GetProviderSpecificValuesLargeArrayTest): Test case with an array larger than no. of columns
236         (GetProviderSpecificValuesNullTest): Test case for null parameters
237
238         * SqlParameterTest.cs (XmlSchemaTest): Test case for properties related to XML schema
239         (SourceColumnNullMappingTest): Test case for SourceColumnNullMappingTest
240         (ctor7Test): Test case to the constructor new in .net 2.0
241
242         * SqlParameterTest.cs (ParameterType): Corrected a bug in the test case regarding
243         default values of SqlDbType and DbType
244         (SqlDbTypeTest): Test for SqlDbType and DbType properties
245         (ResetSqlDbTypeTest): Test for ResetSqlDbType method
246         (ResetDbTypeTest): Test for ResetDbType method
247
248         * SqlParameterCollectionTest.cs (CopyToTest): Test case for CopyTo method
249
250 2007-03-23  Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
251
252         * SqlCommandTest.cs (BeginExecuteXmlReaderTest): Written test case for the method
253         BeginExecuteXmlReader.
254         (BeginExecuteXmlReaderExceptionTest): Written test case for the method BeginExecuteXmlReader
255         to check for InvalidOperationException.
256         (CloneObjTest): Written test case for the method Clone.
257         
258         * SqlConnectionTest.cs (ChangePasswordNullConnStringTest): Written test case for the method
259         ChangePassword to check for null connection string.
260         (ChangePasswordNullPasswordTest): Written test case for the method ChangePassword to check for
261         null new password.
262         (ChangePasswordEmptyPasswordTest): Written test case for the method ChangePassword to check for
263         password as empty string.
264         (ChangePasswordExceedPasswordTest): Written test case for the method ChangePassword to check
265         if the password exceeds its permitted size.
266         
267         * SqlClientFactory.cs: Created the class.
268         (CreatePermissionTest): Added a test case for the method CreatePermission.
269
270 2007-03-20  Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
271
272         * SqlConnectionStringBuilderTest.cs: Fixed the bug by including the 
273         category sqlserver, in the absence of which none of the test-cases
274         were executing.
275         (TrustServerCertificateTest): Written test-case for the property TrustServerCertificate.
276         (TypeSystemVersionTest): Written test-case for the property TypeSystemVersion.
277         (UserInstanceTest): Written test-case for the property UserInstance.
278         (SettingUserInstanceTest): Written test-case for checking the connection string after
279         assigning the value for keyword User Instance.
280         (ContextConnectionTest): Written test-case for the property ContextConnection.
281         (SettingContextConnectionTest): Written test-case for checking the connection string after
282         assigning the value for keyword Context Connection.
283
284         * SqlCommandTest.cs (NotificationTest): Written test-case for property Notification.
285         (NotificationAutoEnlistTest): Written the test-case for property NotificationAutoEnlist.
286
287         * SqlConnectionTest.cs (FireInfoMessageEventOnUserErrorsTest): Written
288         test-case for the property FireInfoMessageEventOnUserErrors.
289         (StatisticsEnabledTest): Written test-case for the property StatisticsEnabled.
290
291         * SqlDataAdapterTest.cs (UpdateBatchSizeTest): Written test-case for the
292         property UpdateBatchSize.
293         (UpdateBatchSizeArgumentOutOfRangeTest): Written test-case for the ArgumentOutOfRange
294         exception for UpdateBatchSize property.
295
296 2007-03-19  Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
297
298         * SqlParameterTest.cs (CompareInfoTest): Written the test case
299         for property CompareInfo.
300         (LocaleIdTest): Written the test case for property LocaleId.
301         (SqlValueTest): Written test case for property SqlValue.
302
303 2007-03-16  Andreia Gaita  <avidigal@novell.com>
304
305         * SqlCommandTest.cs: Add OutputParamSizeTest1-4 to test size/value
306         validation exception. 
307
308 2007-03-14  Nagappan A  <anagappan@novell.com>
309
310         * SqlCommandTest.cs (ExecuteScalarTest, ExecuteReaderTest)
311         (ExecuteReaderTest, PrepareTest, TransactionTest): Modified
312         expected exception to NullReferenceException as it has to be
313         thrown in 2.0 profile.
314
315 2007-03-09  Andreia Gaita  <avidigal@novell.com>
316
317         * SqlCommandTest.cs: Add new test to check string parameters with 
318         value = null and size 0. Fixed tests for NET 2.0 (different exceptions
319         thrown)
320
321 2007-03-09  Andreia Gaita  <avidigal@novell.com>
322
323         * SqlCommandTest.cs: Add parameterized stored procedure call tests
324         to ExecuteScalar and ExecuteNonQuery.
325
326 2007-01-08  Nagappan A  <anagappan@novell.com>
327
328         * SqlCommandBuilderTest.cs (GetInsertCommandTest)
329         (GetInsertCommandTestWithExpression, GetUpdateCommandTest): Fixed
330         NET 2.0 based test conditions.
331         (GetUpdateCommandBoolTest): Added new test case.
332         (GetUpdateCommandTest_CheckNonUpdatableColumns): Fixed NET 2.0
333         based test conditions.
334         (GetUpdateCommandBoolTest_CheckNonUpdatableColumns): Added new test
335         case.
336         (GetUpdateDeleteCommandBoolTest_CheckParameters): Added new test
337         case.
338         (GetUpdateCommandDBConcurrencyExceptionTest): Fixed NET 2.0 based
339         test conditions.
340
341         * SqlDataAdapterTest.cs: Commented not working test-cases.
342
343 2006-12-20  Nagappan A  <anagappan@novell.com>
344
345         * SqlDataAdapterTest.cs (SqlDataAdapterInheritTest): Implemented
346         new class to verify protected method of DbDataAdapter.
347         * Fixed existing test-cases to work with 2.0 profile.
348
349 2006-12-05  Nagappan A  <anagappan@novell.com>
350
351         * SqlDataAdapterTest.cs (CreateViewSSPITest): To test create view
352         of SqlClient.
353
354 2006-08-30  Nagappan A  <anagappan@novell.com>
355
356         * SqlConnectionTest.cs: SqlConnection.GetSchema testcases
357
358 2006-05-26  Senganal T  <tsenganal@novell.com>
359
360         * SqlParameterTest.cs : Test if Parameter Type is inferred correctly
361         when Value is null or DBNull. Also, if Type is not explicitly set,
362         test if it is inferred from the value of the parameter evertime the
363         value is set.
364         
365 2006-04-18  Senganal T  <tsenganal@novell.com>
366
367         * SqlConnectionTest.cs :
368                 - OpenTest_1 : test InvalidOperationException is raised if
369                 ConnectionString is empty
370                 - DisposeTest : test nullreference exception is not raised
371
372 2006-04-07  Senganal T  <tsenganal@novell.com>
373
374         * SqlDataAdapterTest,cs :
375                 - Added testcase for #78010
376
377 2006-04-07  Senganal T  <tsenganal@novell.com>
378
379         * SqlCommandBuilderTest.cs :
380                 - Corrected the testcase to check for queries corresponding to
381                 ms.net 2.0
382                 - verify that columns that do not allow nulls are not included
383                 in the null-checks.
384                 - Added testcase to check for DBConcurrencyException for
385                 Delete Command. 
386                 - Check the DataType of the null-check parameters
387
388 2006-03-08  Senganal T  <tsenganal@novell.com>
389
390         * SqlCommandBuilderTest.cs :
391                 - Added testcase to verify UpdateCommand created with AutoIncrement
392                 columns.
393
394 2006-02-13  Senganal T  <tsenganal@novell.com>
395
396         * SqlAdapterTest.cs : Added testcases for verifying FillError Behavior
397
398 2006-02-13  Senganal T  <tsenganal@novell.com>
399
400         * SqlAdapterTest.cs : Added testcases for #77480
401
402 2006-02-10  Senganal T  <tsenganal@novell.com>
403
404         * SqlDataReaderTest.cs : Added more tests to verify Sequential
405         reading of row data.
406
407 2006-02-05  Senganal T  <tsenganal@novell.com>
408
409         * SqlParameterTest.cs : New : Testcase for bug #77410
410
411 2006-01-17  Senganal T  <tsenganal@novell.com>
412
413         * SqlCommandBuilderTest.cs : corrected a failing testcase
414
415 2006-01-17  Senganal T  <tsenganal@novell.com>
416
417         * SqlCommandBuilderTest.cs : Added testcase for bug #77225
418
419 2005-12-03  Senganal T  <tsenganal@novell.com>
420
421         * SqlCommandTest.cs : Added testcase for bug #76880
422
423 2005-11-23  Senganal T  <tsenganal@novell.com>
424
425         * SqlCommandTest.cs : Added testcases for bug #76778
426
427 2005-10-27  Senganal T  <tsenganal@novell.com>
428
429         * SqlCommandTest.cs : Added Testcase for bug #75698
430
431 2005-10-17  Senganal T  <tsenganal@novell.com>
432
433         * SqlDataAdapterTest.cs : Added Testcase for bug #76433.
434
435 2005-09-24  Sureshkumar T  <tsureshkumar@novell.com>
436
437         * SqlDataAdapterTest.cs (Fill_Test_Exceptions): passing null
438         dataset name throws ArgumentNullException in ms.net
439
440         * SqlConnectionTest.cs: HostName compare: convert to uppercase.
441
442         * SqlDataReaderTest.cs: remove Opening connection in few test
443         cases as it was done in SetUp.
444         - id type change changes
445
446 2005-09-21 Senganal T  <tsenganal@novell.com>
447
448         * SqlConnectionTest.cs: removed some hardcoded database names
449         in DatabasePropertyTest ().
450
451 2005-09-16 Senganal T  <tsenganal@novell.com>
452
453         * SqlCommandTest.cs: added more testcases for connected mode
454         * SqlConnectionTest.cs: added more testcases for connected mode
455         * SqlDataAdapterTest.cs: added more testcases for connected mode
456         * SqlDataReaderTest.cs: added more testcases for connected mode
457
458 2005-09-01  Sureshkumar T  <tsureshkumar@novell.com>
459
460         * SqlCommandBuilderTest.cs: added tests for SqlCommandBuilder
461         * SqlCommandTest.cs: pulled from Test/System.Data.SqlClient
462         * SqlConnectionStringBuilderTest.cs: pulled from Test/System.Data.SqlClient
463         * SqlConnectionTest.cs: pulled from Test/System.Data.SqlClient
464         * SqlDataAdapterTest.cs: pulled from Test/System.Data.SqlClient
465         * SqlDataReaderTest.cs: pulled from Test/System.Data.SqlClient
466         * SqlTransactionTest.cs: pulled from Test/System.Data.SqlClient
467
468         Added attribute Category ("sqlserver") to all these test fixtures.
469