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

Public Member Functions

 PropertiesTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_clear ()
 clear()�᥽�åɤΥƥ��� More...
 
void test_createNode ()
 createNode()�Υƥ��� More...
 
void test_ctor_map ()
 Properties(std::map<string, string>&)���󥹥ȥ饯���Υƥ��� More...
 
void test_findNode ()
 findNode()�᥽�åɤΥƥ��� More...
 
void test_getDefault ()
 getDefault()�Υƥ��� More...
 
void test_getDefaultValue ()
 getDefaultValue(void)�᥽�åɤΥƥ��� More...
 
void test_getLeaf ()
 getLeaf(void)�᥽�åɤΥƥ��� More...
 
void test_getName ()
 getName(void)�᥽�åɤΥƥ��� More...
 
void test_getNode ()
 getNode()�᥽�åɤΥƥ��� More...
 
void test_getProperty ()
 getProperty()�᥽�åɤΥƥ��� More...
 
void test_getRoot ()
 getRoot(void)�᥽�åɤΥƥ��� More...
 
void test_getValue ()
 getValue(void)�᥽�åɤΥƥ��� More...
 
void test_hasKey ()
 hasKey()�᥽�åɤΥƥ��� More...
 
void test_list ()
 list()�᥽�åɤΥƥ��� More...
 
void test_load ()
 load()�᥽�åɤΥƥ��� More...
 
void test_operator ()
 operator[]()�᥽�åɤΥƥ��� More...
 
void test_Properties_char ()
 
void test_Properties_copy ()
 Properties(const Properties& prop)���ԡ����󥹥ȥ饯���Υƥ��� More...
 
void test_Properties_destructor ()
 ~Properties(void)�ǥ��ȥ饯���Υƥ��� More...
 
void test_Properties_key_value ()
 Properties(const char* key = "", const char* value = "")���󥹥ȥ饯���Υƥ��� More...
 
void test_propertyNames ()
 propertyNames()�᥽�åɤΥƥ��� More...
 
void test_removeNode ()
 removeNode()�᥽�åɤΥƥ��� More...
 
void test_setDefaults ()
 setDefaults()�᥽�åɤΥƥ��� More...
 
void test_setProperty ()
 setProperty()�᥽�åɤΥƥ��� More...
 
void test_size ()
 size()�᥽�åɤΥƥ��� More...
 
void test_splitKeyValue ()
 splitKeyValue()�᥽�åɤΥƥ��� More...
 
void test_store ()
 store()�᥽�åɤΥƥ��� More...
 
void test_streamInput ()
 <<�黻�ҤΥƥ��� More...
 
void test_substitute ()
 =�黻�ҡ������黻�ҡˤΥƥ��� More...
 
 ~PropertiesTests ()
 Destructor. More...
 

Private Member Functions

 CPPUNIT_TEST (test_ctor_map)
 
 CPPUNIT_TEST (test_Properties_key_value)
 
 CPPUNIT_TEST (test_Properties_char)
 
 CPPUNIT_TEST (test_Properties_copy)
 
 CPPUNIT_TEST (test_Properties_destructor)
 
 CPPUNIT_TEST (test_substitute)
 
 CPPUNIT_TEST (test_Properties_destructor)
 
 CPPUNIT_TEST (test_getName)
 
 CPPUNIT_TEST (test_getValue)
 
 CPPUNIT_TEST (test_getDefaultValue)
 
 CPPUNIT_TEST (test_getLeaf)
 
 CPPUNIT_TEST (test_getRoot)
 
 CPPUNIT_TEST (test_getProperty)
 
 CPPUNIT_TEST (test_getDefault)
 
 CPPUNIT_TEST (test_setProperty)
 
 CPPUNIT_TEST (test_setDefaults)
 
 CPPUNIT_TEST (test_list)
 
 CPPUNIT_TEST (test_load)
 
 CPPUNIT_TEST (test_store)
 
 CPPUNIT_TEST (test_propertyNames)
 
 CPPUNIT_TEST (test_size)
 
 CPPUNIT_TEST (test_findNode)
 
 CPPUNIT_TEST (test_getNode)
 
 CPPUNIT_TEST (test_createNode)
 
 CPPUNIT_TEST (test_removeNode)
 
 CPPUNIT_TEST (test_hasKey)
 
 CPPUNIT_TEST (test_clear)
 
 CPPUNIT_TEST (test_streamInput)
 
 CPPUNIT_TEST (test_splitKeyValue)
 
 CPPUNIT_TEST_SUITE (PropertiesTests)
 
 CPPUNIT_TEST_SUITE_END ()
 

