Files
mono/mcs/class/System.Data/Test/System.Data.Common/ChangeLog
T
Gert Driesen 3930b4b9cf * System.Data_test.dll.sources: Added DbDataAdapterTest.cs,
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
2007-10-20 23:16:52 +00:00

114 lines
3.9 KiB
Plaintext

2007-10-20 Gert Driesen <[email protected]>
* DbDataAdapterTest.cs: Added test for UpdateBatchSize.
* DataAdapterTest.cs: Added tests for AcceptChangesDuringFile,
AcceptChangesDuringUpdate, ContinueUpdateOnError, FillLoadOption,
MissingMappingAction, MissingSchemaAction and
ReturnProviderSpecificTypes.
2007-10-19 Gert Driesen <[email protected]>
* DbTransactionTest.cs: Enabled test for bug #325397.
2007-10-16 Gert Driesen <[email protected]>
* DbTransactionTest.cs: Added test for bug #325397.
2007-03-03 Gert Driesen <[email protected]>
* DbProviderFactoriesConfigurationHandlerTest.cs: Changed test to also
verify behavior for clear and remove nodes.
2007-03-03 Gert Driesen <[email protected]>
* DbProviderFactoriesConfigurationHandlerTest.cs: Fixed tests to
pass on MS. Added NotWorking test to check whether DbProviderFactories
that are defined on machine config are available.
2007-02-19 Atsushi Enomoto <[email protected]>
* DbProviderFactoriesConfigurationHandlerTest.cs : test for #80894.
2006-07-13 Senganal T <[email protected]>
* DBDataPermissionTest.cs : Removed invalid tests
2006-03-19 Boris Kirzner <[email protected]>
* DataColumnMappingCollectionTest.cs, DataTableMappingCollectionTest.cs,
DBDataPermissionAttributeTest.cs: ifdef code that is not supposed
to work in TARGET_JVM by now.
2006-02-18 Raja R Harinath <[email protected]>
* DbConnectionStringBuilderTest.cs
(ICollectionCopyToTest, NegICollectionCopyToTest): Enable.
(IDictionaryCopyToTest, NegIDictionaryCopyToTest): Delete.
2005-09-22 Sebastien Pouliot <[email protected]>
* DBDataPermissionAttributeTest.cs: Removed *Choice security actions.
2005-04-04 Sureshkumar T <[email protected]>
* DbConnectionStringBuilderTest.cs: few more tests ignored for now
because of gmcs incompatiability with csc. generic types are not
being able to be assigned to non-generic types though implements
non-generic interface.
2005-02-22 Sureshkumar T <[email protected]>
* ConnectionStringsSectionTest.cs: Added file. Tests for
System.Configuration.ConnectionStringsSection class. This is used
for managing connection strings information for provider factory.
2005-02-22 Sureshkumar T <[email protected]>
* DbProviderFactoriesConfigurationHandlerTest.cs: Tests for
DbProviderFactoriesConfigurationHandler class.
2005-01-14 Atsushi Enomoto <[email protected]>
* DBDataPermissionTest.cs, DBDataPermissionAttributeTest.cs:
Fixed some incompatible type of exception between 2.0 and 1.1.
2005-01-14 Atsushi Enomoto <[email protected]>
* DataTableMappingCollectionTest.cs,
DataColumnMappingCollectionTests.cs : Equals() and Remove() contains
invalid attempt to add one map to two collections, which is rejected
under MS.NET 1.1 sp1.
2004-11-22 Sureshkumar T <[email protected]>
* DbConnectionStringBuilderTest.cs: Test cases for
DbConnectionStringBuilder class. These are independant tests.
2004-09-14 Sebastien Pouliot <[email protected]>
* DBDataPermissionTest.cs: New. Unit tests for DBDataPermission.
2004-09-13 Sebastien Pouliot <[email protected]>
* DBDataPermissionAttributeTest.cs: New. Unit tests for DBData
PermissionAttribute.
2004-08-13 Umadevi S <[email protected]>
* Added File DataContainerTest
2004-06-10 Umadevi S <[email protected]>
* Corrected GetTableMappingBySchemaAction for DataTableMappingCollectionTest
2004-06-09 Umadevi S <[email protected]>
* Correct Add, InserAt testcases for DataTableMappingCollection
2004-06-09 Umadevi S <[email protected]>
* Corrected Remove method testcase for DataColumnMappingCollection
2004-06-08 Umadevi S <[email protected]>
* Corrected the contains testcase to test for invalidcastexception for DataColumnMappingCollection
2004-05-27 Umadevi S <[email protected]>
* Added Classes DataColumnMappingCollectionTest and DataTableMappingCollectionTest