Commit Graph
19 Commits
Author SHA1 Message Date
Gert Driesen 3af3766d03 * app-net_1.1.config: added engine config for SQL Server 7.0. Fixed
values of clientVersion.
* app-net_2.0.config: added engine config for SQL Server 7.0. Fixed
values of clientVersion.

svn path=/trunk/mcs/; revision=139238
2009-08-01 12:01:37 +00:00
Veerapuram Varadhan 4dcf2b98a9 Nunit 2.4 changes and other sqlserver config fixes
svn path=/trunk/mcs/; revision=134258
2009-05-16 01:16:20 +00:00
Gert Driesen d401e17752 * app-net_1.1.config: Added ClientVersion to Engine section. Added
SQL Server 2000 config.
* app-net_2.0.config: Spaces to tabs.

svn path=/trunk/mcs/; revision=129380
2009-03-15 13:32:32 +00:00
Veerapuram Varadhan b814b2bb89 TDS 8 Changes
svn path=/trunk/mcs/; revision=125324
2009-02-02 09:26:36 +00:00
Gert Driesen 25c01a2252 * app-default.config: Renamed to app-net_1_1.config, and added
providerTests section.
* app-net_2.0.config: Added providerTests section and removed
mono.data section.
* Makefile: Added support for CONNECTION variable and corresponding
PROVIDER_TESTS_CONNECTION environment variable. Always rebuild test
assembly since we have no dependency check for sources in place.
Only add reference to Mono.Data on 1.1 profile. Added reference to
System.Configuration on 2.0 profile.
* sqlserver.config: Merged into app-*.config.
* odbc.config: Merged into app-*.config.
* System.Data.Connected.Tests.dll.sources: Added ConnectionConfig.cs,
EngineConfig.cs, EngineType.cs, ProviderTestsConfigurationHandler.cs
and DbDataReaderTest.cs. Removed OdbcConnectionStringBuilderTest.cs.
* ConnectionConfig.cs:  Holds information on a specific connection and
corresponding engine to test.
* EngineConfig.cs: Holds information on the capabilities and behavior
of an RDBMS engine.
* EngineType.cs: Defines different database engines supported by the
provider tests.
* ConnectionManager.cs: Use DbProviderFactory and DbConnection
on 2.0 profile. Added support for new Connection/Engine configuration.
* ProviderTestsConfigurationHandler.cs: IConfigurationSectionHandler
for the ProviderTests section.
* DataReaderTest.cs: Added tests that were previously part of
SqlClient tests but apply to all families. Improved existing
tests.
* DbDataReaderTest.cs: Added GetProviderSpecificValues error check
 tests.
* IDbCommandTest.cs: Added ExecuteNonQuery tests for empty CommandText.
Added test for bug #462947.
* OdbcCommandBuilderTest.cs: Improved GetDeleteCommand,
GetInsertCommand and GetUpdateCommand tests. Added QuotePrefix,
QuoteSuffix and QuoteIdentifier tests.
* OdbcCommandTest.cs: Improved existing tests. Added
ExecuteNonQuery and Dispose tests.
* OdbcConnectionStringBuilderTest.cs: Moved to System.Data
test suite.
* OdbcDataAdapterTest.cs: Removed extra whitespace.
* OdbcDataReaderTest.cs: Added GetBytes and GetSchemaTable
tests.
* OdbcParameterCollectionTest.cs: Improve existing tests.
* OdbcParameterTest.cs: Added tests for several data types.
* 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.
* MySQL_5.sql: Added numeric and decimal colums with different
precision and scale. Added more rows to binary_family. Added
nchar and nvarchar columns to string_family, and added extra
data. Added time and date columns to datetime_family.
* sqlserver.sql: Added numeric and decimal colums with different
precision and scale. Added timestamp column and more rows to
binary_family. Added nchar and nvarchar columns to string_family,
and added extra data. Added sp_326182 stored procedure.
* sybase.sql: Added more rows to binary_family.

svn path=/trunk/mcs/; revision=122297
2008-12-31 15:35:07 +00:00
Nagappan Alagappan 5d639faa6a 2007-06-21 Nagappan A <[email protected]>
* System.Data.Connected.Tests.dll.sources: Added
	System.Data.Odbc/OdbcConnectionStringBuilderTest.cs.


