Commit Graph
68 Commits
Author SHA1 Message Date
Nagappan Alagappan 13f3b8b938 2006-12-07 Nagappan A <[email protected]>
* Mono.Data.SqlExpressions: Created directory.

2006-12-07  Nagappan A  <[email protected]>

	* Mono.Data.SqlExpressions/DataColumnExpressionTest.cs
	(TestDataColumnExpr1, TestDataColumnExpr2): Added two functions to
	test Data Column Expression.


svn path=/trunk/mcs/; revision=69171
2006-12-07 11:37:11 +00:00
Nagappan Alagappan 0dfe91efb3 * SqlTest.cs: Added test for inserting zero-length varbinary.
svn path=/trunk/mcs/; revision=65903
2006-09-26 08:50:59 +00:00
Juraj Skripsky 5b37383e25 2006-06-09 Juraj Skripsky <[email protected]>
* Tokenizer.cs (ProcessEscapes): Inspect the next character, not the one
	after that.

2006-06-09 Juraj Skripsky <[email protected]>

	* DataTableTest.cs (SelectEscaping): Add tests for calling Select()
	with escaped string literals.

svn path=/trunk/mcs/; revision=61593
2006-06-09 09:17:40 +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 163abe59d6 2006-01-31 Senganal <[email protected]>
* Test/DataSetTest.cs : Added testcase for #77411.
	* System.Data/DataSet.cs : Modified CopyRelations ()
		- Added code to copy ForeignKeyConstraints. Fixes #77411.
	

svn path=/trunk/mcs/; revision=56338
2006-01-31 15:52:44 +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
Konstantin Triger 5469248542 add NET_1_1 define
svn path=/trunk/mcs/; revision=54227
2005-12-12 09:52:31 +00:00
Boris Kirzner e3754bb3cb Added solution and
project files for TARGET_JVM.

svn path=/trunk/mcs/; revision=54026
2005-12-07 09:56: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
Boris Kirzner 2209c00873 Table indexes should be always updated.
svn path=/trunk/mcs/; revision=49247
2005-09-01 06:19:13 +00:00
Martin Baulig 949bea4681 2005-08-16 Martin Baulig <[email protected]>
* System.Data.Test.Utils/DataProvider.cs: Renamed namespace
	`MonoTests.System.Data.Test.Utils' -> `MonoTests.System.Data.Utils'
	to make it compile.


svn path=/trunk/mcs/; revision=48431
2005-08-16 14:30:20 +00:00
Eyal Alalouf a6bce082e4 Standardized Mainsoft ConstraintCollection tests.
svn path=/trunk/mcs/; revision=45156
2005-05-29 10:35:17 +00:00
Sureshkumar T 8a59667297 In .:
2005-02-15  Sureshkumar T  <[email protected]>

	* MySqlTestBed.cs: fix for namespace collision MonoTests.System &
	corlib System.

In System.Data.Odbc:
2005-02-15  Sureshkumar T  <[email protected]>

	* OdbcParameterCollectionTest.cs: fix for namespace collision
	MonoTests.System & corlib System.
	* OdbcDataReaderTest.cs: --do--


svn path=/trunk/mcs/; revision=40695
2005-02-15 12:44:04 +00:00
Sureshkumar T 8018972475 2004-08-26 Sureshkumar T <[email protected]>
* MySqlTestBed.cs - Added few more fields for DateTime testing

svn path=/trunk/mcs/; revision=32875
2004-08-26 13:00:50 +00:00
Umadevi S 74c155f243 2004-08-13 Umadevi S <[email protected]>
* Added standalone nunit testcases for datacontainer class.
        * Currently will use MSSQL server
        * New File
                MSSqlTestBed.cs - Base class for MSSql testing
        (similar to the mysqltestbed)

svn path=/trunk/mcs/; revision=32298
2004-08-13 07:05:24 +00:00
Sureshkumar T 78c2dbbc00 04-06-16 Sureshkumar T <[email protected]>
* Added standalone NUnit test cases for MySql db related tests.
        * Created sub-directory for System.Data.Odbc
        * New Files :
                MySqlTestBed.cs         - Base class for all MySql db based tests.
                                          contains instructions to run these tests.
                MySqlTestBed.dll.config - configurable parameters to this test suite.
                System.Data.Odbc/OdbcDataReaderTest.cs
                System.Data.Odbc/OdbcDataAdapterTest.cs

