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

Public Member Functions

 CorbaNamingTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_bind ()
 bind()メソッドのテスト More...
 
void test_bind_already_bound ()
 bind()メソッドのテスト More...
 
void test_bindByString ()
 bindByString()メソッドのテスト More...
 
void test_bindContext ()
 bindContext()メソッドのテスト More...
 
void test_bindContextRecursive ()
 bindContextRecursive()メソッドのテスト More...
 
void test_bindNewContext ()
 bindNewContext()メソッドのテスト More...
 
void test_bindOrResolve ()
 bindOrResolve()メソッドのテスト More...
 
void test_bindOrResolveContext ()
 bindOrResolveContext()メソッドのテスト More...
 
void test_bindRecursive ()
 bindRecursive()メソッドのテスト More...
 
void test_destroy ()
 
void test_destroyRecursive ()
 
void test_rebind ()
 rebind()メソッドのテスト More...
 
void test_rebindByString ()
 rebindByString()メソッドのテスト More...
 
void test_rebindContext ()
 rebindContext()メソッドのテスト More...
 
void test_rebindContextRecursive ()
 rebindContextRecursive()メソッドのテスト More...
 
void test_resolve ()
 
void test_resolveStr ()
 getNameServer(), toString(), toUrl(), resolveStr()メソッドのテスト More...
 
void test_unbind ()
 unbind()メソッドのテスト More...
 
void tset_rebindRecursive ()
 rebindRecursive()メソッドのテスト More...
 
virtual ~CorbaNamingTests ()
 Destructor. More...
 

Private Member Functions

 CPPUNIT_TEST (test_resolveStr)
 
 CPPUNIT_TEST (test_bindOrResolve)
 
 CPPUNIT_TEST (test_bindOrResolveContext)
 
 CPPUNIT_TEST (test_bind)
 
 CPPUNIT_TEST (test_bindByString)
 
 CPPUNIT_TEST (test_bindRecursive)
 
 CPPUNIT_TEST (test_bind_already_bound)
 
 CPPUNIT_TEST (test_rebind)
 
 CPPUNIT_TEST (test_rebindByString)
 
 CPPUNIT_TEST (tset_rebindRecursive)
 
 CPPUNIT_TEST (test_bindContext)
 
 CPPUNIT_TEST (test_bindContextRecursive)
 
 CPPUNIT_TEST (test_rebindContext)
 
 CPPUNIT_TEST (test_rebindContextRecursive)
 
 CPPUNIT_TEST (test_unbind)
 
 CPPUNIT_TEST (test_bindNewContext)
 
 CPPUNIT_TEST (test_destroyRecursive)
 
 CPPUNIT_TEST_SUITE (CorbaNamingTests)
 
 CPPUNIT_TEST_SUITE_END ()
 
void printName (CosNaming::Name name)
 
CORBA::Object_ptr resolveRecursive (const char *fullName)
 

Private Attributes

RTC::CorbaNamingm_pNaming
 
CORBA::ORB_ptr m_pORB
 
PortableServer::POA_ptr m_pPOA
 

Detailed Description

Definition at line 64 of file CorbaNamingTests.cpp.

Constructor & Destructor Documentation

◆ CorbaNamingTests()

CorbaNaming::CorbaNamingTests::CorbaNamingTests ( )
inline

Constructor.

Definition at line 150 of file CorbaNamingTests.cpp.

◆ ~CorbaNamingTests()

virtual CorbaNaming::CorbaNamingTests::~CorbaNamingTests ( )
inlinevirtual

Destructor.

Definition at line 157 of file CorbaNamingTests.cpp.

Member Function Documentation

◆ CPPUNIT_TEST() [1/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_resolveStr  )
private

◆ CPPUNIT_TEST() [2/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_bindOrResolve  )
private

◆ CPPUNIT_TEST() [3/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_bindOrResolveContext  )
private

◆ CPPUNIT_TEST() [4/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_bind  )
private

◆ CPPUNIT_TEST() [5/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_bindByString  )
private

