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