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

Classes

struct  functor_erase_if
 test_erase_if()で使用するファンクタ More...
 
struct  functor_find
 test_find()で使用するファンクタ More...
 
struct  functor_for_each
 test_for_each()で使用するファンクタ More...
 

Public Member Functions

 CORBA_SeqUtilTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_back ()
 back()メソッドのテスト More...
 
void test_clear ()
 clear()メソッドのテスト More...
 
void test_erase ()
 erase()メソッドのテスト More...
 
void test_erase_if ()
 erase_if()メソッドのテスト More...
 
void test_find ()
 find()メソッドのテスト More...
 
void test_for_each ()
 for_each()メソッドのテスト More...
 
void test_front ()
 front()メソッドのテスト More...
 
void test_insert ()
 insert()メソッドのテスト More...
 
void test_push_back ()
 push_back()メソッドのテスト More...
 
void test_push_back_list ()
 push_back_list()メソッドのテスト More...
 
void test_refToVstring ()
 refToVstring()メソッドのテスト More...
 
 ~CORBA_SeqUtilTests ()
 Destructor. More...
 

Private Member Functions

 CPPUNIT_TEST (test_for_each)
 
 CPPUNIT_TEST (test_find)
 
 CPPUNIT_TEST (test_push_back)
 
 CPPUNIT_TEST (test_push_back_list)
 
 CPPUNIT_TEST (test_insert)
 
 CPPUNIT_TEST (test_front)
 
 CPPUNIT_TEST (test_back)
 
 CPPUNIT_TEST (test_erase)
 
 CPPUNIT_TEST (test_erase_if)
 
 CPPUNIT_TEST (test_clear)
 
 CPPUNIT_TEST (test_refToVstring)
 
 CPPUNIT_TEST_SUITE (CORBA_SeqUtilTests)
 
 CPPUNIT_TEST_SUITE_END ()
 

Private Attributes

CORBA::Double dl
 
CORBA::Float ft
 
CORBA::Long lg
 
NameValue nv
 
NVList nvlist
 
CORBA::Double rdl
 
CORBA::Float rft
 
CORBA::Long rlg
 
CORBA::Short rst
 
CORBA::Short st
 

Detailed Description

Definition at line 112 of file CORBA_SeqUtilTests.cpp.

Constructor & Destructor Documentation

CORBA_SeqUtil::CORBA_SeqUtilTests::CORBA_SeqUtilTests ( )
inline

Constructor.

Definition at line 143 of file CORBA_SeqUtilTests.cpp.

CORBA_SeqUtil::CORBA_SeqUtilTests::~CORBA_SeqUtilTests ( )
inline

Destructor.

Definition at line 150 of file CORBA_SeqUtilTests.cpp.

Member Function Documentation

CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_for_each  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_find  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_push_back  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_push_back_list  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_insert  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_front  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_back  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_erase  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_erase_if  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_clear  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST ( test_refToVstring  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST_SUITE ( CORBA_SeqUtilTests  )
private
CORBA_SeqUtil::CORBA_SeqUtilTests::CPPUNIT_TEST_SUITE_END ( )
private
virtual void CORBA_SeqUtil::CORBA_SeqUtilTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 157 of file CORBA_SeqUtilTests.cpp.

virtual void CORBA_SeqUtil::CORBA_SeqUtilTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 164 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_back ( )
inline

back()メソッドのテスト

  • 取得対象のNVListの要素数が0の場合、例外がスローされるか?
  • 取得対象のNVListの要素数が1以上の場合、最後尾の要素を取得できるか?

Definition at line 558 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_clear ( )
inline

clear()メソッドのテスト

  • クリアにより要素数が0になるか?

Definition at line 811 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_erase ( )
inline

erase()メソッドのテスト

  • 先頭の要素のみを削除した場合、他要素はそのまま保たれるか?
  • 中間の要素のみを削除した場合、他要素はそのまま保たれるか?
  • 最後尾の要素のみを削除した場合、他要素はそのまま保たれるか?

Definition at line 612 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_erase_if ( )
inline

erase_if()メソッドのテスト

  • 条件に合致する要素がない場合、何も削除されずに保たれるか?
  • 条件に合致する要素がある場合、その要素が削除され、他要素は保たれるか?

Definition at line 730 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_find ( )
inline

find()メソッドのテスト

  • ファンクタを用いたNVList内の要素を正しく検索できるか?

Definition at line 272 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_for_each ( )
inline

for_each()メソッドのテスト

  • 引数で指定されたNVList内のすべての要素について、正しい順序でファンクタが呼び出されるか?
  • ファンクタ呼出時に引数で渡されるNameValueは正しいものか?

Definition at line 192 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_front ( )
inline

front()メソッドのテスト

  • 取得対象のNVListの要素数が0の場合、例外がスローされるか?
  • 取得対象のNVListの要素数が1以上の場合、先頭の要素を取得できるか?

Definition at line 505 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_insert ( )
inline

insert()メソッドのテスト

  • 先頭位置への挿入を正しく行えるか?
  • 最後尾位置への挿入を正しく行えるか?
  • 中間位置への挿入を正しく行えるか?

Definition at line 445 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_push_back ( )
inline

push_back()メソッドのテスト

  • push_backにより追加した各要素の内容が、それぞれ正しく格納されるか?

Definition at line 318 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_push_back_list ( )
inline

push_back_list()メソッドのテスト

  • 一方のNVListの内容を、他方のNVListの後ろに正しくアペンドできるか?

Definition at line 380 of file CORBA_SeqUtilTests.cpp.

void CORBA_SeqUtil::CORBA_SeqUtilTests::test_refToVstring ( )
inline

refToVstring()メソッドのテスト

  • オブジェクトリファレンスの文字列が返されるか?

Definition at line 849 of file CORBA_SeqUtilTests.cpp.

Member Data Documentation

CORBA::Double CORBA_SeqUtil::CORBA_SeqUtilTests::dl
private

Definition at line 137 of file CORBA_SeqUtilTests.cpp.

CORBA::Float CORBA_SeqUtil::CORBA_SeqUtilTests::ft
private

Definition at line 136 of file CORBA_SeqUtilTests.cpp.

CORBA::Long CORBA_SeqUtil::CORBA_SeqUtilTests::lg
private

Definition at line 135 of file CORBA_SeqUtilTests.cpp.

NameValue CORBA_SeqUtil::CORBA_SeqUtilTests::nv
private

Definition at line 132 of file CORBA_SeqUtilTests.cpp.

NVList CORBA_SeqUtil::CORBA_SeqUtilTests::nvlist
private

Definition at line 133 of file CORBA_SeqUtilTests.cpp.

CORBA::Double CORBA_SeqUtil::CORBA_SeqUtilTests::rdl
private

Definition at line 137 of file CORBA_SeqUtilTests.cpp.

CORBA::Float CORBA_SeqUtil::CORBA_SeqUtilTests::rft
private

Definition at line 136 of file CORBA_SeqUtilTests.cpp.

CORBA::Long CORBA_SeqUtil::CORBA_SeqUtilTests::rlg
private

Definition at line 135 of file CORBA_SeqUtilTests.cpp.

CORBA::Short CORBA_SeqUtil::CORBA_SeqUtilTests::rst
private

Definition at line 134 of file CORBA_SeqUtilTests.cpp.

CORBA::Short CORBA_SeqUtil::CORBA_SeqUtilTests::st
private

Definition at line 134 of file CORBA_SeqUtilTests.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:07:59