diff options
Diffstat (limited to 'cpp/test/Ice/facets/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/facets/AllTests.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/test/Ice/facets/AllTests.cpp b/cpp/test/Ice/facets/AllTests.cpp index 74de8cc783c..455adaa6055 100644 --- a/cpp/test/Ice/facets/AllTests.cpp +++ b/cpp/test/Ice/facets/AllTests.cpp @@ -50,6 +50,9 @@ allTests(const Ice::CommunicatorPtr& communicator) adapter->addFacet(obj, communicator->stringToIdentity("d"), "facetABCD"); try { +#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) + IceUtil::DummyBCC dummy; +#endif adapter->addFacet(obj, communicator->stringToIdentity("d"), "facetABCD"); test(false); } @@ -59,6 +62,9 @@ allTests(const Ice::CommunicatorPtr& communicator) adapter->removeFacet(communicator->stringToIdentity("d"), "facetABCD"); try { +#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) + IceUtil::DummyBCC dummy; +#endif adapter->removeFacet(communicator->stringToIdentity("d"), "facetABCD"); test(false); } @@ -82,6 +88,9 @@ allTests(const Ice::CommunicatorPtr& communicator) test(fm["f2"] == obj2); try { +#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) + IceUtil::DummyBCC dummy; +#endif adapter->removeAllFacets(communicator->stringToIdentity("id1")); test(false); } |