summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/dds4ccm/tests/Policies/ownership_qos_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/connectors/dds4ccm/tests/Policies/ownership_qos_test.cpp')
-rw-r--r--modules/CIAO/connectors/dds4ccm/tests/Policies/ownership_qos_test.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/CIAO/connectors/dds4ccm/tests/Policies/ownership_qos_test.cpp b/modules/CIAO/connectors/dds4ccm/tests/Policies/ownership_qos_test.cpp
new file mode 100644
index 00000000000..b439bfe1b74
--- /dev/null
+++ b/modules/CIAO/connectors/dds4ccm/tests/Policies/ownership_qos_test.cpp
@@ -0,0 +1,15 @@
+// $Id$
+
+#include "ownership_qos_test.h"
+
+OwnershipPolicyTest::OwnershipPolicyTest ()
+{
+}
+
+bool
+OwnershipPolicyTest::check (const ::DDS_OwnershipQosPolicy & dds_qos,
+ const ::DDS::OwnershipQosPolicy & qos)
+{
+ return dds_qos.kind ==
+ static_cast <DDS_OwnershipQosPolicyKind> (qos.kind);
+}