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

Classes

class  InvokerMock
 

Public Member Functions

 ManagerTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_activateManager ()
 
void test_bindExecutionContext ()
 
void test_cleanupComponent ()
 cleanupComponent()�᥽�åɤΥƥ��� More...
 
void test_createComponent_DataFlowComponent ()
 createComponent()�᥽�åɤΥƥ��ȡ�DataFlowComponent�ξ��� More...
 
void test_createComponent_failed_in_bindExecutionContext ()
 
void test_createComponent_Non_DataFlowComponent ()
 
void test_createComponent_with_illegal_module_name ()
 createComponent()�᥽�åɤΥƥ��� More...
 
void test_createContext ()
 createContext()�᥽�åɤΥƥ��� More...
 
void test_deleteComponent ()
 deleteComponent()�᥽�åɤΥƥ��� More...
 
void test_getComponent ()
 
void test_getComponents ()
 getComponents()�᥽�åɤΥƥ��� More...
 
void test_getConfig ()
 getConfig()�᥽�åɤΥƥ��� More...
 
void test_getFactoryProfiles ()
 getFactoryProfiles()�᥽�åɤΥƥ��� More...
 
void test_getLoadableModules ()
 getLoadableModules()�᥽�åɤΥƥ��� More...
 
void test_getLoadedModules ()
 getLoadedModules()�᥽�åɤΥƥ��� More...
 
void test_getLogLevel ()
 getLogLevel()�᥽�åɤΥƥ��� More...
 
void test_getModulesFactories ()
 getModulesFactories()�᥽�åɤΥƥ��� More...
 
void test_getORB ()
 
void test_getPOA ()
 
void test_getPOAManager ()
 
void test_init2 ()
 init()��shutdown()����ƤФ��protected�ؿ��Υƥ��� More...
 
void test_init_without_arguments ()
 init()�᥽�åɤΥƥ��� More...
 
void test_initComposite ()
 initComposite()�᥽�åɤΥƥ��� More...
 
void test_initFactories ()
 initFactories()�᥽�åɤΥƥ��� More...
 
void test_instance ()
 instance()�᥽�åɤΥƥ��� More...
 
void test_instance_without_init ()
 instance()�᥽�åɤΥƥ��� More...
 
void test_join ()
 
void test_load ()
 load()�᥽�åɤΥƥ��� More...
 
void test_notifyFinalized ()
 
void test_procContextArgs ()
 procContextArgs()�᥽�åɤΥƥ��� More...
 
void test_registerECFactory ()
 registerECFactory() More...
 
void test_registerFactory ()
 registerFactory()�᥽�åɤΥƥ��� More...
 
void test_runManager_block ()
 runManager()�᥽�åɤΥƥ��ȡʥ֥��å��󥰥⡼�ɡ� More...
 
void test_runManager_no_block ()
 runManager()�᥽�åɤΥƥ��ȡ���֥��å��󥰥⡼�ɡ� More...
 
void test_setModuleInitProc ()
 setModuleInitProc()�᥽�åɤΥƥ��� More...
 
void test_shutdown ()
 
void test_terminate_after_the_activation ()
 terminate()�᥽�åɤΥƥ��� More...
 
void test_terminate_immediately_after_the_initialization ()
 terminate()�᥽�åɤΥƥ��� More...
 
void test_unload ()
 unload()�᥽�åɤΥƥ��� More...
 
void test_unloadAll ()
 unloadAll()�᥽�åɤΥƥ��� More...
 
void test_unregisterComponent ()
 
virtual ~ManagerTests ()
 Destructor. More...
 

Private Member Functions

