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