diff options
Diffstat (limited to 'CIAO/connectors/dds4ccm/tests/Policies/pub_qos_test.cpp')
-rw-r--r-- | CIAO/connectors/dds4ccm/tests/Policies/pub_qos_test.cpp | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/CIAO/connectors/dds4ccm/tests/Policies/pub_qos_test.cpp b/CIAO/connectors/dds4ccm/tests/Policies/pub_qos_test.cpp deleted file mode 100644 index 7a3c0cb7737..00000000000 --- a/CIAO/connectors/dds4ccm/tests/Policies/pub_qos_test.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// $Id$ - -#include "pub_qos_test.h" -#include "group_data_qos_test.h" -#include "entity_factory_qos_test.h" -#include "presentation_qos_test.h" -#include "partition_qos_test.h" - -PublisherPolicyTest::PublisherPolicyTest () -{ -} - -int -PublisherPolicyTest::run () -{ - int ret = 0; - try - { - ::DDS::PublisherQos policy; - DDS_PublisherQos dds_policy_org, dds_policy; - - dds_policy_org = DDS_PUBLISHER_QOS_DEFAULT; - - policy <<= dds_policy_org; - dds_policy <<= policy; - - if (!PresentationPolicyTest::check (dds_policy.presentation, policy.presentation)) - { - ACE_ERROR ((LM_ERROR, "ERROR PUBLISHER : " - "Error in PresentationQosPolicy.\n")); - ++ret; - } - if (!PartitionPolicyTest::check (dds_policy.partition, policy.partition)) - { - ACE_ERROR ((LM_ERROR, "ERROR PUBLISHER : " - "Error in PartitionQosPolicy.\n")); - ++ret; - } - if (!GroupDataPolicyTest::check (dds_policy.group_data, policy.group_data)) - { - ACE_ERROR ((LM_ERROR, "ERROR PUBLISHER : " - "Error in GroupDataQosPolicy.\n")); - ++ret; - } - if (!EntityFactoryPolicyTest::check (dds_policy.entity_factory, policy.entity_factory)) - { - ACE_ERROR ((LM_ERROR, "ERROR PUBLISHER : " - "Error in EntityFactoryQosPolicy.\n")); - ++ret; - } - } - catch (...) - { - ACE_ERROR ((LM_ERROR, "ERROR PUBLISHER: Unexpected exception caught.")); - return -1; - } - return ret; -} |