summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/session/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/session/AllTests.cpp')
-rw-r--r--cpp/test/IceGrid/session/AllTests.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/session/AllTests.cpp b/cpp/test/IceGrid/session/AllTests.cpp
index 90e55f44e47..ca28e5c1672 100644
--- a/cpp/test/IceGrid/session/AllTests.cpp
+++ b/cpp/test/IceGrid/session/AllTests.cpp
@@ -634,6 +634,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
session2 = SessionPrx::uncheckedCast(registry2->createSession("client2", "test2")->ice_connectionId("reg2"));
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
registry1->createSession("client3", "test1");
test(false);
}
@@ -690,6 +693,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
registry2->createAdminSession("admin2", "test2")->ice_connectionId("reg2"));
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
registry1->createAdminSession("admin3", "test1");
test(false);
}
@@ -812,6 +818,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
cout << "testing sessions from secure connection... " << flush;
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
registry1->createSessionFromSecureConnection();
test(false);
}
@@ -820,6 +829,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
}
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
registry1->createAdminSessionFromSecureConnection();
test(false);
}
@@ -846,6 +858,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
router1->createSession("client3", "test1");
test(false);
}
@@ -922,6 +937,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
adminRouter1->createSession("client3", "test1");
test(false);
}