Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@@ -62,9 +62,7 @@ namespace MonoTests.System.Data.OracleClient
{
OracleCommand cmd = new OracleCommand ();
Assert.AreEqual (string.Empty, cmd.CommandText, "#1");
#if NET_2_0
Assert.AreEqual (0, cmd.CommandTimeout, "#2");
#endif
Assert.AreEqual (CommandType.Text, cmd.CommandType, "#3");
Assert.IsNull (cmd.Connection, "#4");
Assert.IsNull (cmd.Container, "#5");
@@ -81,9 +79,7 @@ namespace MonoTests.System.Data.OracleClient
{
OracleCommand cmd = new OracleCommand (COMMAND_TEXT);
Assert.AreEqual (COMMAND_TEXT, cmd.CommandText, "#A1");
#if NET_2_0
Assert.AreEqual (0, cmd.CommandTimeout, "#A2");
#endif
Assert.AreEqual (CommandType.Text, cmd.CommandType, "#A3");
Assert.IsNull (cmd.Connection, "#A4");
Assert.IsNull (cmd.Container, "#A5");
@@ -96,9 +92,7 @@ namespace MonoTests.System.Data.OracleClient
cmd = new OracleCommand ((string) null);
Assert.AreEqual (string.Empty, cmd.CommandText, "#B1");
#if NET_2_0
Assert.AreEqual (0, cmd.CommandTimeout, "#B2");
#endif
Assert.AreEqual (CommandType.Text, cmd.CommandType, "#B3");
Assert.IsNull (cmd.Connection, "#B4");
Assert.IsNull (cmd.Container, "#B5");
@@ -118,9 +112,7 @@ namespace MonoTests.System.Data.OracleClient
cmd = new OracleCommand (COMMAND_TEXT, conn);
Assert.AreEqual (COMMAND_TEXT, cmd.CommandText, "#A1");
#if NET_2_0
Assert.AreEqual (0, cmd.CommandTimeout, "#A2");
#endif
Assert.AreEqual (CommandType.Text, cmd.CommandType, "#A3");
Assert.AreSame (conn, cmd.Connection, "#A4");
Assert.IsNull (cmd.Container, "#A5");
@@ -133,9 +125,7 @@ namespace MonoTests.System.Data.OracleClient
cmd = new OracleCommand ((string) null, conn);
Assert.AreEqual (string.Empty, cmd.CommandText, "#B1");
#if NET_2_0
Assert.AreEqual (0, cmd.CommandTimeout, "#B2");
#endif
Assert.AreEqual (CommandType.Text, cmd.CommandType, "#B3");
Assert.AreSame (conn, cmd.Connection, "#B4");
Assert.IsNull (cmd.Container, "#B5");
@@ -148,9 +138,7 @@ namespace MonoTests.System.Data.OracleClient
cmd = new OracleCommand (COMMAND_TEXT, (OracleConnection) null);
Assert.AreEqual (COMMAND_TEXT, cmd.CommandText, "#C1");
#if NET_2_0
Assert.AreEqual (0, cmd.CommandTimeout, "#C2");
#endif
Assert.AreEqual (CommandType.Text, cmd.CommandType, "#C3");
Assert.IsNull (cmd.Connection, "#C4");
Assert.IsNull (cmd.Container, "#C5");
@@ -170,9 +158,7 @@ namespace MonoTests.System.Data.OracleClient
cmd = new OracleCommand (COMMAND_TEXT, conn, (OracleTransaction) null);
Assert.AreEqual (COMMAND_TEXT, cmd.CommandText, "#A1");
#if NET_2_0
Assert.AreEqual (0, cmd.CommandTimeout, "#A2");
#endif
Assert.AreEqual (CommandType.Text, cmd.CommandType, "#A3");
Assert.AreSame (conn, cmd.Connection, "#A4");
Assert.IsNull (cmd.Container, "#A5");
@@ -185,9 +171,7 @@ namespace MonoTests.System.Data.OracleClient
cmd = new OracleCommand ((string) null, conn, (OracleTransaction) null);
Assert.AreEqual (string.Empty, cmd.CommandText, "#B1");
#if NET_2_0
Assert.AreEqual (0, cmd.CommandTimeout, "#B2");
#endif
Assert.AreEqual (CommandType.Text, cmd.CommandType, "#B3");
Assert.AreSame (conn, cmd.Connection, "#B4");
Assert.IsNull (cmd.Container, "#B5");
@@ -200,9 +184,7 @@ namespace MonoTests.System.Data.OracleClient
cmd = new OracleCommand (COMMAND_TEXT, (OracleConnection) null, (OracleTransaction) null);
Assert.AreEqual (COMMAND_TEXT, cmd.CommandText, "#C1");
#if NET_2_0
Assert.AreEqual (0, cmd.CommandTimeout, "#C2");
#endif
Assert.AreEqual (CommandType.Text, cmd.CommandType, "#C3");
Assert.IsNull (cmd.Connection, "#C4");
Assert.IsNull (cmd.Container, "#C5");
@@ -235,7 +217,6 @@ namespace MonoTests.System.Data.OracleClient
Assert.AreEqual (string.Empty, cmd.CommandText, "#4");
}
#if NET_2_0
[Test]
public void CommandTimeout ()
{
@@ -247,7 +228,6 @@ namespace MonoTests.System.Data.OracleClient
command.CommandTimeout = int.MinValue;
Assert.AreEqual (0, command.CommandTimeout, "#4");
}
#endif
[Test]
public void ConnectionTimeout_IDbConnection ()

View File

@@ -66,7 +66,6 @@ namespace MonoTests.System.Data.OracleClient
Assert.AreEqual (string.Empty, connection.ConnectionString, "#3");
}
#if NET_2_0
[Test]
public void ConnectionTimeout ()
{
@@ -75,7 +74,6 @@ namespace MonoTests.System.Data.OracleClient
connection.ConnectionString = "Data Source=Oracle8i;Integrated Security=yes";
Assert.AreEqual (0, connection.ConnectionTimeout, "#2");
}
#endif
[Test]
public void ConnectionTimeout_IDbConnection ()

