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

Public Member Functions

 RTObjectTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_add_removePort ()
 add[In/Out]Port(),addPort()�᥽�åɤΥƥ��� More...
 
void test_bindContext ()
 bindContext()�᥽�åɤΥƥ��� More...
 
void test_detach_executioncontext ()
 detach_executioncontext()�᥽�åɤΥƥ��� More...
 
void test_detach_executioncontext_with_illegal_id ()
 detach_executioncontext()�᥽�åɤΥƥ��� More...
 
void test_exit ()
 exit()�᥽�åɤΥƥ��� More...
 
void test_exit_in_Created ()
 exit()�᥽�åɤΥƥ��� More...
 
void test_finalize_in_Created ()
 finalize()�᥽�åɤΥƥ��� More...
 
void test_finalize_invoking_on_finalize ()
 finalize()�᥽�åɤΥƥ��� More...
 
void test_finalize_participating_in_execution_context ()
 finalize()�᥽�åɤΥƥ��� More...
 
void test_finalizeContexts ()
 finalizeContexts()�᥽�åɤΥƥ��� More...
 
void test_get_component_profile ()
 get_component_profile()�᥽�åɤΥƥ��� More...
 
void test_get_configuration_and_add_organization_and_get_organizations ()
 get_configuration()�᥽�åɤ�get_organizations()�᥽�åɤΥƥ��� More...
 
void test_get_configuration_and_remove_organization ()
 Configuration::remove_organization()�᥽�åɤΥƥ��� More...
 
void test_get_configuration_and_remove_service_profile ()
 Configuration::remove_service_profile()�᥽�åɤΥƥ��� More...
 
void test_get_configuration_and_set_device_profile_and_get_device_profile ()
 get_configuration()�᥽�åɤΥƥ��� More...
 
void test_get_configuration_and_set_service_profile_and_get_sdo_service ()
 get_configuration()�᥽�åɤ�get_sdo_service()�᥽�åɤΥƥ��� More...
 
void test_get_configuration_and_set_service_profile_and_get_service_profile ()
 get_configuration()�᥽�åɤ�get_serivce_profile()�᥽�åɤΥƥ��� More...
 
void test_get_configuration_and_set_service_profile_and_get_service_profiles ()
 get_configuration()�᥽�åɤ�get_service_profiles()�᥽�åɤΥƥ��� More...
 
void test_get_context ()
 get_context()�᥽�åɤΥƥ��� More...
 
void test_get_contexts ()
 get_contexts()�᥽�åɤΥƥ��� More...
 
void test_get_device_profile ()
 get_device_profile()�᥽�åɤΥƥ��� More...
 
void test_get_monitoring ()
 get_monitoring()�᥽�åɤΥƥ��� More...
 
void test_get_owned_organizations ()
 get_execution_context_services()�᥽�åɤΥƥ��� More...
 
void test_get_ports ()
 get_ports()�᥽�åɤΥƥ��� More...
 
void test_get_sdo_id ()
 get_sdo_id()�᥽�åɤΥƥ��� More...
 
void test_get_sdo_service ()
 get_sdo_service()�᥽�åɤΥƥ��� More...
 
void test_get_sdo_service_with_illegal_arguments ()
 
void test_get_sdo_type ()
 get_sdo_type()�᥽�åɤΥƥ��� More...
 
void test_get_service_profile ()
 get_service_profile()�᥽�åɤΥƥ��� More...
 
void test_get_service_profile_with_illegal_arguments ()
 get_service_profile()�᥽�åɤΥƥ��� More...
 
void test_get_status ()
 get_status()�᥽�åɤΥƥ��� More...
 
void test_get_status_list ()
 get_status_list()�᥽�åɤΥƥ��� More...
 
void test_initialize_in_Alive ()
 initialize()�᥽�åɤΥƥ��� More...
 
void test_initialize_invoking_on_initialize ()
 initialize()�᥽�åɤΥƥ��� More...
 
void test_is_alive ()
 is_alive()�᥽�åɤΥƥ��� More...
 
void test_readAll ()
 readAll(),setReadAll()�᥽�åɤΥƥ��� More...
 
void test_writeAll ()
 writeAll(),setWriteAll()�᥽�åɤΥƥ��� More...
 
virtual ~RTObjectTests ()
 Destructor. More...
 