Private Attributes

map< string, string > DEFAULTS_CONF
 
string EMPTY_STRING
 
coil::Propertiesm_prop
 

Detailed Description

Definition at line 55 of file PropertiesTests.cpp.

Constructor & Destructor Documentation

Properties::PropertiesTests::PropertiesTests ( )
inline

Constructor.

Definition at line 109 of file PropertiesTests.cpp.

Properties::PropertiesTests::~PropertiesTests ( )
inline

Destructor.

Definition at line 116 of file PropertiesTests.cpp.

Member Function Documentation

Properties::PropertiesTests::CPPUNIT_TEST ( test_ctor_map  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_Properties_key_value  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_Properties_char  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_Properties_copy  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_Properties_destructor  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_substitute  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_Properties_destructor  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_getName  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_getValue  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_getDefaultValue  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_getLeaf  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_getRoot  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_getProperty  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_getDefault  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_setProperty  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_setDefaults  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_list  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_load  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_store  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_propertyNames  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_size  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_findNode  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_getNode  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_createNode  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_removeNode  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_hasKey  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_clear  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_streamInput  )
private
Properties::PropertiesTests::CPPUNIT_TEST ( test_splitKeyValue  )
private
Properties::PropertiesTests::CPPUNIT_TEST_SUITE ( PropertiesTests  )
private
Properties::PropertiesTests::CPPUNIT_TEST_SUITE_END ( )
private
virtual void Properties::PropertiesTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 123 of file PropertiesTests.cpp.

virtual void Properties::PropertiesTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 150 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_clear ( )
inline

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

  • �ҥΡ��ɤ����٤ƺ������뤫�ɤ�����

Definition at line 1177 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_createNode ( )
inline

createNode()�Υƥ���

  • �ǥե�����ͤ����ꤵ��Ƥ��ꡢ�����̾���ͤ����ꤵ��Ƥ���� ��ˡ���������̾�ο����Ρ��ɺ��������տޤɤ��꼺�Ԥ��뤫��

  • �ǥե�����ͤ����ꤵ��Ƥ��뤬���̾���ͤ����ꤵ��Ƥ��ʤ��� ��ˡ���������̾�ο����Ρ��ɺ��������տޤɤ��꼺�Ԥ��뤫��

  • �ǥե�����ͤ����ꤵ��Ƥ��ʤ������̾���ͤ����ꤵ��Ƥ���� ��ˡ���������̾�ο����Ρ��ɺ��������տޤɤ��꼺�Ԥ��뤫��

  • �ǥե�����͡��̾���ͤΤ���������ꤵ��Ƥ��ʤ����ˡ����� �Ρ��ɺ������������뤫��

Definition at line 1238 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_ctor_map ( )
inline

Properties(std::map<string, string>&)���󥹥ȥ饯���Υƥ���

  • std::map�ǻ��ꤷ���ǥե�����ͤ����ǥե�����ͤȤ����������� ������뤫��

Definition at line 199 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_findNode ( )
inline

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

  • �����ǻ��ꤷ���Ρ��ɤ������������Ǥ��뤫��

Definition at line 1014 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_getDefault ( )
inline

getDefault()�Υƥ���

  • �ǥե�����ͤ����ꤵ��Ƥ��ꡢ�����̾���ͤ����ꤵ��Ƥ���� ��ˡ����������ꤵ��Ƥ���ǥե�����ͤ�����Ǥ��뤫��

  • �ǥե�����ͤ����ꤵ��Ƥ��뤬���̾���ͤ����ꤵ��Ƥ��ʤ��� ��ˡ����������ꤵ��Ƥ���ǥե�����ͤ�����Ǥ��뤫��

  • �ǥե�����ͤ����ꤵ��Ƥ��ʤ������̾���ͤ����ꤵ��Ƥ���� ��ˡ��ǥե�����ͤȤ��ƶ�ʸ���󤬼�������뤫��

  • �ǥե�����͡��̾���ͤΤ���������ꤵ��Ƥ��ʤ����ˡ��ǥե� ����ͤȤ��ƶ�ʸ���󤬼�������뤫��

Definition at line 461 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_getDefaultValue ( )
inline

getDefaultValue(void)�᥽�åɤΥƥ���

  • setDefault�ǻ��ꤷ���ץ��ѥƥ����ͤ���������������뤫��

Definition at line 802 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_getLeaf ( )
inline

getLeaf(void)�᥽�åɤΥƥ���

  • getLeaf�ǻ����Ǥ���������������뤫��

Definition at line 823 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_getName ( )
inline

getName(void)�᥽�åɤΥƥ���

  • ���󥹥ȥ饯���ǻ��ꤷ���ץ��ѥƥ���̾�Τ���������������뤫��

Definition at line 756 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_getNode ( )
inline

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

  • �����ǻ��ꤷ���Ρ��ɤ������������Ǥ��뤫��

Definition at line 1053 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_getProperty ( )
inline

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

  • �ǥե�����ͤ����ꤵ��Ƥ��ꡢ�����̾���ͤ����ꤵ��Ƥ���� ��ˡ��ץ��ѥƥ��ͤȤ����������̾���ͤ���������뤫��
  • �ǥե�����ͤ����ꤵ��Ƥ��뤬���̾���ͤ����ꤵ��Ƥ��ʤ��� ��ˡ��ץ��ѥƥ��ͤȤ����������ǥե�����ͤ���������뤫��
  • �ǥե�����ͤ����ꤵ��Ƥ��ʤ������̾���ͤ����ꤵ��Ƥ���� ��ˡ��ץ��ѥƥ��ͤȤ����������̾���ͤ���������뤫��
  • �ǥե�����͡��̾���ͤΤ���������ꤵ��Ƥ��ʤ����ˡ��ץ� �ѥƥ��ͤȤ�����������ʸ���󤬼�������뤫��

Definition at line 411 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_getRoot ( )
inline

getRoot(void)�᥽�åɤΥƥ���

  • getRoot�ǥ롼�����Ǥ���������������뤫��

Definition at line 858 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_getValue ( )
inline

getValue(void)�᥽�åɤΥƥ���

  • ���󥹥ȥ饯���ǻ��ꤷ���ץ��ѥƥ����ͤ���������������뤫��

Definition at line 783 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_hasKey ( )
inline

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

  • �ҥΡ��ɤ�key�����뤫�ɤ�����

Definition at line 1135 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_list ( )
inline

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

  • ���ꤵ��Ƥ���ץ��ѥƥ��ͤ������������Ϥ���뤫��

  • \�ʥХå�����å���ˤ�ޤ��ͤ������������������׽�������� ���Ϥ���뤫��

Definition at line 537 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_load ( )
inline

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

  • �ץ��ѥƥ��ꥹ�Ȥ�ե����뤫��Properties���֥������Ȥ������� �ɤ߹���뤫��

Definition at line 608 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_operator ( )
inline

operator[]()�᥽�åɤΥƥ���

  • ���ꤵ�줿��������ĥץ��ѥƥ��򡢥ץ��ѥƥ��ꥹ�Ȥ���õ���뤫��

Definition at line 893 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_Properties_char ( )
inline

Definition at line 235 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_Properties_copy ( )
inline

Properties(const Properties& prop)���ԡ����󥹥ȥ饯���Υƥ���

  • prop�ǻ��ꤷ���ǥե�����ͤ������ԡ����֥������Ȥ�����������������뤫��

Definition at line 275 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_Properties_destructor ( )
inline

~Properties(void)�ǥ��ȥ饯���Υƥ���

  • �ǥ��ȥ饯���ˤ�ꥪ�֥������Ȥ���ǡ������������������뤫��

Definition at line 316 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_Properties_key_value ( )
inline

Properties(const char* key = "", const char* value = "")���󥹥ȥ饯���Υƥ���

  • key��value�ǻ��ꤷ���ͤ���������������뤫��

Definition at line 162 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_propertyNames ( )
inline

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

  • �̾�Υץ��ѥƥ��ͤȥǥե�����ͤ�ξ�������ꤵ��Ƥ���ץ��� �ƥ��ˤĤ��ơ�����̾����������뤫��

  • �̾�Υץ��ѥƥ��ͤΤߤ����ꤵ��Ƥ���ץ��ѥƥ��ˤĤ��ơ����� ̾����������뤫��

  • �ǥե�����ͤΤߤ����ꤵ��Ƥ���ץ��ѥƥ��ˤĤ��ơ�����̾�� ��������뤫��

Definition at line 723 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_removeNode ( )
inline

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

  • ���ꤷ���Ρ��ɤ�����������Ǥ��뤫��

Definition at line 1092 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_setDefaults ( )
inline

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

  • �ǥե�����ͤ���Ͽ���������ͤ������������Ǥ��뤫��

Definition at line 935 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_setProperty ( )
inline

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

  • ������˻��ꤷ���ͤ������������ꤵ��뤫��
  • �����������ͤȤ��ơ����������ͤ���������������뤫��

Definition at line 505 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_size ( )
inline

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

  • �ץ��ѥƥ��ο��������������Ǥ��뤫��

Definition at line 976 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_splitKeyValue ( )
inline

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

  • ���������˶���ʸ����ޤ���ˤĤ��ơ��������ͤ�������ʬΥ�� ���뤫��

  • �����ȥǥ�ߥ��δ֤˶���ʸ����ޤ���ˤĤ��ơ��������ͤ��� ����ʬΥ�Ǥ��뤫��

  • �ǥ�ߥ����ͤδ֤˶���ʸ����ޤ���ˤĤ��ơ��������ͤ����� ��ʬΥ�Ǥ��뤫��

    a

  • �ͤθ���˶���ʸ����ޤ���ˤĤ��ơ��������ͤ�������ʬΥ�� ���뤫��

Definition at line 1387 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_store ( )
inline

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

  • ���ꤵ��Ƥ���ץ��ѥƥ��ͤ������������Ϥ���뤫��

  • ���ꤷ���إå�ʸ���󤬡����������Ϥ���뤫��

  • \�ʥХå�����å���ˤ�ޤ��ͤ������������������׽�������� ���Ϥ���뤫��

Definition at line 640 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_streamInput ( )
inline

<<�黻�ҤΥƥ���

  • �ǥե�����ͤϡ����Ϥ���ʤ����Ȥ��ǧ����

  • ���Ĥ�Properties�Τ����������������ꤵ��Ƥ��륭���˴ؤ��ơ� ���ꤵ��Ƥ����̾��ͤ�������������Ѳ����ʤ�����

  • ���Ĥ�Properties��ξ���˶��̤��Ƥ��륭���˴ؤ��ơ����ꤵ��� �����̾��ͤ����Ϥ����ͤǾ�񤭤���뤫��

Definition at line 1298 of file PropertiesTests.cpp.

void Properties::PropertiesTests::test_substitute ( )
inline

=�黻�ҡ������黻�ҡˤΥƥ���

  • �ǥե�����͡��̾��ͤΤ���������ꤵ��Ƥ�����ˡ������ξ ������������������뤫��
  • �ǥե�����ͤΤ����ꤵ��Ƥ��ꡢ�̾��ͤ����ꤵ��Ƥ��ʤ���� �ˡ������ξ������������������뤫��
  • �ǥե�����ͤ����ꤵ��Ƥ��ʤ������̾��ͤ����ꤵ��Ƥ����� �ˡ������ξ������������������뤫��

Definition at line 362 of file PropertiesTests.cpp.

Member Data Documentation

map<string, string> Properties::PropertiesTests::DEFAULTS_CONF
private

Definition at line 100 of file PropertiesTests.cpp.

string Properties::PropertiesTests::EMPTY_STRING
private

Definition at line 99 of file PropertiesTests.cpp.

coil::Properties* Properties::PropertiesTests::m_prop
private

Definition at line 103 of file PropertiesTests.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