View File

@@ -43,28 +43,20 @@ namespace MonoTests.System.Data.OracleClient
{
OracleDataAdapter da = new OracleDataAdapter ();
Assert.IsTrue (da.AcceptChangesDuringFill, "#1");
#if NET_2_0
Assert.IsTrue (da.AcceptChangesDuringUpdate, "#2");
#endif
Assert.IsNull (da.Container, "#3");
Assert.IsFalse (da.ContinueUpdateOnError, "#4");
Assert.IsNull (da.DeleteCommand, "#5");
#if NET_2_0
Assert.AreEqual (LoadOption.OverwriteChanges, da.FillLoadOption, "#6");
#endif
Assert.IsNull (da.InsertCommand, "#7");
Assert.AreEqual (MissingMappingAction.Passthrough, da.MissingMappingAction, "#8");
Assert.AreEqual (MissingSchemaAction.Add, da.MissingSchemaAction, "#9");
#if NET_2_0
Assert.IsFalse (da.ReturnProviderSpecificTypes, "#10");
#endif
Assert.IsNull (da.SelectCommand, "#11");
Assert.IsNull (da.Site, "#12");
Assert.IsNotNull (da.TableMappings, "#13");
Assert.AreEqual (0, da.TableMappings.Count, "#14");
#if NET_2_0
Assert.AreEqual (1, da.UpdateBatchSize, "#15");
#endif
Assert.IsNull (da.UpdateCommand, "#16");
}
@@ -74,29 +66,21 @@ namespace MonoTests.System.Data.OracleClient
OracleCommand cmd = new OracleCommand ();
OracleDataAdapter da = new OracleDataAdapter (cmd);
Assert.IsTrue (da.AcceptChangesDuringFill, "#1");
#if NET_2_0
Assert.IsTrue (da.AcceptChangesDuringUpdate, "#2");
#endif
Assert.IsNull (da.Container, "#3");
Assert.IsFalse (da.ContinueUpdateOnError, "#4");
Assert.IsNull (da.DeleteCommand, "#5");
#if NET_2_0
Assert.AreEqual (LoadOption.OverwriteChanges, da.FillLoadOption, "#6");
#endif
Assert.IsNull (da.InsertCommand, "#7");
Assert.AreEqual (MissingMappingAction.Passthrough, da.MissingMappingAction, "#8");
Assert.AreEqual (MissingSchemaAction.Add, da.MissingSchemaAction, "#9");
#if NET_2_0
Assert.IsFalse (da.ReturnProviderSpecificTypes, "#10");
#endif
Assert.IsNotNull (da.SelectCommand, "#11");
Assert.AreSame (cmd, da.SelectCommand, "#12");
Assert.IsNull (da.Site, "#13");
Assert.IsNotNull (da.TableMappings, "#14");
Assert.AreEqual (0, da.TableMappings.Count, "#15");
#if NET_2_0
Assert.AreEqual (1, da.UpdateBatchSize, "#16");
#endif
Assert.IsNull (da.UpdateCommand, "#17");
}
@@ -106,28 +90,20 @@ namespace MonoTests.System.Data.OracleClient
OracleDataAdapter da = new OracleDataAdapter (
(OracleCommand) null);
Assert.IsTrue (da.AcceptChangesDuringFill, "#1");
#if NET_2_0
Assert.IsTrue (da.AcceptChangesDuringUpdate, "#2");
#endif
Assert.IsNull (da.Container, "#3");
Assert.IsFalse (da.ContinueUpdateOnError, "#4");
Assert.IsNull (da.DeleteCommand, "#5");
#if NET_2_0
Assert.AreEqual (LoadOption.OverwriteChanges, da.FillLoadOption, "#6");
#endif
Assert.IsNull (da.InsertCommand, "#7");
Assert.AreEqual (MissingMappingAction.Passthrough, da.MissingMappingAction, "#8");
Assert.AreEqual (MissingSchemaAction.Add, da.MissingSchemaAction, "#9");
#if NET_2_0
Assert.IsFalse (da.ReturnProviderSpecificTypes, "#10");
#endif
Assert.IsNull (da.SelectCommand, "#11");
Assert.IsNull (da.Site, "#12");
Assert.IsNotNull (da.TableMappings, "#13");
Assert.AreEqual (0, da.TableMappings.Count, "#14");
#if NET_2_0
Assert.AreEqual (1, da.UpdateBatchSize, "#15");
#endif
Assert.IsNull (da.UpdateCommand, "#16");
}
@@ -140,30 +116,22 @@ namespace MonoTests.System.Data.OracleClient
OracleDataAdapter da = new OracleDataAdapter (
selectCommandText, selectConnection);
Assert.IsTrue (da.AcceptChangesDuringFill, "#1");
#if NET_2_0
Assert.IsTrue (da.AcceptChangesDuringUpdate, "#2");
#endif
Assert.IsNull (da.Container, "#3");
Assert.IsFalse (da.ContinueUpdateOnError, "#4");
Assert.IsNull (da.DeleteCommand, "#5");
#if NET_2_0
Assert.AreEqual (LoadOption.OverwriteChanges, da.FillLoadOption, "#6");
#endif
Assert.IsNull (da.InsertCommand, "#7");
Assert.AreEqual (MissingMappingAction.Passthrough, da.MissingMappingAction, "#8");
Assert.AreEqual (MissingSchemaAction.Add, da.MissingSchemaAction, "#9");
#if NET_2_0
Assert.IsFalse (da.ReturnProviderSpecificTypes, "#10");
#endif
Assert.IsNotNull (da.SelectCommand, "#11");
Assert.AreSame (selectCommandText, da.SelectCommand.CommandText, "#12");
Assert.AreSame (selectConnection, da.SelectCommand.Connection, "#13");
Assert.IsNull (da.Site, "#14");
Assert.IsNotNull (da.TableMappings, "#15");
Assert.AreEqual (0, da.TableMappings.Count, "#16");
#if NET_2_0
Assert.AreEqual (1, da.UpdateBatchSize, "#17");
#endif
Assert.IsNull (da.UpdateCommand, "#18");
}
@@ -175,21 +143,15 @@ namespace MonoTests.System.Data.OracleClient
OracleDataAdapter da = new OracleDataAdapter (
(string) null, selectConnection);
Assert.IsTrue (da.AcceptChangesDuringFill, "#1");
#if NET_2_0
Assert.IsTrue (da.AcceptChangesDuringUpdate, "#2");
#endif
Assert.IsNull (da.Container, "#3");
Assert.IsFalse (da.ContinueUpdateOnError, "#4");
Assert.IsNull (da.DeleteCommand, "#5");
#if NET_2_0
Assert.AreEqual (LoadOption.OverwriteChanges, da.FillLoadOption, "#6");
#endif
Assert.IsNull (da.InsertCommand, "#7");
Assert.AreEqual (MissingMappingAction.Passthrough, da.MissingMappingAction, "#8");
Assert.AreEqual (MissingSchemaAction.Add, da.MissingSchemaAction, "#9");
#if NET_2_0
Assert.IsFalse (da.ReturnProviderSpecificTypes, "#10");
#endif
Assert.IsNotNull (da.SelectCommand, "#11");
Assert.IsNotNull (da.SelectCommand.CommandText, "#12");
Assert.AreEqual (string.Empty, da.SelectCommand.CommandText, "#13");
@@ -197,9 +159,7 @@ namespace MonoTests.System.Data.OracleClient
Assert.IsNull (da.Site, "#15");
Assert.IsNotNull (da.TableMappings, "#16");
Assert.AreEqual (0, da.TableMappings.Count, "#17");
#if NET_2_0
Assert.AreEqual (1, da.UpdateBatchSize, "#18");
#endif
Assert.IsNull (da.UpdateCommand, "#19");
}
@@ -211,30 +171,22 @@ namespace MonoTests.System.Data.OracleClient
OracleDataAdapter da = new OracleDataAdapter (
selectCommandText, (OracleConnection) null);
Assert.IsTrue (da.AcceptChangesDuringFill, "#1");
#if NET_2_0
Assert.IsTrue (da.AcceptChangesDuringUpdate, "#2");
#endif
Assert.IsNull (da.Container, "#3");
Assert.IsFalse (da.ContinueUpdateOnError, "#4");
Assert.IsNull (da.DeleteCommand, "#5");
#if NET_2_0
Assert.AreEqual (LoadOption.OverwriteChanges, da.FillLoadOption, "#6");
#endif
Assert.IsNull (da.InsertCommand, "#7");
Assert.AreEqual (MissingMappingAction.Passthrough, da.MissingMappingAction, "#8");
Assert.AreEqual (MissingSchemaAction.Add, da.MissingSchemaAction, "#9");
#if NET_2_0
Assert.IsFalse (da.ReturnProviderSpecificTypes, "#10");
#endif
Assert.IsNotNull (da.SelectCommand, "#11");
Assert.AreSame (selectCommandText, da.SelectCommand.CommandText, "#12");
Assert.IsNull (da.SelectCommand.Connection, "#13");
Assert.IsNull (da.Site, "#14");
Assert.IsNotNull (da.TableMappings, "#15");
Assert.AreEqual (0, da.TableMappings.Count, "#16");
#if NET_2_0
Assert.AreEqual (1, da.UpdateBatchSize, "#17");
#endif
Assert.IsNull (da.UpdateCommand, "#18");
}
@@ -247,21 +199,15 @@ namespace MonoTests.System.Data.OracleClient
OracleDataAdapter da = new OracleDataAdapter (
selectCommandText, selectConnectionString);
Assert.IsTrue (da.AcceptChangesDuringFill, "#1");
#if NET_2_0
Assert.IsTrue (da.AcceptChangesDuringUpdate, "#2");
#endif
Assert.IsNull (da.Container, "#3");
Assert.IsFalse (da.ContinueUpdateOnError, "#4");
Assert.IsNull (da.DeleteCommand, "#5");
#if NET_2_0
Assert.AreEqual (LoadOption.OverwriteChanges, da.FillLoadOption, "#6");
#endif
Assert.IsNull (da.InsertCommand, "#7");
Assert.AreEqual (MissingMappingAction.Passthrough, da.MissingMappingAction, "#8");
Assert.AreEqual (MissingSchemaAction.Add, da.MissingSchemaAction, "#9");
#if NET_2_0
Assert.IsFalse (da.ReturnProviderSpecificTypes, "#10");
#endif
Assert.IsNotNull (da.SelectCommand, "#11");
Assert.AreSame (selectCommandText, da.SelectCommand.CommandText, "#12");
Assert.IsNotNull (da.SelectCommand.Connection, "#13");
@@ -269,9 +215,7 @@ namespace MonoTests.System.Data.OracleClient
Assert.IsNull (da.Site, "#15");
Assert.IsNotNull (da.TableMappings, "#16");
Assert.AreEqual (0, da.TableMappings.Count, "#17");
#if NET_2_0
Assert.AreEqual (1, da.UpdateBatchSize, "#18");
#endif
Assert.IsNull (da.UpdateCommand, "#19");
}
@@ -283,21 +227,15 @@ namespace MonoTests.System.Data.OracleClient
OracleDataAdapter da = new OracleDataAdapter (
(string) null, selectConnectionString);
Assert.IsTrue (da.AcceptChangesDuringFill, "#1");
#if NET_2_0
Assert.IsTrue (da.AcceptChangesDuringUpdate, "#2");
#endif
Assert.IsNull (da.Container, "#3");
Assert.IsFalse (da.ContinueUpdateOnError, "#4");
Assert.IsNull (da.DeleteCommand, "#5");
#if NET_2_0
Assert.AreEqual (LoadOption.OverwriteChanges, da.FillLoadOption, "#6");
#endif
Assert.IsNull (da.InsertCommand, "#7");
Assert.AreEqual (MissingMappingAction.Passthrough, da.MissingMappingAction, "#8");
Assert.AreEqual (MissingSchemaAction.Add, da.MissingSchemaAction, "#9");
#if NET_2_0
Assert.IsFalse (da.ReturnProviderSpecificTypes, "#10");
#endif
Assert.IsNotNull (da.SelectCommand, "#11");
Assert.IsNotNull (da.SelectCommand.CommandText, "#12");
Assert.AreEqual (string.Empty, da.SelectCommand.CommandText, "#13");
@@ -306,9 +244,7 @@ namespace MonoTests.System.Data.OracleClient
Assert.IsNull (da.Site, "#16");
Assert.IsNotNull (da.TableMappings, "#17");
Assert.AreEqual (0, da.TableMappings.Count, "#18");
#if NET_2_0
Assert.AreEqual (1, da.UpdateBatchSize, "#19");
#endif
Assert.IsNull (da.UpdateCommand, "#20");
}
@@ -320,21 +256,15 @@ namespace MonoTests.System.Data.OracleClient
OracleDataAdapter da = new OracleDataAdapter (
selectCommandText, (string) null);
Assert.IsTrue (da.AcceptChangesDuringFill, "#1");
#if NET_2_0
Assert.IsTrue (da.AcceptChangesDuringUpdate, "#2");
#endif
Assert.IsNull (da.Container, "#3");
Assert.IsFalse (da.ContinueUpdateOnError, "#4");
Assert.IsNull (da.DeleteCommand, "#5");
#if NET_2_0
Assert.AreEqual (LoadOption.OverwriteChanges, da.FillLoadOption, "#6");
#endif
Assert.IsNull (da.InsertCommand, "#7");
Assert.AreEqual (MissingMappingAction.Passthrough, da.MissingMappingAction, "#8");
Assert.AreEqual (MissingSchemaAction.Add, da.MissingSchemaAction, "#9");
#if NET_2_0
Assert.IsFalse (da.ReturnProviderSpecificTypes, "#10");
#endif
Assert.IsNotNull (da.SelectCommand, "#11");
Assert.AreSame (selectCommandText, da.SelectCommand.CommandText, "#12");
Assert.IsNotNull (da.SelectCommand.Connection, "#14");
@@ -342,9 +272,7 @@ namespace MonoTests.System.Data.OracleClient
Assert.IsNull (da.Site, "#16");
Assert.IsNotNull (da.TableMappings, "#17");
Assert.AreEqual (0, da.TableMappings.Count, "#18");
#if NET_2_0
Assert.AreEqual (1, da.UpdateBatchSize, "#19");
#endif
Assert.IsNull (da.UpdateCommand, "#20");
}
@@ -483,7 +411,6 @@ namespace MonoTests.System.Data.OracleClient
}
}
#if NET_2_0
[Test]
public void UpdateBatchSize ()
{
@@ -511,7 +438,6 @@ namespace MonoTests.System.Data.OracleClient
Assert.AreEqual ("UpdateBatchSize", ex.ParamName, "#6");
}
}
#endif
[Test]
public void UpdateCommand ()

