summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/proxy/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/proxy/AllTests.cpp')
-rw-r--r--cpp/test/Ice/proxy/AllTests.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/cpp/test/Ice/proxy/AllTests.cpp b/cpp/test/Ice/proxy/AllTests.cpp
index 672e10e5e29..599479af8c5 100644
--- a/cpp/test/Ice/proxy/AllTests.cpp
+++ b/cpp/test/Ice/proxy/AllTests.cpp
@@ -40,6 +40,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
b1->ice_getFacet().empty());
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
b1 = communicator->stringToProxy("\"test -f facet'");
test(false);
}
@@ -57,6 +60,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
b1->ice_getFacet().empty());
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
b1 = communicator->stringToProxy("test test");
test(false);
}
@@ -67,6 +73,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
test(b1->ice_getIdentity().name == "test test" && b1->ice_getIdentity().category.empty());
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
b1 = communicator->stringToProxy("test\\777");
test(false);
}
@@ -98,6 +107,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
b1->ice_getAdapterId() == "adapter");
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
b1 = communicator->stringToProxy("id@adapter test");
test(false);
}
@@ -137,6 +149,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
b1->ice_getFacet() == "facet x");
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
b1 = communicator->stringToProxy("id -f \"facet x");
test(false);
}
@@ -145,6 +160,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
}
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
b1 = communicator->stringToProxy("id -f \'facet x");
test(false);
}
@@ -168,6 +186,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
b1->ice_getFacet() == "facet@test" && b1->ice_getAdapterId() == "test");
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
b1 = communicator->stringToProxy("test -f facet@test @test");
test(false);
}
@@ -193,6 +214,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
b1 = communicator->stringToProxy("test:tcp@adapterId");
test(false);
}
@@ -211,6 +235,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
//}
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
b1 = communicator->stringToProxy("test::tcp");
test(false);
}
@@ -677,6 +704,9 @@ allTests(const Ice::CommunicatorPtr& communicator)
//
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
p1->ice_ping();
test(false);
}