[openrtm-commit:01593] r2659 - trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortBase
openrtm @ openrtm.org
openrtm @ openrtm.org
2015年 9月 16日 (水) 09:33:07 JST
Author: irie
Date: 2015-09-16 09:33:07 +0900 (Wed, 16 Sep 2015)
New Revision: 2659
Modified:
trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortBase/OutPortBaseTests.cpp
Log:
[compat,test] Change Tests.cpp of OutPortBase. refs #3310
Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortBase/OutPortBaseTests.cpp
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortBase/OutPortBaseTests.cpp 2015-09-11 08:04:52 UTC (rev 2658)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortBase/OutPortBaseTests.cpp 2015-09-16 00:33:07 UTC (rev 2659)
@@ -1149,7 +1149,7 @@
//getPortProfileのpropertiesに以下が追加される
CPPUNIT_ASSERT_EQUAL(std::string("push"),
prop["dataport.dataflow_type"]);
- CPPUNIT_ASSERT_EQUAL(std::string("corba_cdr"),
+ CPPUNIT_ASSERT_EQUAL(std::string("corba_cdr, direct"),
prop["dataport.interface_type"]);
//ProviderTypes,ConsumerTypesが取得される
@@ -1208,14 +1208,14 @@
prop = NVUtil::toProperties(profile.properties);
//getPortProfileのpropertiesに以下が追加される
- CPPUNIT_ASSERT_EQUAL(std::string(""),
+ CPPUNIT_ASSERT_EQUAL(std::string("push"),
prop["dataport.dataflow_type"]);
- CPPUNIT_ASSERT_EQUAL(std::string(""),
+ CPPUNIT_ASSERT_EQUAL(std::string("direct"),
prop["dataport.interface_type"]);
//ProviderTypes,ConsumerTypesが取得される
cstr = outPort.get_m_consumerTypes();
- CPPUNIT_ASSERT((size_t)0== cstr.size());
+ CPPUNIT_ASSERT((size_t)0!= cstr.size());
portAdmin.deletePort(outPort);
}
More information about the openrtm-commit
mailing list