View File

@@ -120,9 +120,7 @@ namespace MonoTests.System.Data.OracleClient
Assert.AreEqual ((byte) 0, param.Scale, "#7");
Assert.AreEqual (0, param.Size, "#8");
Assert.AreEqual (string.Empty, param.SourceColumn, "#9");
#if NET_2_0
Assert.IsFalse (param.SourceColumnNullMapping, "#10");
#endif
Assert.AreEqual (DataRowVersion.Current, param.SourceVersion, "#11");
Assert.IsNull (param.Value, "#12");
}
@@ -140,15 +138,9 @@ namespace MonoTests.System.Data.OracleClient
Assert.AreEqual ("firstName", param.ParameterName, "#A5");
Assert.AreEqual ((byte) 0, param.Precision, "#A6");
Assert.AreEqual ((byte) 0, param.Scale, "#A7");
#if NET_2_0
Assert.AreEqual (6, param.Size, "#A8");
#else
Assert.AreEqual (0, param.Size, "#A8");
#endif
Assert.AreEqual (string.Empty, param.SourceColumn, "#A9");
#if NET_2_0
Assert.IsFalse (param.SourceColumnNullMapping, "#A10");
#endif
Assert.AreEqual (DataRowVersion.Current, param.SourceVersion, "#A11");
Assert.AreEqual ("Miguel", param.Value, "#A12");
@@ -160,15 +152,9 @@ namespace MonoTests.System.Data.OracleClient
Assert.AreEqual (string.Empty, param.ParameterName, "#B5");
Assert.AreEqual ((byte) 0, param.Precision, "#B6");
Assert.AreEqual ((byte) 0, param.Scale, "#B7");
#if NET_2_0
Assert.AreEqual (7, param.Size, "#B8");
#else
Assert.AreEqual (0, param.Size, "#B8");
#endif
Assert.AreEqual (string.Empty, param.SourceColumn, "#B9");
#if NET_2_0
Assert.IsFalse (param.SourceColumnNullMapping, "#B10");
#endif
Assert.AreEqual (DataRowVersion.Current, param.SourceVersion, "#B11");
Assert.AreEqual (new DateTime (2006, 1, 5), param.Value, "#B12");
}

