summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/test/Ice/timeout/Client.cpp2
-rw-r--r--cpp/test/IceSSL/configuration/AllTests.cpp9
2 files changed, 8 insertions, 3 deletions
diff --git a/cpp/test/Ice/timeout/Client.cpp b/cpp/test/Ice/timeout/Client.cpp
index 2b48c6a8573..a898c593005 100644
--- a/cpp/test/Ice/timeout/Client.cpp
+++ b/cpp/test/Ice/timeout/Client.cpp
@@ -51,7 +51,7 @@ main(int argc, char* argv[])
communicator = Ice::initialize(argc, argv);
status = run(argc, argv, communicator);
}
- catch(const Ice::Exception& ex)
+ catch(const Ice::Exception&)
{
status = EXIT_FAILURE;
}
diff --git a/cpp/test/IceSSL/configuration/AllTests.cpp b/cpp/test/IceSSL/configuration/AllTests.cpp
index 1f34c36a56b..3ae154cf3f0 100644
--- a/cpp/test/IceSSL/configuration/AllTests.cpp
+++ b/cpp/test/IceSSL/configuration/AllTests.cpp
@@ -269,6 +269,12 @@ allTests(const CommunicatorPtr& communicator, const string& testDir)
{
// Expected.
}
+#ifdef _WIN32
+ catch(const ConnectionLostException&)
+ {
+ // Expected.
+ }
+#endif
catch(const LocalException&)
{
test(false);
@@ -709,9 +715,8 @@ allTests(const CommunicatorPtr& communicator, const string& testDir)
{
server->ice_ping();
}
- catch(const LocalException& ex)
+ catch(const LocalException&)
{
- cout << ex << endl;
test(false);
}
fact->destroyServer(server);