Commit Graph
45 Commits
Author SHA1 Message Date
Gert Driesen 45e8c741c0 * SqlCommandTest.cs: Added test for bug #81710.
* System.Data_test.dll.sources: Added SqlCommandTest.cs.

svn path=/trunk/mcs/; revision=78147
2007-05-29 18:01:40 +00:00
Nagappan Alagappan 627b7bd7b5 2007-02-23 Nagappan A <[email protected]>
* System.Data_test.dll.sources: Added
	System.Data/TrailingSpaceTest.cs test for bug # 79695.


svn path=/trunk/mcs/; revision=73355
2007-02-23 07:01:06 +00:00
Nagappan Alagappan 898d14145e 2007-02-23 Nagappan A <[email protected]>
* System.Data_test.dll.sources: Added
	System.Data/XmlDataLoaderTest.cs, System.Data/XmlDataReaderTest.cs
	tests for bug # 80596.


svn path=/trunk/mcs/; revision=73348
2007-02-23 06:34:23 +00:00
Nagappan Alagappan ac33707158 2007-02-21 Nagappan A <[email protected]>
* System.Data_test.dll.sources: Added
	System.Data.OleDb/OleDbParameterCollectionTest.cs

	* System.Data.dll.sources: Added
	System.Data.Odbc/OdbcConnectionStringBuilder.cs,
	System.Data.Odbc/OdbcMetaDataCollectionNames.cs,
	System.Data.Odbc/OdbcMetaDataColumnNames.cs


svn path=/trunk/mcs/; revision=73239
2007-02-21 09:26:46 +00:00
Nagappan Alagappan b47ef8c3f1 2007-02-09 Nagappan A <[email protected]>
* System.Data_test.dll.sources: Added
	System.Data.SqlTypes/SqlBytesTest.cs,
	System.Data.SqlTypes/SqlCharsTest.cs.

	* System.Data.dll.sources: Removed
	System.Data.SqlTypes/SqlDate.cs, System.Data.SqlTypes/SqlTime.cs,
	System.Data.SqlTypes/SqlUtcDateTime.cs,
	System.Data.SqlTypes/SqlXmlReader.cs as they are not part of 2.0
	profile.


svn path=/trunk/mcs/; revision=72541
2007-02-09 13:54:45 +00:00
Miguel de Icaza cf3eed8712 2006-12-11 Miguel de Icaza <[email protected]>
* DataAdapter.cs: Removed TODO, NotSupportedException was the
	correct implementation. 


svn path=/trunk/mcs/; revision=69344
2006-12-11 18:26:48 +00:00
Nagappan Alagappan fe5e263fe0 2006-12-07 Nagappan A <[email protected]>
* System.Data_test.dll.sources: Added
	Mono.Data.SqlExpressions/DataColumnExpressionTest.cs,
	System.Data/DataTableTest3.cs, System.Data/DataTableTest4.cs


svn path=/trunk/mcs/; revision=69172
2006-12-07 11:38:27 +00:00
Nagappan Alagappan c9a0c8cfef 2006-11-21 Nagappan A <[email protected]>
* BinarySerializationTest.cs: Added tests to verify binary serialization and deserialization.


svn path=/trunk/mcs/; revision=68238
2006-11-21 05:26:37 +00:00
Hagit Yidov d46206388c DataTableReadXmlSchemaTest.cs new file.
ChangeLog, Test/System.Data/ChangeLog, System.Data_test.dll.sources

svn path=/trunk/mcs/; revision=66915
2006-10-24 10:19:53 +00:00
Nagappan Alagappan c098ba22f0 2006-10-06 Patrick Earl <[email protected]>
* DataTableReadWriteXml.cs: Patricks work on DataTable WriteXml work.


svn path=/trunk/mcs/; revision=66832
2006-10-20 15:21:16 +00:00
Senganal T ee861e25e7 2006-07-17 Senganal T <[email protected]>
* Test/System.Data/DataViewTest2.cs :
		- Tests for ToTable overloads
		- Test for Equals method
		- Tests to check for the Sort, RowFilter values when
		DataView is created and when Table is set.
	* Test/System.Data/DataViewTest_IBindingList.cs :
		- Ensure tests do not depend on the order of
		execution.
	* Test/System.Data/DataViewTest_IBindingListView.cs : New
		- Tests for IBindingListView interface methods
	* System.Data.Common/Index.cs :
		- GetAllRows : Added. Returns all the rows in the current
		index.
		- GetDistinctRows :Added. Returns all the distinct rows (based
		in Key Columns) in the index.
	* System.Data.dll.sources:
		- Added to build :
			Test/System.Data/DataViewTest_IBindingListView.cs
	* System.Data/DataView.cs :
		- ToTable : Implemented all the overloads
		- Equals : Implemented 
		- IBindingListView : Implemented the interface


