mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -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.3 KiB
Plaintext
94 lines
3.3 KiB
Plaintext
2007-10-21 Gert Driesen <[email protected]>
|
|
|
|
* 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.
|
|
|
|
2007-06-08 Nagappan A <[email protected]>
|
|
|
|
* OdbcParameterTest.cs (OdbcTypeTest): The default data type of
|
|
OdbcParameter is changed to NVarChar.
|
|
|
|
2005-10-08 Sureshkumar T <[email protected]>
|
|
|
|
* OdbcParameterTest.cs (OdbcTypeTest): Disconnected Tests for
|
|
OdbcParameter class.
|
|
|
|
2005-09-22 Sebastien Pouliot <[email protected]>
|
|
|
|
* OdbcPermissionAttributeTest.cs: Removed *Choice security actions.
|
|
|
|
2005-09-01 Sureshkumar T <[email protected]>
|
|
|
|
* OdbcDataAdapterTest.cs: moved to ProviderTests and integrated
|
|
with connected more framework.
|
|
* OdbcCommandTest.cs: -- do --.
|
|
|
|
* OdbcParameterCollectionTest.cs: Removed ParameterLengthTrimTest
|
|
to ProviderTests.
|
|
|
|
2005-02-15 Sureshkumar T <[email protected]>
|
|
|
|
* OdbcParameterCollectionTest.cs: fix for namespace collision
|
|
MonoTests.System & corlib System.
|
|
* OdbcDataReaderTest.cs: --do--
|
|
|
|
2005-01-14 Atsushi Enomoto <[email protected]>
|
|
|
|
* OdbcPermissionTest.cs, OdbcPermissionAttributeTest.cs:
|
|
Fixed some incompatible type of exception between 2.0 and 1.1.
|
|
|
|
2004-11-26 Sureshkumar T <[email protected]>
|
|
|
|
* OdbcParameterCollectionTest.cs: New file for testing
|
|
OdbcParameterCollection's Add method.
|
|
|
|
2004-09-15 Sebastien Pouliot <[email protected]>
|
|
|
|
* OdbcPermissionTest.cs: New. Unit tests for OdbcPermission.
|
|
|
|
2004-09-13 Sebastien Pouliot <[email protected]>
|
|
|
|
* OdbcPermissionAttributeTest.cs: New. Unit tests for OdbcPermission
|
|
Attribute.
|
|
|
|
2004-08-31 Umadevi S <[email protected]>
|
|
* OdbcDataReaderTest.cs - Added a test for Numeric Type
|
|
|
|
2004-08-27 Sureshkumar T <[email protected]>
|
|
* OdbcDataReader.cs - Added a test for TinyInt
|
|
|
|
2004-08-26 Sureshkumar T <[email protected]>
|
|
* OdbcDataReaderTest.cs - Added a test for DateTime - GetDateTimeTest
|
|
* OdbcCommandTest.cs - Syntax Error Fix
|
|
|
|
2004-07-29 Umadevi S <[email protected]>
|
|
* OdbcCommandTest.cs - Added testcase for bug 62046. ExecuteNonQuery
|
|
|
|
|
|
2004-07-28 Umadevi S <[email protected]>
|
|
* OdbcCommandTest.cs - Added testcase for bug 61968. String values passed with quotes
|
|
|
|
|
|
2004-07-01 Sureshkumar T <[email protected]>
|
|
* Added test case for OdbcCommand.ExecuteScalar Method
|
|
* New files:
|
|
OdbcCommandTest.cs - test suite for OdbcCommand class.
|
|
|
|
2004-06-23 Sureshkumar T <[email protected]>
|
|
* Added test to check whether the OdbcConnection.Close method closes
|
|
all the handles.
|
|
* New files:
|
|
OdbcConnectionTest.cs - test suite for OdbcConnection class.
|
|
|
|
2004-06-16 Sureshkumar T <[email protected]>
|
|
* Added Odbc tests using MySql test database
|
|
* New files:
|
|
ChangeLog
|
|
OdbcDataReaderTest.cs - test suite for OdbcDataReader class.
|
|
OdbcDataAdapterTest.cs - test suite for OdbcDataAdapter class.
|