bool canResolve (const char *name_server, const char *id, const char *kind)
 
 CPPUNIT_TEST (test_getLogLevel)
 
 CPPUNIT_TEST (test_getLoadedModules)
 
 CPPUNIT_TEST (test_getFactoryProfiles)
 
 CPPUNIT_TEST (test_createContext)
 
 CPPUNIT_TEST (test_init2)
 
 CPPUNIT_TEST (test_initFactories)
 
 CPPUNIT_TEST (test_initComposite)
 
 CPPUNIT_TEST (test_procContextArgs)
 
 CPPUNIT_TEST (test_init_without_arguments)
 
 CPPUNIT_TEST (test_instance)
 
 CPPUNIT_TEST (test_instance_without_init)
 
 CPPUNIT_TEST (test_getConfig)
 
 CPPUNIT_TEST (test_setModuleInitProc)
 
 CPPUNIT_TEST (test_load)
 
 CPPUNIT_TEST (test_unload)
 
 CPPUNIT_TEST (test_unloadAll)
 
 CPPUNIT_TEST (test_registerFactory)
 
 CPPUNIT_TEST (test_registerECFactory)
 
 CPPUNIT_TEST (test_getModulesFactories)
 
 CPPUNIT_TEST (test_getLoadableModules)
 
 CPPUNIT_TEST (test_notifyFinalized)
 
 CPPUNIT_TEST_SUITE (ManagerTests)
 
 CPPUNIT_TEST_SUITE_END ()
 
CosNaming::NamingContext_var getRootContext (const std::string &name_server)
 
bool isFound (const std::vector< std::string > &list, const std::string &target)
 

Private Attributes

RTC::Managerm_mgr
 

Detailed Description

Definition at line 255 of file ManagerTests.cpp.

Constructor & Destructor Documentation

Tests::ManagerTests::ManagerTests ( )
inline

Constructor.

Definition at line 364 of file ManagerTests.cpp.

virtual Tests::ManagerTests::~ManagerTests ( )
inlinevirtual

Destructor.

Definition at line 371 of file ManagerTests.cpp.

Member Function Documentation

bool Tests::ManagerTests::canResolve ( const char *  name_server,
const char *  id,
const char *  kind 
)
inlineprivate

Definition at line 334 of file ManagerTests.cpp.

Tests::ManagerTests::CPPUNIT_TEST ( test_getLogLevel  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_getLoadedModules  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_getFactoryProfiles  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_createContext  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_init2  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_initFactories  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_initComposite  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_procContextArgs  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_init_without_arguments  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_instance  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_instance_without_init  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_getConfig  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_setModuleInitProc  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_load  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_unload  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_unloadAll  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_registerFactory  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_registerECFactory  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_getModulesFactories  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_getLoadableModules  )
private
Tests::ManagerTests::CPPUNIT_TEST ( test_notifyFinalized  )
private
Tests::ManagerTests::CPPUNIT_TEST_SUITE ( ManagerTests  )
private
Tests::ManagerTests::CPPUNIT_TEST_SUITE_END ( )
private
CosNaming::NamingContext_var Tests::ManagerTests::getRootContext ( const std::string &  name_server)
inlineprivate

Definition at line 317 of file ManagerTests.cpp.

bool Tests::ManagerTests::isFound ( const std::vector< std::string > &  list,
const std::string &  target 
)
inlineprivate

Definition at line 312 of file ManagerTests.cpp.

virtual void Tests::ManagerTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 378 of file ManagerTests.cpp.

virtual void Tests::ManagerTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 388 of file ManagerTests.cpp.

void Tests::ManagerTests::test_activateManager ( )
inline

Definition at line 571 of file ManagerTests.cpp.

void Tests::ManagerTests::test_bindExecutionContext ( )
inline

Definition at line 1192 of file ManagerTests.cpp.

void Tests::ManagerTests::test_cleanupComponent ( )
inline

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

  • ��Ͽ��������ݡ��ͥ�Ȥ����͡��ॵ���ӥ�������������Ͽ�������뤫��
  • ��Ͽ��������ݡ��ͥ�Ȥ���Manager������������Ͽ�������뤫��

Definition at line 1119 of file ManagerTests.cpp.

void Tests::ManagerTests::test_createComponent_DataFlowComponent ( )
inline

