summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/AllTests.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2004-03-01 21:58:36 +0000
committerBernard Normier <bernard@zeroc.com>2004-03-01 21:58:36 +0000
commit62f16e5a9c5ff4ba2b7eeb400aed44e726994e1d (patch)
tree5b4f9954e79afd99e51a9cf34e91212dc52c88df /cpp/test/Ice/exceptions/AllTests.cpp
parentNested exception support + test (diff)
downloadice-62f16e5a9c5ff4ba2b7eeb400aed44e726994e1d.tar.bz2
ice-62f16e5a9c5ff4ba2b7eeb400aed44e726994e1d.tar.xz
ice-62f16e5a9c5ff4ba2b7eeb400aed44e726994e1d.zip
Disable nested exception testing with VC6
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r--cpp/test/Ice/exceptions/AllTests.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp
index 6ffa492e7a3..d4c67fc1bd5 100644
--- a/cpp/test/Ice/exceptions/AllTests.cpp
+++ b/cpp/test/Ice/exceptions/AllTests.cpp
@@ -764,6 +764,10 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
test(false);
}
+#if (!defined(_MSC_VER) || _MSC_VER >= 1300)
+//
+// With VC6 SP5, there is no way to call ::A::__write from ::Mod::A
+//
try
{
thrower->throwModA(1, 2);
@@ -778,7 +782,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
{
test(false);
}
-
+#endif
cout << "ok" << endl;
@@ -813,6 +817,10 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
test(false);
}
+#if (!defined(_MSC_VER) || _MSC_VER >= 1300)
+//
+// With VC6 SP5, there is no way to call ::A::__write from ::Mod::A
+//
try
{
thrower->throwModA(1, 2);
@@ -826,6 +834,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
{
test(false);
}
+#endif
cout << "ok" << endl;
@@ -1143,11 +1152,16 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
test(cb->check());
}
+#if (!defined(_MSC_VER) || _MSC_VER >= 1300)
+//
+// With VC6 SP5, there is no way to call ::A::__write from ::Mod::A
+//
{
AMI_Thrower_throwModAIPtr cb = new AMI_Thrower_throwModAI;
thrower->throwModA_async(cb, 1, 2);
test(cb->check());
}
+#endif
cout << "ok" << endl;