mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
OdbcCommandTest.cs, OdbcConnectionTest.cs, OdbcDataAdapterTest.cs, OleDbCommandTest.cs, OleDbConnectionTest.cs, OleDbDataAdapterTest.cs, SqlDataAdapterTest.cs. * DbDataAdapter.cs: Implemented UpdateBatchSize setter. * DataAdapter.cs: In FillLoadOption setter, ensure value is valid. Modified MissingMappingAction and MissingSchemaAction setters to use ExceptionHelper.CheckEnumValue to validate value. Spaces to tabs and code formatting. * ExceptionHelper.cs: Added CheckEnumValue method and modified InvalidEnumValueException method to return AORE on 2.0 profile. Added ConnectionClosed method that returns an InvalidOperationException. * OleDbDataAdapter.cs: In default ctor, set SelectCommand to null. Only initialize SelectCommand in ctors. Use direct assignment in IDbDataAdapter implementation. * OleDbCommand.cs: Added constant for default CommandTimeout, instead of using a magic number. Avoid unnecessary initialization. Fixed default value for DesignTimeVisible. Return zero-length string if CommandText is null. Added implementation for UpdatedRowSource. * OleDbConnection.cs: Moved initialization of gda to Open (). Avoid unnecessary initialization. Return zero-length string if ConnectionString is null. If getters to Database, DataSource and Provider return zero-length string if the connection is closed. In ServerVersion, BeginTransaction and GetSchema, throw an InvalidOperationException if connection is closed. * OdbcCommand.cs: Added constant for default CommandTimeout, instead of using a magic number. Avoid unnecessary initialization. Fixed default value for DesignTimeVisible. Return zero-length string if CommandText is null. Spaces to tabs and code formatting. * OdbcError.cs: Fixed typo in exception message. * OdbcConnection.cs: Return zero-length string if ConnectionString is null. In getters for Database, DataSource and Driver return a zero-length string if connection is closed. In BeginTransaction and GetSchema throw InvalidOperationException if connection is closed. Added override for GetSchema (string, string []). Use string.Empty instead of "". * OdbcDataAdapter.cs: Avoid unnecessary initializations. Use direct assignment in IDbDataAdapter implementation. In default ctor, set SelectCommand to null. * SqlCommand.cs: Added constant for default CommandTimeout, instead of using a magic number. Avoid unnecessary initialization. Fixed default value for DesignTimeVisible. Return zero-length string if CommandText is null. Use ExceptionHelper.InvalidEnumValueException to avoid code duplication. Spaces to tabs and code formatting. * SqlConnection.cs: Use different default package size on 2.0 profile. Added constants for default values, instead of using magic numbers. Avoid unnecessary initialization. In PacketSize, return default or configured packet size when connection is not open. Use ExceptionHelper.ConnectionClosed instead of local method. Removed use of some hardcoded values in SetDefaultConnectionParameters, and use Environment.MachineName as default WorkstationId instead of DNS host name. Code formatting. * SqlDataAdapter.cs: In default ctor, set SelectCommand to null. Avoid unnecessary initializations. Use direct assignment in IDbDataAdapter implementation. Fixed exception message for negative UpdateBatchSize. In Dispose override, make sure to invoke base method. * DbDataAdapterTest.cs: Added test for UpdateBatchSize. * DataAdapterTest.cs: Added tests for AcceptChangesDuringFile, AcceptChangesDuringUpdate, ContinueUpdateOnError, FillLoadOption, MissingMappingAction, MissingSchemaAction and ReturnProviderSpecificTypes. * OdbcDataAdapterTest.cs: Added tests for ctors, DeleteCommand, InsertCommand, SelectCommand, UpdateCommand and Dispose. * OdbcDataReaderTest.cs: fixed line endings. * OdbcCommandTest.cs: Added tests for ctors and CommantText. * OdbcConnectionTest.cs: Removed original test that relied on MySQL. Added ctor tests. Added tests for BeginTransaction, GetSchema and ServerVersion with connection that is closed. * OleDbDataAdapterTest.cs: Added tests for ctors, DeleteCommand, InsertCommand, SelectCommand, UpdateCommand and Dispose. * OleDbCommandTest.cs: Added tests for ctors and CommandText. * OleDbConnectionTest.cs: Added tests for ctors and ConnectionString. Added tests for BeginTransaction, GetSchema and ServerVersion with connection that is closed. * SqlCommandTest.cs: Added tests for ctors and CommantText. * SqlConnectionTest.cs: Added tests for ctors, ConnectionString and ServerVersion. * SqlDataAdapterTest.cs: Added tests for ctors, DeleteCommand, InsertCommand, SelectCommand, UpdateCommand, UpdateBatchSize and Dispose. svn path=/trunk/mcs/; revision=87859
94 lines
3.0 KiB
Plaintext
94 lines
3.0 KiB
Plaintext
2007-10-21 Gert Driesen <[email protected]>
|
|
|
|
* SqlCommandTest.cs: Added tests for ctors and CommantText.
|
|
* SqlConnectionTest.cs: Added tests for ctors, ConnectionString and
|
|
ServerVersion.
|
|
* SqlDataAdapterTest.cs: Added tests for ctors, DeleteCommand,
|
|
InsertCommand, SelectCommand, UpdateCommand, UpdateBatchSize and
|
|
Dispose.
|
|
|
|
2007-10-18 Gert Driesen <[email protected]>
|
|
|
|
* SqlConnectionTest.cs: Added tests for BeginTransaction and GetSchema
|
|
when connection is closed.
|
|
|
|
2007-05-29 Gert Driesen <[email protected]>
|
|
|
|
* SqlCommandTest.cs: Added test for bug #81710.
|
|
|
|
2005-09-22 Sebastien Pouliot <[email protected]>
|
|
|
|
* SqlClientPermissionAttributeTest.cs: Removed *Choice security
|
|
actions.
|
|
|
|
2005-09-22 Sureshkumar T <[email protected]>
|
|
|
|
* SqlConnectionTest.cs (OtherConnectionStringKeywords): marked
|
|
Persist security info keyword as not implmented.
|
|
|
|
2005-09-01 Sureshkumar T <[email protected]>
|
|
|
|
* SqlDataReaderTest.cs: moved to ProviderTests and integrated with
|
|
connected mode tests
|
|
* SqlCommandTest.cs: -- do --
|
|
* SqlConnectionTest.cs: -- do --
|
|
* SqlTransactionTest.cs: -- do --
|
|
* SqlDataAdapterTest.cs: -- do --
|
|
|
|
2005-06-23 Sureshkumar T <[email protected]>
|
|
|
|
* SqlConnectionStringBuilderTest.cs: Added few more tests.
|
|
|
|
2005-06-21 Sureshkumar T <[email protected]>
|
|
|
|
* SqlConnectionStringBuilderTest.cs: Added some preliminary tests.
|
|
|
|
2005-05-20 Kornél Pál <http://www.kornelpal.hu/>
|
|
|
|
* SqlDataReaderTest.cs: Corrected and extended bigint test
|
|
|
|
2005-01-14 Atsushi Enomoto <[email protected]>
|
|
|
|
* SqlClientPermissionTest.cs, SqlClientPermissionAttributeTest.cs:
|
|
Fixed some incompatible type of exception between 2.0 and 1.1.
|
|
|
|
2004-11-01 Gert Driesen <[email protected]>
|
|
* SqlCommandTest.cs: Added testcase for bug #66630.
|
|
|
|
2004-10-30 Umadevi S <[email protected]>
|
|
* SqlDataAdapterTest.cs - Added testcase for nullguid
|
|
|
|
2004-10-15 Umadevi S <[email protected]>
|
|
* SqlDataReaderTest.cs: Added testcase for reading emptyntextfield
|
|
|
|
2004-10-14 Umadevi S <[email protected]>
|
|
* SqlCommandTest.cs - added Test for clone method
|
|
|
|
2004-09-24 Umadevi S <[email protected]>
|
|
* SqlTransactionTest.cs -new file .unit testing for SqlTransaction
|
|
|
|
2004-09-15 Sebastien Pouliot <[email protected]>
|
|
|
|
* SqlClientPermissionTest.cs: New. Unit tests for SqlClientPermission.
|
|
|
|
2004-09-13 Sebastien Pouliot <[email protected]>
|
|
|
|
* SqlClientPermissionAttributeTest.cs: New. Unit tests for SqlClient
|
|
PermissionAttribute.
|
|
|
|
2004-09-02 Umadevi S <[email protected]>
|
|
* SqlCommandTest.cs - added file. Testing ExecuteNonQuery
|
|
|
|
2004-09-02 Umadevi S <[email protected]>
|
|
* SqlDataReaderTest.cs - added file
|
|
|
|
2004-08-20 Umadevi S <[email protected]>
|
|
* Added testcase in SqlDataAdapter.cs for Fillschema
|
|
|
|
2004-08-19 Gert Driesen <[email protected]>
|
|
* SqlConnectionTest.cs: Added testcases for bug #63165.
|
|
|
|
2004-08-19 Umadevi S <[email protected]>
|
|
* Added file SqlDataAdapterTest.cs - to test update method on a
|
|
datatable
|