Commit Graph
19 Commits
Author SHA1 Message Date
Jonathan Pobst e7f604e1fa 2010-01-15 Jonathan Pobst <[email protected]>
* OracleParameterTest.cs: Mark test ParamSize_424908_SizeNotSetError
	as not working.  Bug filed: #571218.

svn path=/trunk/mcs/; revision=149652
2010-01-15 22:35:08 +00:00
Veerapuram Varadhan 7bd9e4a1c3 2009-09-25 Veerapuram Varadhan <[email protected]>
** Fixes #535889
	* OracleParameter.cs: In case of OUT param, update sizeSet even if
	value is null or DBNull.  Also, use rsize instead of bindSize to
	avoid extra allocation.

svn path=/trunk/mcs/; revision=142608
2009-09-25 00:29:14 +00:00
Veerapuram Varadhan 51879b7558 2009-06-04 Veerapuram Varadhan <[email protected]>
* OracleParameter.cs: Infer size only for 2.0 profile when only
	value is passed.  Fixes test failure under 1.1 profile.

svn path=/trunk/mcs/; revision=135427
2009-06-04 15:12:40 +00:00
Veerapuram Varadhan 4530a2494e 2009-06-03 Veerapuram Varadhan <[email protected]>
* OracleParameterTest.cs: Mark tests for bug #424908 as NotWorking
        as it requires some more thorough debugging.

svn path=/trunk/mcs/; revision=135305
2009-06-03 15:28:59 +00:00
Veerapuram Varadhan dcd2eb9f91 2009-06-03 Veerapuram Varadhan <[email protected]>
* OracleParameter.cs:  If a non-zero size is passed, update
	the size member but sizeSet is updated only when a non-null
	value is passed.

svn path=/trunk/mcs/; revision=135234
2009-06-02 21:00:18 +00:00
Veerapuram Varadhan cdae12f3ef 2009-09-15 Veerapuram Varadhan <[email protected]>
* OracleParameter.cs: Consider DBNull.Value as null and
	update size and sizeSet accordingly.

svn path=/trunk/mcs/; revision=134192
2009-05-15 10:48:55 +00:00
Gert Driesen 8ddf5beafd * OracleTransaction.cs: Corcompare fixes for 2.0 profile. Implemented
DbConnection and Dispose override. Code formatting.
* OracleLob.cs: Implemented Dispose overloads. Code formatting.
* OracleCommand.cs: Removed extra connection_timeout field. Fixed
DesignTimeVisible. Changed CommandText to return zero-length string
when underlying value is null. Fixed CommandTimeout to always
return 0. Implemented DbConnection, DbParameterCollection and
DbTransaction properties. Corcompare fixes for 2.0 profile.
* OracleTimeSpan.cs: In OracleTimeSpan ctor, throw NRE when from
is Null timespan. Fixed Hours property to actually return hours instead
of days. Modified Value to throw InvalidOperationException when
current instance is Null. Fixed explicit operator argument name.
* OracleRowUpdatingEventArgs.cs: Added missing BaseCommand override.
* OracleParameterCollection.cs: Removed extra internal ctor.
Corcompare fixes for 2.0 profile. On 1.0 profile, perform culture
sensitive and case-insensitive lookup. On 2.0 profile, first perform
case-sensitive lookup and fallback to case-insensitive lookup.
Set and remove Container where necessary, and perform checks for
ownership. Implemented AddRange overloads, and (Get/Set)Parameter.
Added several 2.0 overloads taking OracleParameter. Fixed exceptions
to match MS.
* OracleDataReader.cs: Corcompare fixes for 2.0 profile. Moved
disposing of schematable to Close, and invoke Close from Dispose.
Reduce casts. Stubbed methods introduced in 2.0 profile.
* OracleConnection.cs: Corcompare fixes for 2.0 profile. Changed
ConnectionString to return zero-length string when underlying value is
null. Removed explicit IDisposable implementation. Use string.Empty
instead of "". Code formatting.
* OracleMonthSpan.cs: Code formatting. Changed argument name of
explicit operator to match MS.
* OracleDataAdapter.cs: Code formatting. Fixed default ctor to use
null for SelectCommand. In 2.0 profile, set UpdateBatchSize to 1 and
throw AORE when setting it to negative value. Modified *Command setters
to throw InvalidCastException instead of ArgumentException. Removed
extra TableMappings property.
* OracleParameter.cs: Use zero-length string as default for
SourceColumn. Added missing 2.0 ctor. In ParameterName return zero
length string when name is null. Added SourceColumnNullMapping
property. Corcompare fixes for 2.0 profile. Code formatting.
* OracleBFile.cs: Added Dispose override for 2.0 profile.
* OracleDataAdapterTest.cs: Added ctor and basic property tests.
* OracleParameterCollectionTest.cs: Added tests for Clear,Count,Add,
Add,AddRange,Contains,indexers,IndexOf,Insert,Remove and RemoveAt.
* OracleCommandTest.cs: Added tests for ctors and CommandText,
CommandTimeout, ConnectionTimeout and Connection.
* OracleConnectionTest.cs: Added tests for ConnectionString and
ConnectionTimeout.
* OracleParameterTest.cs: Allow for disconnected tests. Added basic
ctor tests and test for ParameterName.
* OracleTimeSpanTest.cs: Added ctor tests. Added tests for IsNull,
MaxValue, MinValue, Null and ToString.
 * System.Data.OracleClient_test.dll.sources: Added