svn path=/trunk/mcs/; revision=62669
2006-07-17 11:58:10 +00:00
Boris Kirzner 6f68de6cab Added a bulk of tests from Mainsoft repository.
svn path=/trunk/mcs/; revision=54952
2006-01-02 12:45:40 +00:00
Sureshkumar T 51c8bec7ba In Test/System.Data:
2005-10-11  Sureshkumar T  <[email protected]>

	* DataViewTest_IBindingList.cs: Added test cases for IBindingList
	implementation by DataView. This is used by DataGrid control.

In System.Data:
2005-10-11  Sureshkumar T  <[email protected]>

	* DataView.cs (IBindingList): Implemented methods for IBindingList interface.


svn path=/trunk/mcs/; revision=51574
2005-10-11 14:16:15 +00:00
Sureshkumar T 7e8897e50b 2005-10-08 Sureshkumar T <[email protected]>
* System.Data.dll.sources: added
	System.Data.Odbc/NativeBuffer.cs. native buffer pointer.

In System.Data.Odbc:

	* OdbcParameter.cs: re-implemented the native buffer handling and
	odbc type handling.

	* OdbcCommand.cs (BindParameters): Copy the parameter Value after
	binding.

	* NativeBuffer.cs: A native buffer class to hold pointer to native
	memory.

	* OdbcTypeMap.cs (OdbcTypeMap): structure to hold different odbc
	types and the default mapping.

	* OdbcTypeConverter.cs: Simplified mapping between different odbc
	types using switch-case.

	* libodbc.cs (SQLBindParameter): use only one entry point and use
	IntPtr instead of ref.


svn path=/trunk/mcs/; revision=51463
2005-10-08 10:08:20 +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
Eyal Alalouf 93ff7f8cb5 Removed use of obsolete System.Data.Tests.Mainsoft/GHTUtils.
svn path=/trunk/mcs/; revision=47233
2005-07-12 16:29:59 +00:00
Eyal Alalouf 2421a0e164 Standardized Mainsoft System.Data exception tests.
svn path=/trunk/mcs/; revision=47232
2005-07-12 16:24:57 +00:00
Eyal Alalouf d45ec7683b Standardized Mainsoft System.Data tests except exception tests.
svn path=/trunk/mcs/; revision=47225
2005-07-12 15:18:24 +00:00
Eyal Alalouf 508f774bd0 Standardized Mainsoft DataRelationCollection tests.
svn path=/trunk/mcs/; revision=47213
2005-07-12 14:17:22 +00:00
Eyal Alalouf ce139d2a11 Standardized Mainsoft DataColumn tests.
svn path=/trunk/mcs/; revision=47212
2005-07-12 14:10:01 +00:00
Eyal Alalouf a7b41264c7 Standardized Mainsoft DataColumnCollection tests.
svn path=/trunk/mcs/; revision=46774
2005-06-30 17:18:46 +00:00
Eyal Alalouf ea01bb6eb4 Simplified DataSetTests from Mainsoft
svn path=/trunk/mcs/; revision=46567
2005-06-27 16:07:10 +00:00
Sureshkumar T 6809aa66f4 2005-06-21 Sureshkumar T <[email protected]>
* System.Data.Common/DbConnectionStringBuilder.cs: Implemented method for parsing
	  connection string through "ConnectionString" property.
	* System.Data.Common/DbConnectionStringBuilderHelper.cs: Helper class to provide
	  conversion between string=>.net type mapping for connection string
	  builders. The idea is to use between other providers (odbc) as well.
	* System.Data.SqlClient/SqlConnectionStringBuilder.cs: Connection String Builder class
	  for SqlClient Data Provider.
	* Test/System.Data.SqlClient/SqlConnectionStringBuilderTest.cs: Added some preliminary tests.
	* System.Data.dll.sources: Added SqlConnectionStringBuilder.cs and DbConnectionStringBuilderHelper.cs
	* System.Data_test.dll.sources: Added SqlConnectionStringBuilderTest.cs