svn path=/trunk/mcs/; revision=29666
2004-06-16 06:31:24 +00:00
Ben Maurer 27ccae5025 2003-05-26 Ben Maurer <[email protected]>
* DataViewTest.cs: Added new test from
        Patrick Kalkman
	* data_linux_test.args: Updated for new test in System.Data

svn path=/trunk/mcs/; revision=14902
2003-05-26 21:22:36 +00:00
Nick Drochak 8cb38e4413 2003-04-15 Nick Drochak <[email protected]>
* Use nunit version 2.

svn path=/trunk/mcs/; revision=13639
2003-04-15 05:25:23 +00:00
Nick Drochak 945a565def 2003-03-31 Nick Drochak <[email protected]>
* makefile.gnu: NUnit.Framework.dll now in class/lib

svn path=/trunk/mcs/; revision=12969
2003-03-31 12:50:26 +00:00
Martin Willemoes Hansen 46c1ae8f75 * Removed AllTests.cs, System.Data/AllTests.cs,
System.Data.SqlTypes/AllTests.cs,
          System.Xml/AllTests.cs,
          TheTests.cs
        * NUnit2ified makefile.gnu, data_linux_test.args
          System.Data/DataColumnCollectionTest.cs,
          System.Data/DataSetTest.cs,
          System.Data/DataColumnTest.cs,
          System.Data/DataTableTest.cs,
          System.Data/UniqueConstraintTest.cs,
          System.Data/ConstraintCollectionTest.cs,
          System.Data/DataRelationTest.cs,
          System.Data/ForeignKeyConstraintTest.cs,
          System.Data/ConstraintTest.cs,
          System.Data/DataRowCollectionTest.cs,
          System.Data/DataRowTest.cs,
          System.Data.SqlTypes/SqlBinaryTest.cs,
          System.Data.SqlTypes/SqlDateTimeTest.cs,
          System.Data.SqlTypes/SqlGuidTest.cs,
          System.Data.SqlTypes/SqlInt64Test.cs,
          System.Data.SqlTypes/SqlStringTest.cs,
          System.Data.SqlTypes/SqlBooleanTest.cs,
          System.Data.SqlTypes/SqlDecimalTest.cs,
          System.Data.SqlTypes/SqlInt16Test.cs,
          System.Data.SqlTypes/SqlMoneyTest.cs,
          System.Data.SqlTypes/SqlByteTest.cs,
          System.Data.SqlTypes/SqlDoubleTest.cs,
          System.Data.SqlTypes/SqlInt32Test.cs,
          System.Data.SqlTypes/SqlSingleTest.cs
          System.Xml/XmlDataDocumentTest.cs

svn path=/trunk/mcs/; revision=12623
2003-03-17 16:31:53 +00:00
Daniel Morgan db73cf5f48 2003-02-16 Daniel Morgan <[email protected]>
* TestSqlConnection.cs: added test file
	to test SqlClient, SybaseClient, and TdsClient
	and connections

	* System.Data_test.build: excluded
	TestSqlConnection.cs from NUnit tests

svn path=/trunk/mcs/; revision=11624
2003-02-16 15:08:25 +00:00
Ville Palo a4e1c42dcd 2003-01-13 Ville Palo <[email protected]>
* data_linux_test.args: Added some classes

svn path=/trunk/mcs/; revision=10458
2003-01-13 15:14:41 +00:00
Ville Palo 53ea503c26 2002-12-16 Ville Palo <[email protected]>
* System.Xml/XmlDataDocumentTest.cs: some fixes.

svn path=/trunk/mcs/; revision=9705
2002-12-16 18:43:28 +00:00
Ville Palo 4ee28e267c 2002-12-14 Ville Palo [email protected]>
* System.Xml/XmlDataDocumentTest.cs: Added three new tests

svn path=/trunk/mcs/; revision=9639
2002-12-14 17:14:37 +00:00
Ville Palo 60d500f43f 2002-12-10 Ville Palo <[email protected]>
* System.Xml/XmlDataDocumentTest.cs: Added new tests
	* System.Xml/region.xml: Changed XmlDocument.