createComponent()�᥽�åɤΥƥ��ȡ�DataFlowComponent�ξ���

  • ����������ݡ��ͥ�Ȥ������Ǥ��뤫��

Definition at line 994 of file ManagerTests.cpp.

void Tests::ManagerTests::test_createComponent_failed_in_bindExecutionContext ( )
inline

Definition at line 1080 of file ManagerTests.cpp.

void Tests::ManagerTests::test_createComponent_Non_DataFlowComponent ( )
inline

Definition at line 1048 of file ManagerTests.cpp.

void Tests::ManagerTests::test_createComponent_with_illegal_module_name ( )
inline

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

  • ��Ͽ����Ƥ��ʤ��⥸�塼��̾����ꤷ�ƥ���ݡ��ͥ���������ߤơ��տޤɤ���NULL����뤫��
  • �⥸�塼��̾��NULL����ꤷ�ƥ���ݡ��ͥ���������ߤơ��տޤɤ���NULL����뤫��

Definition at line 1059 of file ManagerTests.cpp.

void Tests::ManagerTests::test_createContext ( )
inline

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

  • ExecutionContextBase�������������Ǥ��뤫��

Definition at line 1469 of file ManagerTests.cpp.

void Tests::ManagerTests::test_deleteComponent ( )
inline

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

  • RT����ݡ��ͥ�Ȥκ�����������Ǥ��뤫��

Definition at line 1501 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getComponent ( )
inline

Definition at line 1197 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getComponents ( )
inline

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

  • getComponents()�ǡ������������٤ƤΥ���ݡ��ͥ�Ȥ�����Ǥ��뤫��
  • ��Ͽ�����������ݡ��ͥ�Ȥ������������������������Ƥ��뤫��

Definition at line 1208 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getConfig ( )
inline

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

  • conf�ե�����ǻ��ꤷ���Ƽ������getConfig()���̤��������������Ǥ��뤫��

Definition at line 527 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getFactoryProfiles ( )
inline

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

  • RT����ݡ��ͥ���ѥե����ȥ��ꥹ�Ȥ������������Ǥ��뤫��

Definition at line 1441 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getLoadableModules ( )
inline

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

  • �����ɲ�ǽ�ʥ⥸�塼��ꥹ�Ȥ������������Ǥ��뤫��

Definition at line 867 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getLoadedModules ( )
inline

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

  • �����ɺѤߤΥ⥸�塼��ꥹ�Ȥ������������Ǥ��뤫��

Definition at line 1401 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getLogLevel ( )
inline

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

  • log_level���������ֵѤ���뤫��

Definition at line 1388 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getModulesFactories ( )
inline

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

  • ��Ͽ����Ƥ���Factory�Ρ�"implementation_id"�ץ��ѥƥ��Ρ˥ꥹ�Ȥ������������Ǥ��뤫��

Definition at line 962 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getORB ( )
inline

Definition at line 1267 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getPOA ( )
inline

Definition at line 1272 of file ManagerTests.cpp.

void Tests::ManagerTests::test_getPOAManager ( )
inline

Definition at line 1277 of file ManagerTests.cpp.

void Tests::ManagerTests::test_init2 ( )
inline

init()��shutdown()����ƤФ��protected�ؿ��Υƥ���

  • protected�ؿ���������ư��Ƥ��뤫��

Definition at line 1554 of file ManagerTests.cpp.

void Tests::ManagerTests::test_init_without_arguments ( )
inline

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

  • ���ޥ�ɥ饤������ʤ���init()������˸ƽФ��ơ����󥹥��󥹤�����Ǥ��뤫��

Definition at line 412 of file ManagerTests.cpp.

void Tests::ManagerTests::test_initComposite ( )
inline

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

  • init()�¹Ը塢initComposite()�μ¹Է�̤Ȥ���FactoryManager����������Ͽ����Ƥ��뤫��

Definition at line 1331 of file ManagerTests.cpp.

