Files
mono/mcs/class/System.Data/Test/ProviderTests/System.Data.SqlClient/ChangeLog
T
vvaradhan ceefad76f1 2010-10-01 Veerapuram Varadhan <[email protected]>
** Fixes #561667
	* SqlCommand.cs (Dispose): While Disposing, set connection's
	datareader to null so the connection can be reused with another datareader.
2010-10-04 15:27:52 +05:30

470 lines
17 KiB
Plaintext

2010-10-01 Veerapuram Varadhan <[email protected]>
* SqlCommandTest.cs: Add test for bug#561667
2010-09-20 Veerapuram Varadhan <[email protected]>
* SqlDataReaderTest.cs: Add test for bug#613087
2010-09-16 Veerapuram Varadhan <[email protected]>
* SqlCommandTest.cs: Add test for bug#569543
2010-09-16 Veerapuram Varadhan <[email protected]>
* SqlCommandTest.cs: Add test for bug#584833
2010-04-21 Veerapuram Varadhan <[email protected]>
* SqlParameterTest.cs: Add test for bug#595918.
2009-08-01 Gert Driesen <[email protected]>
* SqlDataReaderTest.cs: Fixes for SQL Server 7.0 / TDS 7. Avoid
catching and rethrowing AssertionException. Minor code formatting
changes.
2009-08-01 Gert Driesen <[email protected]>
* SqlCommandBuilderTest.cs: Fixes for SQL Server 7.0 / TDS 7.
* SqlCommandTest.cs: Fixes for SQL Server 7.0 / TDS 7.
* SqlConnectionTest.cs: Fixes for SQL Server 7.0 / TDS 7.
* SqlDataAdapterTest.cs: Added tests for Update. Fixed Fill_Test_Data,
Fill_Test_PriKey and Fill_Test_FillErrorTest to pass on SQL Server 7.0.
Avoid catching and rethrowing AssertionException. Minor improvements.
* SqlParameterTest.cs: Fixes for SQL Server 7.0 / TDS 7. Updated
ZeroLengthString to pass on 1.0 profile.
* SqlTransactionTest.cs: Fixes for SQL Server 7.0 / TDS 7.
2009-07-30 Gert Driesen <[email protected]>
* SqlParameterTest.cs: Improved tests for bug #382589.
2009-07-30 Gert Driesen <[email protected]>
* SqlParameterTest.cs: Added test for bug #526794, and failed
conversion from (zero-length) string to int. Changed spaces to tabs.
2009-07-28 Gert Driesen <[email protected]>
* SqlCommandTest.cs: Improved test for invalid statement to cover
CloseConnection behavior.
2009-07-25 Veerapuram Varadhan <[email protected]>
* SqlDataAdapterTest.cs: Test fix.
2009-05-16 Veerapuram Varadhan <[email protected]>
* SqlParameterTest.cs: Added test for bug #382589.
2009-02-02 Veerapuram Varadhan <[email protected]>
* SqlCommandTest.cs:
SqlDataReaderTest.cs: TDS 8 changes.
2009-01-29 Gert Driesen <[email protected]>
* SqlCommandTest.cs: Added test for bug #470579.
2009-01-17 Gert Driesen <[email protected]>
* SqlCommandBuilderTest.cs: Improved DeriveParameters test.
* SqlCommandTest.cs: Added InputOutput parameter to
StoredProc_ParameterTest.
2009-01-04 Gert Driesen <[email protected]>
* SqlCommandBuilderTest.cs: Improved tests to also check
behavior of RefreshSchema.
* SqlDataReaderTest.cs: Added tests for GetBytes.
2009-01-03 Gert Driesen <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* SqlConnectionTest.cs: Improve Database test.
2008-11-11 Gert Driesen <[email protected]>
* SqlCommandTest.cs: Added (SMALL)MONEY rounding tests.
2008-11-11 Gert Driesen <[email protected]>
* 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 <[email protected]>
* SqlConnectionTest.cs: Added tests for ClearPool and ClearAllPools.
2008-11-08 Gert Driesen <[email protected]>
* SqlConnectionTest.cs: Added test for bug #383061.
2008-09-17 Veerapuram Varadhan <[email protected]>
* SqlCommandBuilderTest.cs: Added test for DeriverParameters.
2008-07-28 Gert Driesen <[email protected]>
* SqlCommandTest.cs: Enabled test for bug #412569.
2008-07-28 Gert Driesen <[email protected]>
* 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 <[email protected]>
* SqlCommandTest.cs: Enabled and improved tests for Execute* with
only a transaction set.
2008-07-28 Gert Driesen <[email protected]>
* SqlCommandTest.cs: Enabled test for bug #412579.
2008-07-28 Gert Driesen <[email protected]>
* SqlCommandTest.cs: Enabled and improved test for bug #412576.
Enabled test for changing Connection while reader is open.
2008-07-28 Gert Driesen <[email protected]>
* SqlConnectionTest.cs: Enabled and improved test for bug #412571.
2008-07-28 Gert Driesen <[email protected]>
* SqlConnectionTest.cs: Enabled test for bug #412574.
2008-07-28 Gert Driesen <[email protected]>
* 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 <[email protected]>
* SqlCommandTest.cs (bug326182_*): Test case for Bug#326182 - StoredProcedure
parameters gets mixed up
2008-05-29 Veerapuram Varadhan <[email protected]>
* SqlParameterTest.cs (ParameterSize_compatibility_Test) : New
test case for Bug#382635 - truncate parameter values accordingly.
2007-10-19 Nagappan A <[email protected]>
* SqlCommandBuilderTest.cs: Fixed compilation warnings.
2007-07-31 Nagappan A <[email protected]>
* 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 <[email protected]>
* SqlParameterTest.cs (ParameterSizeTest): Fixes Large strings
truncated with SqlClient - Bug # 82170.
2007-07-22 Nagappan A <[email protected]>
* SqlTransactionTest.cs: Added exception handling.
2007-06-11 Nagappan A <[email protected]>
* SqlCommandTest.cs (SqlCommandDisposeTest): Added new test case
to check, the SqlCommand.Dispose, not to dispose SqlConnection and
SqlTransaction instances.
2007-06-07 Nagappan A <[email protected]>
* SqlCommandTest.cs: Fixes compilation warnings.
2007-05-30 Nagappan A <[email protected]>
* SqlCommandTest.cs (StoredProc_NoParameterTest)
(StoredProc_ParameterTest, rpc_helper_function): Added new methods
to test the implementation of TDS RPC.
2007-04-03 Amit Biswas <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* SqlCommandTest.cs: Add OutputParamSizeTest1-4 to test size/value
validation exception.
2007-03-14 Nagappan A <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* SqlCommandTest.cs: Add parameterized stored procedure call tests
to ExecuteScalar and ExecuteNonQuery.
2007-01-08 Nagappan A <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* SqlDataAdapterTest.cs (CreateViewSSPITest): To test create view
of SqlClient.
2006-08-30 Nagappan A <[email protected]>
* SqlConnectionTest.cs: SqlConnection.GetSchema testcases
2006-05-26 Senganal T <[email protected]>
* SqlParameterTest.cs : Test if Parameter Type is inferred correctly
when Value is null or DBNull. Also, if Type is not explicitly set,
test if it is inferred from the value of the parameter evertime the
value is set.
2006-04-18 Senganal T <[email protected]>
* SqlConnectionTest.cs :
- OpenTest_1 : test InvalidOperationException is raised if
ConnectionString is empty
- DisposeTest : test nullreference exception is not raised
2006-04-07 Senganal T <[email protected]>
* SqlDataAdapterTest,cs :
- Added testcase for #78010
2006-04-07 Senganal T <[email protected]>
* SqlCommandBuilderTest.cs :
- Corrected the testcase to check for queries corresponding to
ms.net 2.0
- verify that columns that do not allow nulls are not included
in the null-checks.
- Added testcase to check for DBConcurrencyException for
Delete Command.
- Check the DataType of the null-check parameters
2006-03-08 Senganal T <[email protected]>
* SqlCommandBuilderTest.cs :
- Added testcase to verify UpdateCommand created with AutoIncrement
columns.
2006-02-13 Senganal T <[email protected]>
* SqlAdapterTest.cs : Added testcases for verifying FillError Behavior
2006-02-13 Senganal T <[email protected]>
* SqlAdapterTest.cs : Added testcases for #77480
2006-02-10 Senganal T <[email protected]>
* SqlDataReaderTest.cs : Added more tests to verify Sequential
reading of row data.
2006-02-05 Senganal T <[email protected]>
* SqlParameterTest.cs : New : Testcase for bug #77410
2006-01-17 Senganal T <[email protected]>
* SqlCommandBuilderTest.cs : corrected a failing testcase
2006-01-17 Senganal T <[email protected]>
* SqlCommandBuilderTest.cs : Added testcase for bug #77225
2005-12-03 Senganal T <[email protected]>
* SqlCommandTest.cs : Added testcase for bug #76880
2005-11-23 Senganal T <[email protected]>
* SqlCommandTest.cs : Added testcases for bug #76778
2005-10-27 Senganal T <[email protected]>
* SqlCommandTest.cs : Added Testcase for bug #75698
2005-10-17 Senganal T <[email protected]>
* SqlDataAdapterTest.cs : Added Testcase for bug #76433.
2005-09-24 Sureshkumar T <[email protected]>
* SqlDataAdapterTest.cs (Fill_Test_Exceptions): passing null
dataset name throws ArgumentNullException in ms.net
* SqlConnectionTest.cs: HostName compare: convert to uppercase.
* SqlDataReaderTest.cs: remove Opening connection in few test
cases as it was done in SetUp.
- id type change changes
2005-09-21 Senganal T <[email protected]>
* SqlConnectionTest.cs: removed some hardcoded database names
in DatabasePropertyTest ().
2005-09-16 Senganal T <[email protected]>
* SqlCommandTest.cs: added more testcases for connected mode
* SqlConnectionTest.cs: added more testcases for connected mode
* SqlDataAdapterTest.cs: added more testcases for connected mode
* SqlDataReaderTest.cs: added more testcases for connected mode
2005-09-01 Sureshkumar T <[email protected]>
* SqlCommandBuilderTest.cs: added tests for SqlCommandBuilder
* SqlCommandTest.cs: pulled from Test/System.Data.SqlClient
* SqlConnectionStringBuilderTest.cs: pulled from Test/System.Data.SqlClient
* SqlConnectionTest.cs: pulled from Test/System.Data.SqlClient
* SqlDataAdapterTest.cs: pulled from Test/System.Data.SqlClient
* SqlDataReaderTest.cs: pulled from Test/System.Data.SqlClient
* SqlTransactionTest.cs: pulled from Test/System.Data.SqlClient
Added attribute Category ("sqlserver") to all these test fixtures.