View File

@@ -46,13 +46,11 @@ namespace MonoTests.System.Data.OracleClient {
Assert.AreEqual (a.ToString (), a.TypeId.ToString (), "TypeId");
Assert.IsFalse (a.Unrestricted, "Unrestricted");
Assert.IsFalse (a.AllowBlankPassword, "AllowBlankPassword");
#if NET_2_0
Assert.AreEqual (String.Empty, a.ConnectionString, "ConnectionString");
Assert.AreEqual (KeyRestrictionBehavior.AllowOnly, a.KeyRestrictionBehavior, "KeyRestrictionBehavior");
Assert.AreEqual (String.Empty, a.KeyRestrictions, "KeyRestrictions");
Assert.IsFalse (a.ShouldSerializeConnectionString (), "ShouldSerializeConnectionString");
Assert.IsFalse (a.ShouldSerializeKeyRestrictions (), "ShouldSerializeConnectionString");
#endif
OraclePermission ocp = (OraclePermission)a.CreatePermission ();
Assert.IsFalse (ocp.IsUnrestricted (), "IsUnrestricted");
}
@@ -95,11 +93,9 @@ namespace MonoTests.System.Data.OracleClient {
OraclePermission ocp = (OraclePermission)a.CreatePermission ();
Assert.IsTrue (ocp.IsUnrestricted (), "IsUnrestricted");
Assert.IsFalse (a.AllowBlankPassword, "AllowBlankPassword");
#if NET_2_0
Assert.AreEqual (String.Empty, a.ConnectionString, "ConnectionString");
Assert.AreEqual (KeyRestrictionBehavior.AllowOnly, a.KeyRestrictionBehavior, "KeyRestrictionBehavior");
Assert.AreEqual (String.Empty, a.KeyRestrictions, "KeyRestrictions");
#endif
a.Unrestricted = false;
ocp = (OraclePermission)a.CreatePermission ();
Assert.IsFalse (ocp.IsUnrestricted (), "!IsUnrestricted");
@@ -116,7 +112,6 @@ namespace MonoTests.System.Data.OracleClient {
Assert.IsFalse (a.AllowBlankPassword, "False");
}
#if NET_2_0
[Test]
public void ConnectionString ()
{
@@ -158,7 +153,6 @@ namespace MonoTests.System.Data.OracleClient {
a.KeyRestrictions = null;
Assert.AreEqual (String.Empty, a.KeyRestrictions, "Empty(null)");
}
#endif
[Test]
public void Attributes ()
{