Imported Upstream version 3.10.0

Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
This commit is contained in:
Jo Shields
2014-10-04 11:27:48 +01:00
parent fe777c5c82
commit 8b9b85e7f5
970 changed files with 20242 additions and 31308 deletions

View File

@ -278,34 +278,6 @@ namespace MonoTests.System.Data.Utils {
// The .NET Framework provides support for Oracle LOBs in the OracleClient namespace, but not in the Oracle namespace.
// Since Visual MainWin does not support the OracleClient namespace, a partial support for this important feature is provided in the Oracle namespace.
// See ms-help://MS.VSCC.2003/VMW.GH.1033/ghdoc/vmwdoc_ADONET_data_access_limitations_51.htm
#if TARGET_JVM
row.Add("BLOB", new byte[] {0x00, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF, 0xF0
,0x00, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF, 0xF0
,0x00, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF, 0xF0
,0x00, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF, 0xF0
,0x00, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF, 0xF0
,0x00, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF, 0xF0
,0x00, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF, 0xF0
,0x00, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF, 0xF0
,0x00, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF, 0xF0
,0x00, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF, 0xF0
}, 4000);
row.Add("CLOB", SAMPLE_STRING
+ SAMPLE_STRING
+ SAMPLE_STRING
+ SAMPLE_STRING
+ SAMPLE_STRING
+ SAMPLE_STRING
, 4000);
row.Add("NCLOB", SAMPLE_STRING
+ SAMPLE_STRING
+ SAMPLE_STRING
+ SAMPLE_STRING
+ SAMPLE_STRING
+ SAMPLE_STRING
, 4000);
#endif
break;
#endregion

View File

@ -376,9 +376,7 @@ namespace MonoTests.System.Data.Utils.Data
/// <returns>The number of deleted rows.</returns>
public static int ExecuteDelete(string a_sTableName, string a_sUniqueId)
{
#if !TARGET_JVM
return 0;
#endif
int l_iRecordsDeleted;
OracleCommand l_cmdDelete = new OracleCommand();
l_cmdDelete.Connection = new OracleConnection(ConnectedDataProvider.ConnectionString);

View File

@ -50,9 +50,7 @@ public class OracleCommand_CommandTimeout : GHTBase
}
[Test]
#if !TARGET_JVM
[Category("NotWorking")]
#endif
public void run()
{
OracleCommand cmd = new OracleCommand();

View File

@ -68,9 +68,7 @@ public class OracleDataAdapter_FillSchema_DsSt : ADONetTesterClass
//Test case for bug #4708
[Test(Description="Test case for bug #4708")]
#if !TARGET_JVM
[Ignore ("JVM test")]
#endif
public void TestLongSqlExpression()
{
BeginCase("Long SQL string cause java.lang.StackOverflowError (Test case for bug #4708)");

View File

@ -64,9 +64,6 @@ namespace MonoTests.System.Data.OracleClient
DoTestTypes3(con);
}
#if TARGET_JVM
DoTestTypes4(con);
#endif
// DoTestTypes5(con); //Table direct --> multipe tables
DoTestTypes6(con);

View File

@ -70,9 +70,7 @@ public class OracleDataAdapter_GetFillParameters : GHTBase
//BY DEFAULT LOGGING IS DONE TO THE STANDARD OUTPUT ONLY FOR FAILURES
[Test]
#if !TARGET_JVM
[Ignore ("JVM test")]
#endif
public void run()
{
Exception exp = null;

View File

@ -36,9 +36,7 @@ using NUnit.Framework;
namespace MonoTests.System.Data.OracleClient
{
[TestFixture]
#if !TARGET_JVM
[Category("NotWorking")]
#endif
public class OracleDataAdapter_Update_Ds : ADONetTesterClass
{
public static void Main()

View File

@ -35,9 +35,7 @@ using NUnit.Framework;
namespace MonoTests.System.Data.OracleClient
{
[TestFixture]
#if !TARGET_JVM
[Category("NotWorking")]
#endif
public class OracleDataAdapter_Update_DsStr : ADONetTesterClass
{
public static void Main()

View File

@ -33,9 +33,7 @@ using NUnit.Framework;
namespace MonoTests.System.Data.OracleClient
{
[TestFixture]
#if !TARGET_JVM
[Category("NotWorking")]
#endif
public class OracleDataAdapter_Update_Dt : ADONetTesterClass
{
public static void Main()

View File

@ -49,9 +49,7 @@ public class OracleDataReader_GetName_I : GHTBase
}
[Test]
#if !TARGET_JVM
[Category("NotWorking")]
#endif
public void run()
{
Exception exp = null;

View File

@ -79,9 +79,7 @@ namespace MonoTests.System.Data.OracleClient
}
[Test]
#if !TARGET_JVM
[Ignore ("JVM test")]
#endif
public void TestMultipleResultSetsWithSQLText()
{
@ -351,9 +349,7 @@ namespace MonoTests.System.Data.OracleClient
}
[Test]
#if !TARGET_JVM
[Ignore ("JVM test")]
#endif
public void TestMultipleResultSetsWithSP()
{
#if !JAVA

View File

@ -49,9 +49,7 @@ public class OracleDataReader_ctor : GHTBase
}
[Test]
#if !TARGET_JVM
[Category("NotWorking")]
#endif
public void run()
{
Exception exp = null;

View File

@ -94,9 +94,6 @@ public class OracleParameter_ctor_SOtype : ADONetTesterClass
}
[Test]
//#if !TARGET_JVM
// [Category("NotWorking")]
//#endif
public void SimpleTypesWithDBNull()
{
OracleConnection con=null;
@ -187,4 +184,4 @@ public class OracleParameter_ctor_SOtype : ADONetTesterClass
}
}
}
}
}

View File

@ -33,9 +33,7 @@ using NUnit.Framework;
namespace MonoTests.System.Data.OracleClient
{
[TestFixture]
#if !TARGET_JVM
[Category("NotWorking")]
#endif
public class OracleTransaction_Rollback : ADONetTesterClass
{
public static void Main()