summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/tests/Policies/typeconsistencyenforcement_qos_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/connectors/dds4ccm/tests/Policies/typeconsistencyenforcement_qos_test.cpp')
-rw-r--r--CIAO/connectors/dds4ccm/tests/Policies/typeconsistencyenforcement_qos_test.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/CIAO/connectors/dds4ccm/tests/Policies/typeconsistencyenforcement_qos_test.cpp b/CIAO/connectors/dds4ccm/tests/Policies/typeconsistencyenforcement_qos_test.cpp
new file mode 100644
index 00000000000..1b268ba092f
--- /dev/null
+++ b/CIAO/connectors/dds4ccm/tests/Policies/typeconsistencyenforcement_qos_test.cpp
@@ -0,0 +1,18 @@
+// $Id$
+
+#include "typeconsistencyenforcement_qos_test.h"
+
+#if defined (RTI_DDS_VERSION_MAJOR) && (RTI_DDS_VERSION_MAJOR >= 5)
+
+TypeConsistencyEnforcementPolicyPolicyTest::TypeConsistencyEnforcementPolicyPolicyTest ()
+{
+}
+
+bool
+TypeConsistencyEnforcementPolicyPolicyTest::check (const ::DDS_TypeConsistencyEnforcementQosPolicy & dds_qos,
+ const ::DDS::TypeConsistencyEnforcementQosPolicy & qos)
+{
+ return dds_qos.kind == static_cast <DDS_TypeConsistencyKind> (qos.kind);
+}
+
+#endif