summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r--cpp/test/Ice/exceptions/AllTests.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp
index 492680e5075..bb89a0611d9 100644
--- a/cpp/test/Ice/exceptions/AllTests.cpp
+++ b/cpp/test/Ice/exceptions/AllTests.cpp
@@ -622,6 +622,9 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
Ice::ObjectAdapterPtr first;
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
first = communicator->createObjectAdapter("TestAdapter0");
test(false);
}
@@ -668,6 +671,9 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
adapter->add(obj, communicator->stringToIdentity("x"));
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
adapter->add(obj, communicator->stringToIdentity("x"));
test(false);
}
@@ -678,6 +684,9 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
adapter->remove(communicator->stringToIdentity("x"));
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
adapter->remove(communicator->stringToIdentity("x"));
test(false);
}