Commit Graph
2 Commits
Author SHA1 Message Date
Nagappan Alagappan 2ea5f59a13 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.


svn path=/trunk/mcs/; revision=75190
2007-03-30 12:44:22 +00:00
Sureshkumar T cce8383f1e added a new framework for testing data providers using nunit and mono.data's provider
factory. Moved few stand-alone tests from Test/ to this framework.

In Test:
2005-09-01  Sureshkumar T  <[email protected]>

	* ProviderTests: Added a new framework for testing Data
	Providers. This framework is based on nunit category tests and
	also the provider factory provided by Mono.Data.

In Test/System.Data.SqlClient:
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 --

In Test/System.Data.Odbc:
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.

In Test/ProviderTests/sql:
2005-09-01  Sureshkumar T  <[email protected]>

	* SCHEMA: schema specification.

	* sqlserver.sql: sql script file to create test schema for mssql
	database. added.

	* mysql.sql: sql script file to create test schema for mysql
	database. added.

In Test/ProviderTests/System.Data.Odbc:
2005-09-01  Sureshkumar T  <[email protected]>

	* OdbcCommandBuilderTest.cs: Added tests for OdbcCommandBuilder.cs
	* OdbcCommandTest.cs: pulled from Test/System.Data.Odbc
	* OdbcDataAdapterTest.cs: pulled from Test/System.Data.Odbc
	* OdbcDataReaderTest.cs: pulled from Test/System.Data.Odbc
	* OdbcParameterCollectionTest.cs: pulled from Test/System.Data.Odbc

In Test/ProviderTests/ProviderIndependant:
2005-09-01  Sureshkumar T  <[email protected]>

	* IDbCommandTest.cs: Added. Provider independent Command tests.

	* DataReaderTest.cs: Added. Provider independent DataReader tests.

In Test/ProviderTests:
2005-09-01  Sureshkumar T  <[email protected]>

	* System.Data.Connected.Tests.dll.sources: source files.

	* app-default.config:
	* app-net_2_0.config:
	configuration files for profiles and lists the assembly
	informations for the Provider factory.

	* odbc.config:
	* sqlserver.config:
	connection string info for respective databases.

	* README: initial.

	pulled connected mode test-cases around Test/* directory into this
	new framework. This framework is based on nunit category based
	test-cases and uses Provider Factories provided in Mono.Data.dll
	to write provider independent code.

In Test/ProviderTests/Common:
2005-09-01  Sureshkumar T  <[email protected]>

	* DBHelper.cs: Added. Class to provide helper methods for other tests.

	* ConnectionManager.cs: Added. Class to manage connections

In Test/ProviderTests/System.Data.SqlClient:
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.



svn path=/trunk/mcs/; revision=49260
2005-09-01 11:50:04 +00:00