svn path=/trunk/mcs/; revision=80464
2007-06-21 13:06:51 +00:00
Nagappan Alagappan b845ad69c9 2006-12-05 Nagappan A <[email protected]>
* OdbcConnectionStringBuilderTest.cs, OdbcInfoMessageEventArgsTest.cs,
	  OdbcMetaDataCollectionNamesTest.cs, OdbcMetaDataColumnNamesTest.cs:
	  Removed files under System.Data.Odbc directory.


svn path=/trunk/mcs/; revision=73246
2007-02-21 11:20:59 +00:00
Nagappan Alagappan cd133819d1 2007-02-21 Nagappan A <[email protected]>
* System.Data.Connected.Tests.dll.sources: Added
	System.Data.Odbc/OdbcConnectionStringBuilderTest.cs,
	System.Data.Odbc/OdbcInfoMessageEventArgsTest.cs,
	System.Data.Odbc/OdbcMetaDataCollectionNamesTest.cs,
	System.Data.Odbc/OdbcMetaDataColumnNamesTest.cs.


svn path=/trunk/mcs/; revision=73238
2007-02-21 09:26:13 +00:00
Nagappan Alagappan 369a8174d1 2006-12-05 Nagappan A <[email protected]>
* Makefile: Modified to work with 2.0 profile.


svn path=/trunk/mcs/; revision=69821
2006-12-20 17:22:36 +00:00
Nagappan Alagappan 27fbd0ccd5 2006-12-05 Nagappan A <[email protected]>
* sqlserver.config: Added SSPIConnString key, value pair to test
	SSPI based connection with SqlClient.


svn path=/trunk/mcs/; revision=69018
2006-12-05 10:02:19 +00:00
Boris Kirzner 7ab60b4dd6 Fixes for net_2_0 tests run.
svn path=/trunk/mcs/; revision=65533
2006-09-17 11:49:00 +00:00
Boris Kirzner a71dec2fd6 Fixes for TARGET_JVM tests.
svn path=/trunk/mcs/; revision=65287
2006-09-12 09:43:56 +00:00
Boris Kirzner 0ec383c797 Added SqlClient automated tests for TARGET_JVM
svn path=/trunk/mcs/; revision=58074
2006-03-16 18:17:07 +00:00
Boris Kirzner 09c093f910 Added automated testing support for TARGET_JVM.
svn path=/trunk/mcs/; revision=57865
2006-03-12 15:06:26 +00:00
Senganal T 421a275d09 2006-01-17 Senganal T <[email protected]>
* Test/ProviderTests/sqlserver.config : Modified the default login and password to 'monotester'

	* Test/ProviderTests/System.Data.SqlClient/SqlCommandBuilderTest.cs : Added testcase for bug #77225

	* System.Data.SqlClient/SqlCommandBuilder.cs
		- Modified CreateNewCommand () : Clean up any existing parameter list
		before reusing the command.Fixes #77225


svn path=/trunk/mcs/; revision=55668
2006-01-17 09:07:43 +00:00
Kornél Pál e36848f82d Updated runtime version to v2.0.50727 (2.0 RTM). Use Consts.MonoVersion, Consts.FxFileVersion and Consts.VsFileVersion in assembly attributes. Use Consts.RuntimeVersion as Environment.Version that makes maintenance easier.
svn path=/trunk/mcs/; revision=52607
2005-11-05 10:50:01 +00:00
Senganal T e520ee3e0a 2005-09-16 Senganal T <[email protected]>
* System.Data.Connected.Tests.dll.sources: added more source files 
	* sql/sqlserver.sql: modified. added string_family, datetime_family,
	  modified numeric_family values.
	  created new database mono-test for checking -.
	* Common/DataProvider.cs : Provides data for validation
	  DataProvider provides the data that is used for
	  validating Sq[DataReader. Currently it uses a dataset
	  to fill data from the database. Will be modified later to
	  get the values from a config file.
	* System.Data.SqlClient/SqlCommandTest.cs: added more testcases 
	  for connected mode
	* System.Data.SqlClient/SqlConnectionTest.cs: added more testcases
	  for connected mode
	* System.Data.SqlClient/SqlDataAdapterTest.cs: added more testcases 
	  for connected mode
	* System.Data.SqlClient/SqlDataReaderTest.cs: added more testcases 
	  for connected mode


svn path=/trunk/mcs/; revision=50153
2005-09-16 15:51:44 +00:00
Sureshkumar T 3435f767fe 2005-09-13 Sureshkumar T <[email protected]>
* sql/sybase.sql: added. script file to create test database on
	sybase.
	* Makefile: Added reference to Sybase db.


svn path=/trunk/mcs/; revision=49966
2005-09-13 13:50: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