svn path=/trunk/mcs/; revision=9531
2002-12-10 17:19:48 +00:00
Ville Palo 013d711a33 2002-11-24 Ville Palo <[email protected]>
* System.Xml/XmlDataDocumentTest.cs: Added new test suite for
	XmlDataDocument.
	* System.Xml/store.xsd:
	* System.Xml/region.xsd
	* System.Xml/region.xml:
	* System.Xml/2books.xml: Needed by XmlDocumentTest.cs
	* AllTests.cs:
	* data_linux_test.args:Added XmlDataDocumentTest.cs

svn path=/trunk/mcs/; revision=9167
2002-11-24 15:39:02 +00:00
Ville Palo 0f6f0539b8 2002-11-12 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlStringTest.cs: Added tests

svn path=/trunk/mcs/; revision=8953
2002-11-12 17:02:27 +00:00
Ville Palo 5c92934c86 2002-11-10 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlStringTest.cs: Added more tests

svn path=/trunk/mcs/; revision=8915
2002-11-10 17:44:51 +00:00
Ville Palo 9b98e443ab 2002-11-07 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDecimalTest.cs
	* System.Data.SqlTypes/SqlDoubleTest.cs
	* System.Data.SqlTypes/SqlMoneyTest.cs
	* System.Data.SqlTypes/SqlSingleTest.cs:
	mcs don't understand (currently) correctly what 1e10 means,
	with mcs it must be 1E+10.

svn path=/trunk/mcs/; revision=8874
2002-11-07 15:43:00 +00:00
Ville Palo 3425fcc3a2 2002-11-02 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDoubleTest.cs: More tests.

svn path=/trunk/mcs/; revision=8750
2002-11-02 12:25:33 +00:00
Ville Palo c707187466 2002-10-31 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlInt16Test.cs: Litle bugfix

svn path=/trunk/mcs/; revision=8715
2002-10-31 18:51:49 +00:00
Ville Palo b6c4affae9 2002-10-24 Ville Palo <[email protected]>
* System.Data.SqlTypes/AllTests.cs:
	* System.Data.SqlTypes/SqlStringTest.cs:
	* System.Data.SqlTypes/SqlDecimalTest.cs: new test suites for
	SqlDecimal and SqlString

svn path=/trunk/mcs/; revision=8512
2002-10-24 13:18:05 +00:00
Ville Palo a37551e704 2002-10-19 Ville Palo <[email protected]>
* System.Data.SqlTypes/AllTests.cs:
	* System.Data.SqlTypes/SqlGuidTest.cs: new test suite for SqlGuid.

svn path=/trunk/mcs/; revision=8447
2002-10-21 15:23:20 +00:00
Ville Palo b82e969e07 2002-10-19 Ville Palo <[email protected]>
* System.Data.SqlTypes/AllTest.cs:
	* System.Data.SqlTypes/SqlMoneyTest.cs new test suite for SqlMoney
	* System.Data.SqlTypes/SqlDateTimeTest.cs new test suite for
	SqlDateTime

svn path=/trunk/mcs/; revision=8391
2002-10-19 13:36:36 +00:00
Daniel Morgan 022ccefc72 2002-10-16 Daniel Morgan <[email protected]>
* TestSqlDataReader.cs: got to work
	with new place for the PostgreSQL provider
	at Mono.Data.PostgreSqlClient.

svn path=/trunk/mcs/; revision=8328
2002-10-16 21:48:04 +00:00
Rodrigo Moya 1c6b74e2ad 2002-10-16 Rodrigo Moya <[email protected]>
* System.Data.SqlTypes/AllTests.cs:
	* System.Data.SqlTypes/SqlBinary.cs: new test suite for SqlBinary, by
	Ville Palo ([email protected]).

svn path=/trunk/mcs/; revision=8326
2002-10-16 21:33:07 +00:00
Daniel Morgan 30a0b9960a 2002-10-16 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: remove file
	from this directory because it has been
	moved to
	mcs/tools/SqlSharp

svn path=/trunk/mcs/; revision=8325
2002-10-16 21:06:54 +00:00
Daniel Morgan b50724ef73 2002-10-16 Daniel Morgan <[email protected]>
* PostresTest.cs: modified to
	use the new namepace and assembly for PostgreSQL
	provider which is Mono.Data.PostgreSqlClient

