summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-11-25 11:31:27 +0100
committerJose <jose@zeroc.com>2016-11-25 11:31:27 +0100
commit3a956709e9a0fbf7fcbf76eb17a3d9a0a476a74b (patch)
treedfb6d75acc69609a7b0068df5d5382ea790264af
parentUse exclusive trust in UWP test container (diff)
downloadice-3a956709e9a0fbf7fcbf76eb17a3d9a0a476a74b.tar.bz2
ice-3a956709e9a0fbf7fcbf76eb17a3d9a0a476a74b.tar.xz
ice-3a956709e9a0fbf7fcbf76eb17a3d9a0a476a74b.zip
C# IceSSL/configuration log expired certificate exceptions.
-rw-r--r--csharp/test/IceSSL/configuration/AllTests.cs16
1 files changed, 5 insertions, 11 deletions
diff --git a/csharp/test/IceSSL/configuration/AllTests.cs b/csharp/test/IceSSL/configuration/AllTests.cs
index e60bd6fe2bc..f9b3522a211 100644
--- a/csharp/test/IceSSL/configuration/AllTests.cs
+++ b/csharp/test/IceSSL/configuration/AllTests.cs
@@ -31,15 +31,7 @@ public class AllTests
{
Ice.InitializationData result = new Ice.InitializationData();
result.properties = Ice.Util.createProperties();
- //
- // TODO:
- //
- // When an application loads IceSSL.dll directly, as this one does, we
- // must ensure that it uses the same DLL as the one loaded dynamically
- // by Ice.
- //
- // When Mono supports .NET 2.0, we'll need to fix this.
- //
+
result.properties.setProperty("Ice.Plugin.IceSSL", "IceSSL:IceSSL.PluginFactory");
if(defaultProperties.getProperty("Ice.IPv6").Length > 0)
{
@@ -1164,8 +1156,9 @@ public class AllTests
{
// Expected.
}
- catch(Ice.LocalException)
+ catch(Ice.LocalException ex)
{
+ Console.Out.Write(ex.ToString());
test(false);
}
fact.destroyServer(server);
@@ -1190,8 +1183,9 @@ public class AllTests
{
// Expected.
}
- catch(Ice.LocalException)
+ catch(Ice.LocalException ex)
{
+ Console.Out.Write(ex.ToString());
test(false);
}
fact.destroyServer(server);