void Tests::ManagerTests::test_initFactories ( )
inline

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

  • init()�¹Ը塢initFactories()�μ¹Է�̤Ȥ���FactoryMap����������Ͽ����Ƥ��뤫��

Definition at line 1287 of file ManagerTests.cpp.

void Tests::ManagerTests::test_instance ( )
inline

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

  • instance()���̤��Ƽ����������󥹥��󥹤ϡ�init()�����������󥹥��󥹤�Ʊ�줫��

Definition at line 425 of file ManagerTests.cpp.

void Tests::ManagerTests::test_instance_without_init ( )
inline

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

  • ������init()��ƽФ�����instance()��ƽФ�����硢����˥��󥹥��󥹤���������뤫��

Definition at line 443 of file ManagerTests.cpp.

void Tests::ManagerTests::test_join ( )
inline

Definition at line 516 of file ManagerTests.cpp.

void Tests::ManagerTests::test_load ( )
inline

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

  • ���ꤷ���⥸�塼�������ɤ��ơ�����ν�����ؿ����������ƤӽФ���뤫��

Definition at line 727 of file ManagerTests.cpp.

void Tests::ManagerTests::test_notifyFinalized ( )
inline

Definition at line 506 of file ManagerTests.cpp.

void Tests::ManagerTests::test_procContextArgs ( )
inline

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

  • ����ec_args�ˤ�������true��false���������ֵѤ���뤫��

Definition at line 1347 of file ManagerTests.cpp.

void Tests::ManagerTests::test_registerECFactory ( )
inline

registerECFactory()

  • �����ECFactory����Ͽ�Ǥ��뤫��

Definition at line 935 of file ManagerTests.cpp.

void Tests::ManagerTests::test_registerFactory ( )
inline

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

  • Factory���������Ͽ�Ǥ��뤫��

Definition at line 911 of file ManagerTests.cpp.

void Tests::ManagerTests::test_runManager_block ( )
inline

runManager()�᥽�åɤΥƥ��ȡʥ֥��å��󥰥⡼�ɡ�

  • POAManager�������ƥ��ֲ�����뤫��

Definition at line 638 of file ManagerTests.cpp.

void Tests::ManagerTests::test_runManager_no_block ( )
inline

runManager()�᥽�åɤΥƥ��ȡ���֥��å��󥰥⡼�ɡ�

  • POAManager�������ƥ��ֲ�����뤫��

Definition at line 581 of file ManagerTests.cpp.

void Tests::ManagerTests::test_setModuleInitProc ( )
inline

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

  • �����ƥ��ֲ��ˤ�ꡢ���ꤷ��������ץ��������㤬�������ƤӽФ���뤫��

Definition at line 549 of file ManagerTests.cpp.

void Tests::ManagerTests::test_shutdown ( )
inline

Definition at line 511 of file ManagerTests.cpp.

void Tests::ManagerTests::test_terminate_after_the_activation ( )
inline

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

  • active���θ��terminate()��ƽФ�������˽�λ�Ǥ��뤫��

Definition at line 480 of file ManagerTests.cpp.

void Tests::ManagerTests::test_terminate_immediately_after_the_initialization ( )
inline

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

  • ������夹����terminate()��ƽФ�������˽�λ�Ǥ��뤫��

Definition at line 454 of file ManagerTests.cpp.

void Tests::ManagerTests::test_unload ( )
inline

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

  • ���ä���load�����⥸�塼���������unload�Ǥ��뤫��

Definition at line 765 of file ManagerTests.cpp.

void Tests::ManagerTests::test_unloadAll ( )
inline

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

  • unloadAll()�ˤ�ꡢ�����ɤ����⥸�塼�뤬���٤ƥ�������ɤ���뤫��

Definition at line 806 of file ManagerTests.cpp.

void Tests::ManagerTests::test_unregisterComponent ( )
inline

Definition at line 1187 of file ManagerTests.cpp.

Member Data Documentation

RTC::Manager* Tests::ManagerTests::m_mgr
private

Definition at line 308 of file ManagerTests.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