◆ CPPUNIT_TEST() [6/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_bindRecursive  )
private

◆ CPPUNIT_TEST() [7/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_bind_already_bound  )
private

◆ CPPUNIT_TEST() [8/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_rebind  )
private

◆ CPPUNIT_TEST() [9/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_rebindByString  )
private

◆ CPPUNIT_TEST() [10/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( tset_rebindRecursive  )
private

◆ CPPUNIT_TEST() [11/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_bindContext  )
private

◆ CPPUNIT_TEST() [12/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_bindContextRecursive  )
private

◆ CPPUNIT_TEST() [13/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_rebindContext  )
private

◆ CPPUNIT_TEST() [14/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_rebindContextRecursive  )
private

◆ CPPUNIT_TEST() [15/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_unbind  )
private

◆ CPPUNIT_TEST() [16/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_bindNewContext  )
private

◆ CPPUNIT_TEST() [17/17]

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST ( test_destroyRecursive  )
private

◆ CPPUNIT_TEST_SUITE()

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST_SUITE ( CorbaNamingTests  )
private

◆ CPPUNIT_TEST_SUITE_END()

CorbaNaming::CorbaNamingTests::CPPUNIT_TEST_SUITE_END ( )
private

◆ printName()

void CorbaNaming::CorbaNamingTests::printName ( CosNaming::Name  name)
inlineprivate

Definition at line 127 of file CorbaNamingTests.cpp.

◆ resolveRecursive()

CORBA::Object_ptr CorbaNaming::CorbaNamingTests::resolveRecursive ( const char *  fullName)
inlineprivate

Definition at line 89 of file CorbaNamingTests.cpp.

◆ setUp()

virtual void CorbaNaming::CorbaNamingTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 164 of file CorbaNamingTests.cpp.

◆ tearDown()

virtual void CorbaNaming::CorbaNamingTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 182 of file CorbaNamingTests.cpp.

◆ test_bind()

void CorbaNaming::CorbaNamingTests::test_bind ( )
inline

bind()メソッドのテスト

  • オブジェクトをバインドし、それが正しく設定されるか?

Definition at line 304 of file CorbaNamingTests.cpp.

◆ test_bind_already_bound()

void CorbaNaming::CorbaNamingTests::test_bind_already_bound ( )
inline

bind()メソッドのテスト

  • すでにバインド済みの名称を指定してバインドを試みた場合、意図どおりの例外がスローされるか?

Definition at line 384 of file CorbaNamingTests.cpp.

◆ test_bindByString()

void CorbaNaming::CorbaNamingTests::test_bindByString ( )
inline

bindByString()メソッドのテスト

  • オブジェクトをバインドし、それが正しく設定されるか?

Definition at line 326 of file CorbaNamingTests.cpp.

◆ test_bindContext()

void CorbaNaming::CorbaNamingTests::test_bindContext ( )
inline

bindContext()メソッドのテスト

  • NamingContextを正しくバインドできるか?

Definition at line 519 of file CorbaNamingTests.cpp.

◆ test_bindContextRecursive()

void CorbaNaming::CorbaNamingTests::test_bindContextRecursive ( )
inline

bindContextRecursive()メソッドのテスト

  • バインド先となるコンテキストを指定して、バインド対象となるコンテキストをバインドできるか?

Definition at line 550 of file CorbaNamingTests.cpp.

◆ test_bindNewContext()

void CorbaNaming::CorbaNamingTests::test_bindNewContext ( )
inline

bindNewContext()メソッドのテスト

  • 新しいコンテキストをバインドできるか?
  • バインドしたコンテキストを利用してオブジェクト参照を正しくバインドできるか?

Definition at line 727 of file CorbaNamingTests.cpp.

◆ test_bindOrResolve()

void CorbaNaming::CorbaNamingTests::test_bindOrResolve ( )
inline

bindOrResolve()メソッドのテスト

  • オブジェクトの名前をバインドまたは解決できるか

Definition at line 229 of file CorbaNamingTests.cpp.

◆ test_bindOrResolveContext()

void CorbaNaming::CorbaNamingTests::test_bindOrResolveContext ( )
inline

bindOrResolveContext()メソッドのテスト

  • 名前をバインドまたは解決できるか

Definition at line 265 of file CorbaNamingTests.cpp.

◆ test_bindRecursive()

void CorbaNaming::CorbaNamingTests::test_bindRecursive ( )
inline

bindRecursive()メソッドのテスト

  • オブジェクトをバインドし、それが正しく設定されるか?

Definition at line 349 of file CorbaNamingTests.cpp.

◆ test_destroy()

void CorbaNaming::CorbaNamingTests::test_destroy ( )
inline

Definition at line 749 of file CorbaNamingTests.cpp.

◆ test_destroyRecursive()

void CorbaNaming::CorbaNamingTests::test_destroyRecursive ( )
inline

Definition at line 754 of file CorbaNamingTests.cpp.

◆ test_rebind()

void CorbaNaming::CorbaNamingTests::test_rebind ( )
inline

rebind()メソッドのテスト

  • すでにバインド済みの名称を指定してリバインドを試みた場合、新しいバインディングに置き換わるか?

Definition at line 414 of file CorbaNamingTests.cpp.

◆ test_rebindByString()

void CorbaNaming::CorbaNamingTests::test_rebindByString ( )
inline

rebindByString()メソッドのテスト

  • すでにバインド済みの名称を指定してリバインドを試みた場合、新しいバインディングに置き換わるか?

Definition at line 445 of file CorbaNamingTests.cpp.

◆ test_rebindContext()

void CorbaNaming::CorbaNamingTests::test_rebindContext ( )
inline

rebindContext()メソッドのテスト

  • すでにバインド済みのコンテキストを同じ位置に別のコンテキストのバインドし、正しくリバインドできることを確認する

Definition at line 590 of file CorbaNamingTests.cpp.

◆ test_rebindContextRecursive()

void CorbaNaming::CorbaNamingTests::test_rebindContextRecursive ( )
inline

rebindContextRecursive()メソッドのテスト

  • すでにバインド済みのコンテキストと同じ位置に、異なるコンテキストを正しくリバインドできるか?

Definition at line 630 of file CorbaNamingTests.cpp.

◆ test_resolve()

void CorbaNaming::CorbaNamingTests::test_resolve ( )
inline

Definition at line 676 of file CorbaNamingTests.cpp.

◆ test_resolveStr()

void CorbaNaming::CorbaNamingTests::test_resolveStr ( )
inline

getNameServer(), toString(), toUrl(), resolveStr()メソッドのテスト

Definition at line 192 of file CorbaNamingTests.cpp.

◆ test_unbind()

void CorbaNaming::CorbaNamingTests::test_unbind ( )
inline

unbind()メソッドのテスト

  • バインド済みのオブジェクトを正常にアンバインドできるか?
  • アンバインド済みのオブジェクトの解決を試みて、意図どおりの例外がスローされるか?

Definition at line 687 of file CorbaNamingTests.cpp.

◆ tset_rebindRecursive()

void CorbaNaming::CorbaNamingTests::tset_rebindRecursive ( )
inline

rebindRecursive()メソッドのテスト

  • すでにバインド済みの名称を指定してリバインドを試みた場合、正しく新しいバインディングに置き換わるか?

Definition at line 476 of file CorbaNamingTests.cpp.

Member Data Documentation

◆ m_pNaming

RTC::CorbaNaming* CorbaNaming::CorbaNamingTests::m_pNaming
private

Definition at line 144 of file CorbaNamingTests.cpp.

◆ m_pORB

CORBA::ORB_ptr CorbaNaming::CorbaNamingTests::m_pORB
private

Definition at line 142 of file CorbaNamingTests.cpp.

◆ m_pPOA

PortableServer::POA_ptr CorbaNaming::CorbaNamingTests::m_pPOA
private

Definition at line 143 of file CorbaNamingTests.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