Public Member Functions | Private Member Functions | List of all members
OutPortProvider::OutPortProviderTests Class Reference
Inheritance diagram for OutPortProvider::OutPortProviderTests:
Inheritance graph
[legend]

Public Member Functions

 OutPortProviderTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_publishInterface ()
 publishInterface()メソッドのテスト More...
 
void test_publishInterfaceProfile ()
 publishInterfaceProfile()メソッドのテスト。 More...
 
void test_publishInterfaceProfile2 ()
 publishInterfaceProfile()メソッドのテスト More...
 
 ~OutPortProviderTests ()
 Destructor. More...
 

Private Member Functions

 CPPUNIT_TEST (test_publishInterfaceProfile)
 
 CPPUNIT_TEST (test_publishInterfaceProfile2)
 
 CPPUNIT_TEST (test_publishInterface)
 
 CPPUNIT_TEST_SUITE (OutPortProviderTests)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

Definition at line 178 of file OutPortProviderTests.cpp.

Constructor & Destructor Documentation

OutPortProvider::OutPortProviderTests::OutPortProviderTests ( )
inline

Constructor.

Definition at line 192 of file OutPortProviderTests.cpp.

OutPortProvider::OutPortProviderTests::~OutPortProviderTests ( )
inline

Destructor.

Definition at line 205 of file OutPortProviderTests.cpp.

Member Function Documentation

OutPortProvider::OutPortProviderTests::CPPUNIT_TEST ( test_publishInterfaceProfile  )
private
OutPortProvider::OutPortProviderTests::CPPUNIT_TEST ( test_publishInterfaceProfile2  )
private
OutPortProvider::OutPortProviderTests::CPPUNIT_TEST ( test_publishInterface  )
private
OutPortProvider::OutPortProviderTests::CPPUNIT_TEST_SUITE ( OutPortProviderTests  )
private
OutPortProvider::OutPortProviderTests::CPPUNIT_TEST_SUITE_END ( )
private
virtual void OutPortProvider::OutPortProviderTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 212 of file OutPortProviderTests.cpp.

virtual void OutPortProvider::OutPortProviderTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 219 of file OutPortProviderTests.cpp.

void OutPortProvider::OutPortProviderTests::test_publishInterface ( )
inline

publishInterface()メソッドのテスト

  • 引数で渡したNameValueオブジェクトのインタフェースタイプが、ポートのそれと一致しない場合に、 Interface情報が取得されないことを確認する。
  • 引数で渡したNameValueオブジェクトのインタフェースタイプが、ポートのそれと一致する場合に、 Interface情報を取得でき、それが期待値と一致することを確認する。

Definition at line 298 of file OutPortProviderTests.cpp.

void OutPortProvider::OutPortProviderTests::test_publishInterfaceProfile ( )
inline

publishInterfaceProfile()メソッドのテスト。

  • dataport.interface_typeプロパティを正しく取得できるか?
  • dataport.data_typeプロパティは空か?
  • dataport.dataflow_typeプロパティは空か?
  • dataport.subscription_typeプロパティは空か?

Definition at line 231 of file OutPortProviderTests.cpp.

void OutPortProvider::OutPortProviderTests::test_publishInterfaceProfile2 ( )
inline

publishInterfaceProfile()メソッドのテスト

  • publishInterfaceProfileメソッドでm_propertiesを読み込んでいることを確認する。

Definition at line 349 of file OutPortProviderTests.cpp.


The documentation for this class was generated from the following file:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:08:02