OracleConnectionTest.cs, OracleDataAdapterTest.cs and
OracleTimeSpanTest.cs.

svn path=/trunk/mcs/; revision=102756
2008-05-07 18:49:22 +00:00
Nagappan Alagappan bb2c742fc5 2007-05-25 Amit Biswas <[email protected]>
* OracleParameterCollectionTest.cs: Created the class OracleParameterCollectionTest and added
	tests for the properties IsFixedSize, IsReadOnly and IsSynchronized.


svn path=/trunk/mcs/; revision=78721
2007-06-06 11:19:20 +00:00
Leszek 'skolima' Ciesielski 17f2d67a38 Added regression test for passing parameters by position instead of by name (currently fails).
svn path=/trunk/mcs/; revision=72815
2007-02-14 09:31:21 +00:00
Leszek 'skolima' Ciesielski 028297da96 Added handling of OracleDateTime, OracleString and OracleNumber as input parameters
svn path=/trunk/mcs/; revision=72742
2007-02-13 09:59:51 +00:00
Leszek 'skolima' Ciesielski 2e3677ca91 Integrated the Mainsoft test suite into make run-test. Many tests still fail...
svn path=/trunk/mcs/; revision=66740
2006-10-17 08:04:07 +00:00
Leszek 'skolima' Ciesielski 8a487c2183 Added missing 'using' statements.
svn path=/trunk/mcs/; revision=65344
2006-09-13 08:27:15 +00:00
Leszek 'skolima' Ciesielski fdb030fd9e Fixed bug 78898 in OracleLob (index was 1-based instead of 0) and added regression test.
svn path=/trunk/mcs/; revision=65292
2006-09-12 10:31:25 +00:00
Leszek 'skolima' Ciesielski 117d0f42eb Fix for bug 79284, number handling now takes into consideration NLS from Oracle database.
svn path=/trunk/mcs/; revision=65243
2006-09-11 17:15:07 +00:00
Leszek 'skolima' Ciesielski 81ed9a5b7f Fixed bug 78509 in OracleParameter (trimming trailing spaces) and added regression test.
Fixed bug 78765 in OracleCommand (nulling the Connection/Transaction) and added regression test.

svn path=/trunk/mcs/; revision=65232
2006-09-11 14:46:12 +00:00
Kornél Pál 546a1134d2 Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +00:00
Sebastien Pouliot d40934303c 2005-09-22 Sebastien Pouliot <[email protected]>
* OraclePermissionAttributeTest.cs: Removed *Choice security actions.


svn path=/trunk/mcs/; revision=50471
2005-09-22 13:21:11 +00:00
Sebastien Pouliot 6a64e50f82 Fixed "make test" for 1.1
svn path=/trunk/mcs/; revision=33912
2004-09-14 23:58:30 +00:00
Sebastien Pouliot 0cf71bfc3a 2004-09-14 Sebastien Pouliot <[email protected]>
* OraclePermissionAttributeTest.cs: New. Unit tests for class
	OraclePermissionAttribute.

svn path=/trunk/mcs/; revision=33911
2004-09-14 23:49:09 +00:00