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