svn path=/trunk/mcs/; revision=46289
2005-06-21 09:56:41 +00:00
Boris Kirzner 7be4ff7ca4 DataRow.cs : SetParentRow on Detached row with no Default version throws an exception. Added RowNotInTableException_Generate.cs test
svn path=/trunk/mcs/; revision=45260
2005-05-31 12:01:30 +00:00
Eyal Alalouf a6bce082e4 Standardized Mainsoft ConstraintCollection tests.
svn path=/trunk/mcs/; revision=45156
2005-05-29 10:35:17 +00:00
Konstantin Triger 3bc02667b8 Including Mainsoft tests
svn path=/trunk/mcs/; revision=44570
2005-05-16 16:11:07 +00:00
Sureshkumar T 795c6d2a23 2005-04-27 Sureshkumar T <[email protected]>
* System.Data/DataTableReader.cs: Implemented most of the TODO.
	* Test/System.Data/DataTableReaderTest.cs: Added Tests for DataTableReader class.
	* System.Data.Common/DbDataReader.cs: Added static method to construct the schema
           table with default schema. Could be reused in many places.
	* System.Data_test.dll.sources: Added DataTableReaderTest.cs


svn path=/trunk/mcs/; revision=43650
2005-04-27 12:39:14 +00:00
Sureshkumar T b1ca844c7e In Test/System.Data:
2005-04-22  Sureshkumar T  <[email protected]>

	* DataTableLoadRowTest.cs: Added. A test case for testing
	LoadDataRow method of DataTable. This tests for various
	possiblities of row state and loadoption.

In System.Data.Common:
2005-04-22  Sureshkumar T  <[email protected]>

	* DbDataAdapter.cs: Moved FillTable and BuildSchema as static
	methods as they are not operating on the current instance. This
	could be reused to fill any table from a data reader.

	* RecordCache.cs: While disposing records, make sure that the
	record is not already disposed. i.e. to make sure later the same
	record is not reused. Implemented a static method to compare two
	version of records in a container.

In .:
2005-04-22  Sureshkumar T  <[email protected]>

	* System.Data_test.dll.sources: Added DataTableLoadRowTest.cs.

In System.Data:
2005-04-22  Sureshkumar T  <[email protected]>

	* LoadOption.cs: Changed the enums. Keeping old values for
	migration.

	* DataTable.cs: Implemented methods Load and its overloads. Also
	implemented LoadDataRow.

	* DataRowCollection.cs: Added a variation of the Find method to
	return a row even if it is of state Deleted. This is required for
	DataTable.LoadDataRow method.

	* DataRow.cs: Implemented internal helper method Load for loading
	values from an object array and given an LoadOption (2.0 feature).

	* DataRowAction.cs: Added few more enums for .net 2.0. Sorted
	alphabetically.


svn path=/trunk/mcs/; revision=43440
2005-04-22 13:11:40 +00:00
Sureshkumar T 3671c260e6 In Test/System.Data.Common:
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.

In .:
2005-04-04  Sureshkumar T  <[email protected]>

	* System.Data_test.dll.sources: Added
	Test/System.Data.Common/DbConnectionStringBuilderTest.cs

	* System.Data.dll.sources: Added
	System.Data.Common/DbConnectionStringBuilder.cs


svn path=/trunk/mcs/; revision=42506
2005-04-04 09:42:19 +00:00
Sureshkumar T c1857bc34d In Test/System.Data.Common:
* 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]>
	
In .:
        
	* System.Data_test.dll.sources: Added
	System.Data.Common/ConnectionStringsSectionTest.cs
	
2005-02-22  Sureshkumar T  <[email protected]>

svn path=/trunk/mcs/; revision=41040
2005-02-22 14:05:40 +00:00
Sureshkumar T b55443de1c In .:
2005-02-22  Sureshkumar T  <[email protected]>

	* Makefile: added dependancy for test-lib to create
	$(test-lib).config. These configuration entries are used currently
	by Test/System.Data.Common/DbProviderFactories-
	ConigurationHalderTest.cs tests. Future tests can also add
	configuration information in configuration file
	app_test.2.0.config. This is for 2.0 profile only.

	* System.Data_test.dll.sources: 
	Added System.Data.Common/DbProviderFactoriesConfigurationHandlerTest.cs.

	* System.Data.dll.sources: 
	Added System.Data.SqlClient/SqlClientFactory.cs
	Added System.Data.SqlClient/SqlDataSourceEnumerator.cs

