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