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

◆ OutPortProviderTests()

OutPortProvider::OutPortProviderTests::OutPortProviderTests ( )
inline

Constructor.

Definition at line 192 of file OutPortProviderTests.cpp.

◆ ~OutPortProviderTests()

OutPortProvider::OutPortProviderTests::~OutPortProviderTests ( )
inline

Destructor.

Definition at line 205 of file OutPortProviderTests.cpp.

Member Function Documentation

◆ CPPUNIT_TEST() [1/3]

OutPortProvider::OutPortProviderTests::CPPUNIT_TEST ( test_publishInterfaceProfile  )
private

◆ CPPUNIT_TEST() [2/3]

OutPortProvider::OutPortProviderTests::CPPUNIT_TEST ( test_publishInterfaceProfile2  )
private

◆ CPPUNIT_TEST() [3/3]

OutPortProvider::OutPortProviderTests::CPPUNIT_TEST ( test_publishInterface  )
private

◆ CPPUNIT_TEST_SUITE()

OutPortProvider::OutPortProviderTests::CPPUNIT_TEST_SUITE ( OutPortProviderTests  )
private

◆ CPPUNIT_TEST_SUITE_END()

OutPortProvider::OutPortProviderTests::CPPUNIT_TEST_SUITE_END ( )
private

◆ setUp()

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

Test initialization.

Definition at line 212 of file OutPortProviderTests.cpp.

◆ tearDown()

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

Test finalization.

Definition at line 219 of file OutPortProviderTests.cpp.

◆ test_publishInterface()

void OutPortProvider::OutPortProviderTests::test_publishInterface ( )
inline

publishInterface()メソッドのテスト

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

Definition at line 298 of file OutPortProviderTests.cpp.

◆ test_publishInterfaceProfile()

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.

◆ test_publishInterfaceProfile2()

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 Feb 28 2022 23:00:47