In Test/System.Data.Common:
2005-02-22  Sureshkumar T  <[email protected]>

	* DbProviderFactoriesConfigurationHandlerTest.cs: Tests for
	DbProviderFactoriesConfigurationHandler class.


svn path=/trunk/mcs/; revision=41029
2005-02-22 10:36:04 +00:00
Atsushi Eno 0f5517ffa3 2005-02-02 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added DataViewManagerTest.cs.

	* DataViewManagerTest.cs : new file.


svn path=/trunk/mcs/; revision=39969
2005-02-02 09:21:48 +00:00
Atsushi Eno f1bd168d0e 2005-01-24 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added DataRowViewTest.cs.

	* DataRowView.cs : implemented CreateChildView().

	* DataRowViewTest.cs : added new file.


svn path=/trunk/mcs/; revision=39422
2005-01-24 16:28:11 +00:00
Sebastien Pouliot fbfeb2937d 2004-09-15 Sebastien Pouliot <[email protected]>
* System.Data_test.dll.sources: Added OdbcPermission, OleDbPermission
	and SqlClientPermission unit tests to the build.

svn path=/trunk/mcs/; revision=33931
2004-09-15 11:44:06 +00:00
Sebastien Pouliot 9577f8fef6 2004-09-14 Sebastien Pouliot <[email protected]>
* System.Data_test.dll.sources: Added DBDataPermission unit tests to
	the build.

svn path=/trunk/mcs/; revision=33906
2004-09-14 20:04:22 +00:00
Sebastien Pouliot 9003dc76ec 2004-09-13 Sebastien Pouliot <[email protected]>
* Makefile: Added /nowarn:618 when compiling unit test assembly to
	remove nunit obsolete warnings.
	* System.Data.dll.sources: Added System.Data.Common.DbConnectionOptions
	(NET_2_0) and System.Data.Common/PermissionHelper to the build.
	* System.Data_test.dll.sources: Added {DBData|Odbc|OleDb|SqlClient}
	PermissionAttribute unit tests to the build.

svn path=/trunk/mcs/; revision=33833
2004-09-13 23:37:10 +00:00
Gert Driesen a52bb655d7 Added System.Data.SqlClient/SqlConnectionTest.cs to
System.Data_test.dll.sources

svn path=/trunk/mcs/; revision=32518
2004-08-19 06:57:23 +00:00
Umadevi S 59c6edbda5 2004-05-27 Umadevi S <[email protected]>
* added files DataTableMappingCollectionTest and DataColumnMappingCollectionTest to system.data_test.dll.sources

svn path=/trunk/mcs/; revision=28232
2004-05-27 07:22:22 +00:00
Umadevi S 1816c5b871 2004-05-26 Umadevi S <[email protected].
* Added files DataTableCollectionTest and DataRelationCollectionTest to the system.data_test.dll.sources

svn path=/trunk/mcs/; revision=28146
2004-05-26 11:35:36 +00:00
Atsushi Eno 4d70422bec 2004-04-19 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added DataSetInferXmlSchemaTest.cs.

svn path=/trunk/mcs/; revision=25682
2004-04-19 10:09:45 +00:00
Atsushi Eno 6f5ad15df1 2004-04-15 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources :
	  added DataSetReadXmlSchemaTest.cs and DataSetAssertion.cs.

svn path=/trunk/mcs/; revision=25534
2004-04-15 06:48:32 +00:00
Atsushi Eno 9e5dfd977a 2004-04-14 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added DataSetReadXmlTest.cs.

svn path=/trunk/mcs/; revision=25493
2004-04-14 17:27:29 +00:00
Atsushi Eno 49bb2d5160 2004-04-13 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added XmlDataDocumentTest2.cs.

svn path=/trunk/mcs/; revision=25378
2004-04-13 02:27:51 +00:00
Atsushi Eno 209c4c4f89 2004-01-21 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : Added TypedDataSetGeneratorTest.cs.

svn path=/trunk/mcs/; revision=22339
2004-01-21 14:33:47 +00:00
Gonzalo Paniagua Javier 9aba3f2578 New build system
svn path=/trunk/mcs/; revision=16200
2003-07-14 11:55:32 +00:00