* SqlCommandBuilderTest.cs: Improved tests to also check
[mono.git] / mcs / class / System.Data / Test / ProviderTests / System.Data.SqlClient / ChangeLog
index af10413710144f09119d8072d823259d08db4219..507346e9c3392d536cb179ca02b8819cddb0adb0 100644 (file)
@@ -1,3 +1,281 @@
+2009-01-04  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandBuilderTest.cs: Improved tests to also check
+       behavior of RefreshSchema.
+       * SqlDataReaderTest.cs: Added tests for GetBytes.
+
+2009-01-03  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandBuilderTest.cs: Improve Get*Command tests.
+       * SqlCommandTest.cs: Fixed warning.
+       * SqlConnectionTest.cs: Removed unused property.
+       * SqlDataReaderTest.cs: Enabled GetChars test on 1.0
+       profile. Added GetValues test. Added and improved
+       GetSqlValue tests. Improved HasRows and NextResult
+       tests. Added GetFieldType tests. Added big batch of
+       schema-related tests.
+       * SqlParameterTest.cs: Moved disconnected tests to
+       System.Data test suite. Improved test for bug
+       #382635. Added test for failed conversion to SQL type.
+
+2008-12-31  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandBuilderTest.cs: Improve Get*Command tests.
+       * SqlCommandTest.cs: Added test for bug #341743. Added test
+       for connection state after executing invalid SQL. Improved
+       stored procedure test to check behavior with and without
+       leading '@' for parameter names. Minor formatting changes.
+       * SqlConnectionTest.cs: Split up connection string errors
+       test.
+       * SqlDataReaderTest.cs: Improved GetInt64Test. Improved and
+       added GetBytes tests. Added GetSqlValues and HasRows tests.
+       Added GetSchemaTable test. Improved GetProviderSpecificFieldType
+       tests.
+       * SqlParameterTest.cs: Improved ParameterType test. Added
+       type inferrence tests.
+       * SqlTransactionTest.cs: Allow not working tests to run on MS.
+
+2008-12-30  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlConnectionTest.cs: Improve Database test.
+
+2008-11-11  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandTest.cs: Added (SMALL)MONEY rounding tests.
+
+2008-11-11  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandTest.cs: Added tests for bug #428139. Added test for
+       SMALLMONEY overflows. Added workaround for Assert.AreEqual bug in
+       NUnit v2.2.0. 
+
+2008-11-09  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlConnectionTest.cs: Added tests for ClearPool and ClearAllPools.
+
+2008-11-08  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlConnectionTest.cs: Added test for bug #383061.
+
+2008-09-17  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * SqlCommandBuilderTest.cs: Added test for DeriverParameters.
+       
+2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandTest.cs: Enabled test for bug #412569.
+
+2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandTest.cs: Enabled and improved tests for pending transaction
+       and transaction that is not associated with connection. Added tests for
+       Prepare.
+
+2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandTest.cs: Enabled and improved tests for Execute* with 
+       only a transaction set.
+
+2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandTest.cs: Enabled test for bug #412579.
+2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandTest.cs: Enabled and improved test for bug #412576.
+       Enabled test for changing Connection while reader is open.
+
+2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlConnectionTest.cs: Enabled and improved test for bug #412571.
+
+2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlConnectionTest.cs: Enabled test for bug #412574.
+
+2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SqlCommandTest.cs: Moved tests that do not require connection to
+       regular test suite. Improved existing tests, and added set of new
+       tests. Reduce failure count.
+       * SqlConnectionTest.cs: Moved tests that do not require connection to
+       regular test suite. Improved existing tests, and added set of new
+       tests. Reduce failure count.
+       * SqlTransactionTest.cs: Added several tests.
+
+2008-07-10  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * SqlCommandTest.cs (bug326182_*): Test case for Bug#326182 - StoredProcedure 
+       parameters gets mixed up
+       
+2008-05-29  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * SqlParameterTest.cs (ParameterSize_compatibility_Test) : New
+       test case for Bug#382635 - truncate parameter values accordingly.
+       
+2007-10-19  Nagappan A  <anagappan@novell.com>
+
+       * SqlCommandBuilderTest.cs: Fixed compilation warnings.
+
+2007-07-31  Nagappan A  <anagappan@novell.com>
+
+       * SqlConnectionTest.cs (InterfaceTransactionTest): Fixes bug
+       82189. SqlConnection throws an exception if Connection or
+       Transaction is set to null on IDbCommand interface.
+
+2007-07-24  Nagappan A  <anagappan@novell.com>
+
+       * SqlParameterTest.cs (ParameterSizeTest): Fixes Large strings
+       truncated with SqlClient - Bug # 82170.
+
+2007-07-22  Nagappan A  <anagappan@novell.com>
+
+       * SqlTransactionTest.cs: Added exception handling.
+
+2007-06-11  Nagappan A  <anagappan@novell.com>
+
+       * SqlCommandTest.cs (SqlCommandDisposeTest): Added new test case
+       to check, the SqlCommand.Dispose, not to dispose SqlConnection and
+       SqlTransaction instances.
+
+2007-06-07  Nagappan A  <anagappan@novell.com>
+
+       * SqlCommandTest.cs: Fixes compilation warnings.
+
+2007-05-30  Nagappan A  <anagappan@novell.com>
+
+       * SqlCommandTest.cs (StoredProc_NoParameterTest)
+       (StoredProc_ParameterTest, rpc_helper_function): Added new methods
+       to test the implementation of TDS RPC.
+
+2007-04-03  Amit Biswas <amit@amitbiswas.com>
+
+       * SqlDataReaderTest.cs (GetSqlBytesTest): Test case for GetSqlBytes
+       (GetProviderSpecificFieldTypeTest): Test case for GetProviderSpecificFieldTypeTest
+       (GetProviderSpecificValueTest): Test case for GetProviderSpecificValueTest
+       (GetProviderSpecificValueLowerBoundaryTest):
+       (GetProviderSpecificValueUpperBoundaryTest):
+       (GetProviderSpecificValuesTest): Test case for GetProviderSpecificValuesTest
+       (GetProviderSpecificValuesSmallArrayTest): Test case with an array smaller than no. of columns
+       (GetProviderSpecificValuesLargeArrayTest): Test case with an array larger than no. of columns
+       (GetProviderSpecificValuesNullTest): Test case for null parameters
+
+       * SqlParameterTest.cs (XmlSchemaTest): Test case for properties related to XML schema
+       (SourceColumnNullMappingTest): Test case for SourceColumnNullMappingTest
+       (ctor7Test): Test case to the constructor new in .net 2.0
+
+       * SqlParameterTest.cs (ParameterType): Corrected a bug in the test case regarding
+       default values of SqlDbType and DbType
+       (SqlDbTypeTest): Test for SqlDbType and DbType properties
+       (ResetSqlDbTypeTest): Test for ResetSqlDbType method
+       (ResetDbTypeTest): Test for ResetDbType method
+
+       * SqlParameterCollectionTest.cs (CopyToTest): Test case for CopyTo method
+
+2007-03-23  Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
+
+       * SqlCommandTest.cs (BeginExecuteXmlReaderTest): Written test case for the method
+       BeginExecuteXmlReader.
+       (BeginExecuteXmlReaderExceptionTest): Written test case for the method BeginExecuteXmlReader
+       to check for InvalidOperationException.
+       (CloneObjTest): Written test case for the method Clone.
+       
+       * SqlConnectionTest.cs (ChangePasswordNullConnStringTest): Written test case for the method
+       ChangePassword to check for null connection string.
+       (ChangePasswordNullPasswordTest): Written test case for the method ChangePassword to check for
+       null new password.
+       (ChangePasswordEmptyPasswordTest): Written test case for the method ChangePassword to check for
+       password as empty string.
+       (ChangePasswordExceedPasswordTest): Written test case for the method ChangePassword to check
+       if the password exceeds its permitted size.
+       
+       * SqlClientFactory.cs: Created the class.
+       (CreatePermissionTest): Added a test case for the method CreatePermission.
+
+2007-03-20  Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
+
+       * SqlConnectionStringBuilderTest.cs: Fixed the bug by including the 
+       category sqlserver, in the absence of which none of the test-cases
+       were executing.
+       (TrustServerCertificateTest): Written test-case for the property TrustServerCertificate.
+       (TypeSystemVersionTest): Written test-case for the property TypeSystemVersion.
+       (UserInstanceTest): Written test-case for the property UserInstance.
+       (SettingUserInstanceTest): Written test-case for checking the connection string after
+       assigning the value for keyword User Instance.
+       (ContextConnectionTest): Written test-case for the property ContextConnection.
+       (SettingContextConnectionTest): Written test-case for checking the connection string after
+       assigning the value for keyword Context Connection.
+
+       * SqlCommandTest.cs (NotificationTest): Written test-case for property Notification.
+       (NotificationAutoEnlistTest): Written the test-case for property NotificationAutoEnlist.
+
+       * SqlConnectionTest.cs (FireInfoMessageEventOnUserErrorsTest): Written
+       test-case for the property FireInfoMessageEventOnUserErrors.
+       (StatisticsEnabledTest): Written test-case for the property StatisticsEnabled.
+
+       * SqlDataAdapterTest.cs (UpdateBatchSizeTest): Written test-case for the
+       property UpdateBatchSize.
+       (UpdateBatchSizeArgumentOutOfRangeTest): Written test-case for the ArgumentOutOfRange
+       exception for UpdateBatchSize property.
+
+2007-03-19  Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
+
+       * SqlParameterTest.cs (CompareInfoTest): Written the test case
+       for property CompareInfo.
+       (LocaleIdTest): Written the test case for property LocaleId.
+       (SqlValueTest): Written test case for property SqlValue.
+
+2007-03-16  Andreia Gaita  <avidigal@novell.com>
+
+       * SqlCommandTest.cs: Add OutputParamSizeTest1-4 to test size/value
+       validation exception. 
+
+2007-03-14  Nagappan A  <anagappan@novell.com>
+
+       * SqlCommandTest.cs (ExecuteScalarTest, ExecuteReaderTest)
+       (ExecuteReaderTest, PrepareTest, TransactionTest): Modified
+       expected exception to NullReferenceException as it has to be
+       thrown in 2.0 profile.
+
+2007-03-09  Andreia Gaita  <avidigal@novell.com>
+
+       * SqlCommandTest.cs: Add new test to check string parameters with 
+       value = null and size 0. Fixed tests for NET 2.0 (different exceptions
+       thrown)
+
+2007-03-09  Andreia Gaita  <avidigal@novell.com>
+
+       * SqlCommandTest.cs: Add parameterized stored procedure call tests
+       to ExecuteScalar and ExecuteNonQuery.
+
+2007-01-08  Nagappan A  <anagappan@novell.com>
+
+       * SqlCommandBuilderTest.cs (GetInsertCommandTest)
+       (GetInsertCommandTestWithExpression, GetUpdateCommandTest): Fixed
+       NET 2.0 based test conditions.
+       (GetUpdateCommandBoolTest): Added new test case.
+       (GetUpdateCommandTest_CheckNonUpdatableColumns): Fixed NET 2.0
+       based test conditions.
+       (GetUpdateCommandBoolTest_CheckNonUpdatableColumns): Added new test
+       case.
+       (GetUpdateDeleteCommandBoolTest_CheckParameters): Added new test
+       case.
+       (GetUpdateCommandDBConcurrencyExceptionTest): Fixed NET 2.0 based
+       test conditions.
+
+       * SqlDataAdapterTest.cs: Commented not working test-cases.
+
+2006-12-20  Nagappan A  <anagappan@novell.com>
+
+       * SqlDataAdapterTest.cs (SqlDataAdapterInheritTest): Implemented
+       new class to verify protected method of DbDataAdapter.
+       * Fixed existing test-cases to work with 2.0 profile.
+
+2006-12-05  Nagappan A  <anagappan@novell.com>
+
+       * SqlDataAdapterTest.cs (CreateViewSSPITest): To test create view
+       of SqlClient.
+
 2006-08-30  Nagappan A  <anagappan@novell.com>
 
        * SqlConnectionTest.cs: SqlConnection.GetSchema testcases