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