svn path=/trunk/mcs/; revision=8322
2002-10-16 19:52:52 +00:00
Rodrigo Moya b0b6e21af2 2002-10-15 Rodrigo Moya <[email protected]>
* System.Data.SqlTypes/AllTests.cs: added new test.

2002-10-15  Ville Palo <[email protected]>

	* System.Data.SqlTypes/SqlSingleTest.cs: added test suite for
	SqlSingle.

svn path=/trunk/mcs/; revision=8297
2002-10-15 18:18:40 +00:00
Daniel Morgan 3ebc15004a 2002-10-15 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: get it to work with System.Data.OleDb
	on MS .net when connected to Oracle 8i.  Also, get data
	to space correctly when data size is smaller than the
	header size.  If DataType is DateTime, use GetDataTime(),
	otherwise, use GetValue().

svn path=/trunk/mcs/; revision=8296
2002-10-15 17:24:19 +00:00
Daniel Morgan 1dd2506a4a 2002-10-13 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: better formatting of output

svn path=/trunk/mcs/; revision=8228
2002-10-13 20:51:22 +00:00
Daniel Morgan f9cef840ef 2002-10-13 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: modified
	- add support for the external Mono.Data.SqliteClient
	ADO.NET provider. All the user has to do is
	"/provider sqlite"
	to load it instead of the usual syntax for loading
	external providers
	"/loadextprovider Mono.Data.SqliteClient Mono.Data.SqliteClient.SqliteConnection".

svn path=/trunk/mcs/; revision=8214
2002-10-13 11:04:01 +00:00
Daniel Morgan 133b16c231 2002-10-11 Daniel Morgan <[email protected]>
* OdbcTest.cs: added
	for System.Data.Odbc tests.  Modify this
	test as needed...

svn path=/trunk/mcs/; revision=8197
2002-10-12 03:03:00 +00:00
Rodrigo Moya ea63847eb7 2002-10-10 Ville Palo ([email protected])
* System.Data.SqlTypes/SqlDoubleTest.cs: new test suite for SqlDouble.

svn path=/trunk/mcs/; revision=8147
2002-10-10 20:27:55 +00:00
Daniel Morgan 861ea9c609 2002-10-10 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: modified
	  - add support for System.Data.Odbc
	  - created simple reader to display data for those providers
	    which have not implemented GetSchemaTable - UseSimpleReader
	  - allow only providers that support parameters to use them
	    during exection of SQL - UseParameters
	  - add support for postional parameter marker (question mark),
	    the delimted named parameter markers (square brackets) in addition
	    to colon and at parameter markers.  Allow, the parameter marker
	    to be settable.

svn path=/trunk/mcs/; revision=8130
2002-10-10 05:26:28 +00:00
Rodrigo Moya c4fb9fb7e8 2002-10-09 Ville Palo ([email protected])
* System.Data.SqlTypes/SqlInt16Test.cs:
	* System.Data.SqlTypes/SqlInt64Test.cs: new test suites.

svn path=/trunk/mcs/; revision=8105
2002-10-09 17:54:00 +00:00
Daniel Morgan 2f9db75fc6 2002-10-04 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: modified
	  - fix compile errors due to mcs has better error checking
	  - fix exection of query with semicolon at end which resulted in an exception
	  - added support for ? postioned parameters
	  - added support for [] delimited named parameters
	  - misc. tidbits

svn path=/trunk/mcs/; revision=7981
2002-10-04 15:13:57 +00:00
Rodrigo Moya f3012127ee 2002-10-03 ville <[email protected]>
* System.Data.SqlClient/AllTests.cs:
	* System.Data.SqlClient/SqlByteTest.cs: added SqlByte test suite.

svn path=/trunk/mcs/; revision=7961
2002-10-03 09:46:00 +00:00
Rodrigo Moya 3dfe241caa 2002-10-01 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/AllTests.cs: added SqlBoolean test.

2002-10-01  ville <[email protected]>

	* System.Data.SqlClient/SqlBooleanTest.cs: new test suite for
	SqlBoolean class.

svn path=/trunk/mcs/; revision=7899
2002-10-01 09:18:23 +00:00
Franklin Wise 5fda660239 Implemented GetHashCode for constraint classes. Added tests and continued
work on DataColumn

svn path=/trunk/mcs/; revision=7299
2002-09-07 01:09:22 +00:00