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