Private Member Functions

 CPPUNIT_TEST (test_finalizeContexts)
 
 CPPUNIT_TEST (test_bindContext)
 
 CPPUNIT_TEST (test_add_removePort)
 
 CPPUNIT_TEST (test_readAll)
 
 CPPUNIT_TEST (test_writeAll)
 
 CPPUNIT_TEST (test_initialize_invoking_on_initialize)
 
 CPPUNIT_TEST (test_initialize_in_Alive)
 
 CPPUNIT_TEST (test_finalize_invoking_on_finalize)
 
 CPPUNIT_TEST (test_finalize_participating_in_execution_context)
 
 CPPUNIT_TEST (test_finalize_in_Created)
 
 CPPUNIT_TEST (test_exit)
 
 CPPUNIT_TEST (test_exit_in_Created)
 
 CPPUNIT_TEST (test_detach_executioncontext)
 
 CPPUNIT_TEST (test_detach_executioncontext_with_illegal_id)
 
 CPPUNIT_TEST (test_get_context)
 
 CPPUNIT_TEST (test_get_contexts)
 
 CPPUNIT_TEST (test_get_component_profile)
 
 CPPUNIT_TEST (test_get_ports)
 
 CPPUNIT_TEST (test_get_sdo_id)
 
 CPPUNIT_TEST (test_get_sdo_type)
 
 CPPUNIT_TEST (test_get_service_profile_with_illegal_arguments)
 
 CPPUNIT_TEST (test_get_sdo_service)
 
 CPPUNIT_TEST (test_get_sdo_service_with_illegal_arguments)
 
 CPPUNIT_TEST (test_get_configuration_and_set_device_profile_and_get_device_profile)
 
 CPPUNIT_TEST (test_get_configuration_and_set_service_profile_and_get_service_profile)
 
 CPPUNIT_TEST (test_get_configuration_and_set_service_profile_and_get_service_profiles)
 
 CPPUNIT_TEST (test_get_configuration_and_set_service_profile_and_get_sdo_service)
 
 CPPUNIT_TEST (test_get_configuration_and_remove_service_profile)
 
 CPPUNIT_TEST (test_get_configuration_and_add_organization_and_get_organizations)
 
 CPPUNIT_TEST (test_get_configuration_and_remove_organization)
 
 CPPUNIT_TEST (test_get_status)
 
 CPPUNIT_TEST (test_get_status_list)
 
 CPPUNIT_TEST_SUITE (RTObjectTests)
 
 CPPUNIT_TEST_SUITE_END ()
 

Private Attributes

CORBA::ORB_ptr m_pORB
 
PortableServer::POA_ptr m_pPOA
 

Detailed Description

Definition at line 367 of file RTObjectTests.cpp.

Constructor & Destructor Documentation

RTObject::RTObjectTests::RTObjectTests ( )
inline

Constructor.

Definition at line 421 of file RTObjectTests.cpp.

virtual RTObject::RTObjectTests::~RTObjectTests ( )
inlinevirtual

Destructor.

Definition at line 434 of file RTObjectTests.cpp.

Member Function Documentation

RTObject::RTObjectTests::CPPUNIT_TEST ( test_finalizeContexts  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_bindContext  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_add_removePort  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_readAll  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_writeAll  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_initialize_invoking_on_initialize  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_initialize_in_Alive  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_finalize_invoking_on_finalize  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_finalize_participating_in_execution_context  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_finalize_in_Created  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_exit  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_exit_in_Created  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_detach_executioncontext  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_detach_executioncontext_with_illegal_id  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_context  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_contexts  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_component_profile  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_ports  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_sdo_id  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_sdo_type  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_service_profile_with_illegal_arguments  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_sdo_service  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_sdo_service_with_illegal_arguments  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_configuration_and_set_device_profile_and_get_device_profile  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_configuration_and_set_service_profile_and_get_service_profile  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_configuration_and_set_service_profile_and_get_service_profiles  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_configuration_and_set_service_profile_and_get_sdo_service  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_configuration_and_remove_service_profile  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_configuration_and_add_organization_and_get_organizations  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_configuration_and_remove_organization  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_status  )
private
RTObject::RTObjectTests::CPPUNIT_TEST ( test_get_status_list  )
private
RTObject::RTObjectTests::CPPUNIT_TEST_SUITE ( RTObjectTests  )
private
RTObject::RTObjectTests::CPPUNIT_TEST_SUITE_END ( )
private
virtual void RTObject::RTObjectTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 441 of file RTObjectTests.cpp.

virtual void RTObject::RTObjectTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 448 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_add_removePort ( )
inline

add[In/Out]Port(),addPort()�᥽�åɤΥƥ���

  • Port����������Ͽ�Ǥ��뤫��
  • ������Ͽ�ѤߤΥݡ��Ȥ�Ʊ���ݡ���̾��Port����Ͽ���褦�Ȥ������˼��Ԥ��뤫��
  • ��Ͽ�Ѥߤ�Port������������Ǥ��뤫��

Definition at line 815 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_bindContext ( )
inline

bindContext()�᥽�åɤΥƥ���

  • ExecutionContext������������Ǥ��뤫��

Definition at line 1786 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_detach_executioncontext ( )
inline

detach_executioncontext()�᥽�åɤΥƥ���

  • attach�Ѥߤ�RTC�������detach�Ǥ��뤫��

Definition at line 648 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_detach_executioncontext_with_illegal_id ( )
inline

detach_executioncontext()�᥽�åɤΥƥ���

  • ¸�ߤ��ʤ�ID��RTC��detach���ߤ���硢�տޤɤ���Υ��顼���֤�����

Definition at line 673 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_exit ( )
inline

exit()�᥽�åɤΥƥ���

  • exit()�ƽФ��ˤ�ꡢ��������ݡ��ͥ�Ȥ�finalize()����뤫��
  • exit()�ƽФ��ˤ�ꡢ��������ݡ��ͥ�Ȥ������֤����ܤ��뤫��

Definition at line 588 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_exit_in_Created ( )
inline

exit()�᥽�åɤΥƥ���

  • Create���֤�exit()��ƽФ�����硢�տޤɤ���Υ��顼���֤�����

Definition at line 631 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_finalize_in_Created ( )
inline

finalize()�᥽�åɤΥƥ���

  • Created���֤�finalize()��ƽФ�����硢�տޤɤ���Υ��顼���֤뤫��

Definition at line 564 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_finalize_invoking_on_finalize ( )
inline

finalize()�᥽�åɤΥƥ���

  • finalize()�ƽФˤ�ꡢon_finalize()������Хå����ƤӽФ���뤫��

Definition at line 504 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_finalize_participating_in_execution_context ( )
inline

finalize()�᥽�åɤΥƥ���

  • ExecutionContext����Ͽ���줿���֤�finalize()��ƤӽФ�����硢�տޤɤ���Υ��顼���֤�����

Definition at line 533 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_finalizeContexts ( )
inline

finalizeContexts()�᥽�åɤΥƥ���

  • ������ƥ����Ȥ���Ͽ�����Ǥ��뤫��

Definition at line 1755 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_component_profile ( )
inline

get_component_profile()�᥽�åɤΥƥ���

  • ComponentProfile�������������Ǥ��뤫��

Definition at line 773 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_configuration_and_add_organization_and_get_organizations ( )
inline

get_configuration()�᥽�åɤ�get_organizations()�᥽�åɤΥƥ���

  • Configuration::add_organization()��Organization���������ɲäǤ��뤫��
  • get_organizations()�ǡ���Ͽ����Ƥ���Organization�������������Ǥ��뤫��

Definition at line 1592 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_configuration_and_remove_organization ( )
inline

Configuration::remove_organization()�᥽�åɤΥƥ���

  • ���ꤷ��ID��Organization������������Ǥ��뤫��

Definition at line 1635 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_configuration_and_remove_service_profile ( )
inline

Configuration::remove_service_profile()�᥽�åɤΥƥ���

  • ���ꤷ��ID��ServiceProfile������������Ǥ��뤫��

Definition at line 1534 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_configuration_and_set_device_profile_and_get_device_profile ( )
inline

get_configuration()�᥽�åɤΥƥ���

  • Configuration::set_device_profile()���̤��ơ�DeviceProfile������������Ǥ��뤫��
  • ���ꤵ�줿DeviceProfile��get_device_profile()�������������Ǥ��뤫��

Definition at line 1280 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_configuration_and_set_service_profile_and_get_sdo_service ( )
inline

get_configuration()�᥽�åɤ�get_sdo_service()�᥽�åɤΥƥ���

  • Configuration::set_service_profile()���̤��ơ�SDOService������������Ǥ��뤫��
  • get_sdo_service()���Ѥ��ơ����ꤵ��Ƥ���SDPService�������������Ǥ��뤫��

Definition at line 1479 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_configuration_and_set_service_profile_and_get_service_profile ( )
inline

get_configuration()�᥽�åɤ�get_serivce_profile()�᥽�åɤΥƥ���

  • Configuration::set_service_profile()���̤��ơ�ServiceProfile������������Ǥ��뤫��
  • ���ꤵ�줿ServiceProfile��get_service_profile()�������������Ǥ��뤫��

Definition at line 1325 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_configuration_and_set_service_profile_and_get_service_profiles ( )
inline

