Public Member Functions | Private Member Functions | Private Attributes | List of all members
OutPort::OutPortTests Class Reference
Inheritance diagram for OutPort::OutPortTests:
Inheritance graph
[legend]

Public Member Functions

 OutPortTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_write (void)
 write()メソッドのテスト More...
 
void test_write_OnOverflow ()
 write()メソッドのOnOverflowコールバック呼出テスト More...
 
void test_write_OnOverflow_not_full ()
 バッファフルでない時の、write()メソッドのOnOverflowコールバック呼出テスト More...
 
void test_write_OnWrite ()
 write()メソッドのOnWriteコールバック呼出テスト More...
 
void test_write_OnWrite_full ()
 バッファフル時のwrite()メソッドのOnWriteコールバック呼出テスト More...
 
void test_write_OnWriteConvert ()
 
void test_write_timeout ()
 write()メソッドのタイムアウト処理テスト More...
 
 ~OutPortTests ()
 Destructor. More...
 

Private Member Functions

 CPPUNIT_TEST (test_write)
 
 CPPUNIT_TEST_SUITE (OutPortTests)
 
 CPPUNIT_TEST_SUITE_END ()
 

Private Attributes

Loggerm_logger
 
CORBA::ORB_ptr m_pORB
 
PortableServer::POA_ptr m_pPOA
 

Detailed Description

Definition at line 1235 of file OutPortTests.cpp.

Constructor & Destructor Documentation

◆ OutPortTests()

OutPort::OutPortTests::OutPortTests ( )
inline

Constructor.

Definition at line 1260 of file OutPortTests.cpp.

◆ ~OutPortTests()

OutPort::OutPortTests::~OutPortTests ( )
inline

Destructor.

Definition at line 1275 of file OutPortTests.cpp.

Member Function Documentation

◆ CPPUNIT_TEST()

OutPort::OutPortTests::CPPUNIT_TEST ( test_write  )
private

◆ CPPUNIT_TEST_SUITE()

OutPort::OutPortTests::CPPUNIT_TEST_SUITE ( OutPortTests  )
private

◆ CPPUNIT_TEST_SUITE_END()

OutPort::OutPortTests::CPPUNIT_TEST_SUITE_END ( )
private

◆ setUp()

virtual void OutPort::OutPortTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 1282 of file OutPortTests.cpp.

◆ tearDown()

virtual void OutPort::OutPortTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 1289 of file OutPortTests.cpp.

◆ test_write()

void OutPort::OutPortTests::test_write ( void  )
inline

write()メソッドのテスト

Definition at line 1297 of file OutPortTests.cpp.

◆ test_write_OnOverflow()

void OutPort::OutPortTests::test_write_OnOverflow ( )
inline

write()メソッドのOnOverflowコールバック呼出テスト

  • OutPortに割り当てされたバッファがフルの場合に、あらかじめ設定されたOnOverflowコールバックが正しく呼び出されるか?

Definition at line 1530 of file OutPortTests.cpp.

◆ test_write_OnOverflow_not_full()

void OutPort::OutPortTests::test_write_OnOverflow_not_full ( )
inline

バッファフルでない時の、write()メソッドのOnOverflowコールバック呼出テスト

  • バッファフルでない場合、OnOverflowコールバックが意図どおり未呼出のままか?

Definition at line 1589 of file OutPortTests.cpp.

◆ test_write_OnWrite()

void OutPort::OutPortTests::test_write_OnWrite ( )
inline

write()メソッドのOnWriteコールバック呼出テスト

  • あらかじめ設定されたOnWriteコールバックが正しく呼び出されるか?

Definition at line 1443 of file OutPortTests.cpp.

◆ test_write_OnWrite_full()

void OutPort::OutPortTests::test_write_OnWrite_full ( )
inline

バッファフル時のwrite()メソッドのOnWriteコールバック呼出テスト

  • あらかじめ設定されたOnWriteコールバックが正しく呼び出されるか?

Definition at line 1471 of file OutPortTests.cpp.

◆ test_write_OnWriteConvert()

void OutPort::OutPortTests::test_write_OnWriteConvert ( )
inline

Definition at line 1639 of file OutPortTests.cpp.

◆ test_write_timeout()

void OutPort::OutPortTests::test_write_timeout ( )
inline

write()メソッドのタイムアウト処理テスト

  • OutPortに割り当てされたバッファがフルの場合に、指定した時間どおりにwrite()メソッドがタイムアウトするか?
  • OutPortに割り当てられたバッファがフルの場合に、write()メソッドが意図どおり失敗するか?

Definition at line 1685 of file OutPortTests.cpp.

Member Data Documentation

◆ m_logger

Logger* OutPort::OutPortTests::m_logger
private

Definition at line 1253 of file OutPortTests.cpp.

◆ m_pORB

CORBA::ORB_ptr OutPort::OutPortTests::m_pORB
private

Definition at line 1251 of file OutPortTests.cpp.

◆ m_pPOA

PortableServer::POA_ptr OutPort::OutPortTests::m_pPOA
private

Definition at line 1252 of file OutPortTests.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:46