summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/keyword/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Slice/keyword/Client.cpp')
-rw-r--r--cpp/test/Slice/keyword/Client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/test/Slice/keyword/Client.cpp b/cpp/test/Slice/keyword/Client.cpp
index 9b283edf767..56163a422c5 100644
--- a/cpp/test/Slice/keyword/Client.cpp
+++ b/cpp/test/Slice/keyword/Client.cpp
@@ -8,6 +8,7 @@
// **********************************************************************
#include <Ice/Ice.h>
+#include <TestCommon.h>
#include <Key.h>
using namespace std;
@@ -81,7 +82,7 @@ void
testtypes()
{
_cpp_and::_cpp_continue a = _cpp_and::_cpp_asm;
- assert(a);
+ test(a);
_cpp_and::_cpp_auto b;
b._cpp_default = 0;
@@ -119,7 +120,7 @@ testtypes()
_cpp_and::friendPtr l = new friendI();
const int m = _cpp_and::_cpp_template;
- assert(m == _cpp_and::_cpp_template);
+ test(m == _cpp_and::_cpp_template);
}
int