get_configuration()�᥽�åɤ�get_service_profiles()�᥽�åɤΥƥ���

  • ���ꤵ�줿ServiceProfile��get_service_profiles()�������������Ǥ��뤫��

Definition at line 1397 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_context ( )
inline

get_context()�᥽�åɤΥƥ���

  • ���ꤷ��ID��ExecutionContext�������������Ǥ��뤫��

Definition at line 689 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_contexts ( )
inline

get_contexts()�᥽�åɤΥƥ���

  • attach����Ƥ���ExecutionContext�򤹤٤������������Ǥ��뤫��

Definition at line 729 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_device_profile ( )
inline

get_device_profile()�᥽�åɤΥƥ���

  • DeviceProfile�������������Ǥ��뤫��

Definition at line 1164 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_monitoring ( )
inline

get_monitoring()�᥽�åɤΥƥ���

Definition at line 1672 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_owned_organizations ( )
inline

get_execution_context_services()�᥽�åɤΥƥ���

  • ExecutionContextService�򤹤٤������������Ǥ��뤫��

Definition at line 1097 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_ports ( )
inline

get_ports()�᥽�åɤΥƥ���

  • ��Ͽ����Port���Ȥ򤹤٤������������Ǥ��뤫��

Definition at line 1030 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_sdo_id ( )
inline

get_sdo_id()�᥽�åɤΥƥ���

  • SDO ID������Ǥ��뤫��
  • �������줿SDO ID�ϰ�դ���

Definition at line 1108 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_sdo_service ( )
inline

get_sdo_service()�᥽�åɤΥƥ���

  • ���ꤷ��ID��SDOService�������������Ǥ��뤫��

Definition at line 1229 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_sdo_service_with_illegal_arguments ( )
inline

Definition at line 1234 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_sdo_type ( )
inline

get_sdo_type()�᥽�åɤΥƥ���

  • SDO�����פ�����Ǥ��뤫��

Definition at line 1142 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_service_profile ( )
inline

get_service_profile()�᥽�åɤΥƥ���

  • ���ꤷ��ID��ServiceProfile�������������Ǥ��뤫��

Definition at line 1174 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_service_profile_with_illegal_arguments ( )
inline

get_service_profile()�᥽�åɤΥƥ���

  • ������NULL����ꤷ����硢�տޤɤ�����㳰������������뤫��
  • ������¸�ߤ��ʤ�ID����ꤷ����硢�տޤɤ�����㳰������������뤫��

Definition at line 1185 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_status ( )
inline

get_status()�᥽�åɤΥƥ���

  • ���ꤷ��̾�Τ�status�ͤ������������Ǥ��뤫��

Definition at line 1682 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_get_status_list ( )
inline

get_status_list()�᥽�åɤΥƥ���

  • ���ꤵ��Ƥ��뤹�٤Ƥ�status�������������Ǥ��뤫��

Definition at line 1718 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_initialize_in_Alive ( )
inline

initialize()�᥽�åɤΥƥ���

  • Alive���֤λ���initialize()�᥽�åɤ�ƽФ���硢�����ư��뤫��

Definition at line 478 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_initialize_invoking_on_initialize ( )
inline

initialize()�᥽�åɤΥƥ���

  • initialize()�᥽�åɸƽФˤ�ꡢon_initialize()������Хå����ƤӽФ���뤫��

Definition at line 457 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_is_alive ( )
inline

is_alive()�᥽�åɤΥƥ���

Definition at line 577 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_readAll ( )
inline

readAll(),setReadAll()�᥽�åɤΥƥ���

  • readAll()�����Ƥ�InPort��read()�������뤵��뤫��
  • setReadAll()�����Ƥ�InPort��read()�������뤵��뤫��
  • setReadAll()����������ǽ���Ƥ��뤫��

Definition at line 882 of file RTObjectTests.cpp.

void RTObject::RTObjectTests::test_writeAll ( )
inline

writeAll(),setWriteAll()�᥽�åɤΥƥ���

  • setWriteAll()�����Ƥ�OutPort��write()�������뤵��뤫��
  • writeAll()�����Ƥ�OutPort��write()�������뤵��뤫��
  • setWriteAll()����������ǽ���Ƥ��뤫��

Definition at line 957 of file RTObjectTests.cpp.

Member Data Documentation

CORBA::ORB_ptr RTObject::RTObjectTests::m_pORB
private

Definition at line 414 of file RTObjectTests.cpp.

PortableServer::POA_ptr RTObject::RTObjectTests::m_pPOA
private

Definition at line 415 of file RTObjectTests.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:05