Protected Member Functions | |
void | _destroyDirectoryRecurs (std::string path) |
Protected Attributes | |
CORBA::ORB_var | _orb |
SALOME_NamingService | _NS |
PortableServer::POA_var | _root_poa |
PortableServer::POAManager_var | _pman |
PortableServer::ObjectId_var | _myFactoryId |
NSTEST_aFactory_i * | _myFactory |
CORBA::Object_var | _factoryRef |
void NamingServiceTest::tearDown | ( | ) |
void NamingServiceTest::testConstructorDefault | ( | ) |
Test default constructor: must be followed by a call to init_orb(ORB)
void NamingServiceTest::testConstructorOrb | ( | ) |
Test constructor with ORB parameter
void NamingServiceTest::testRegisterResolveAbsNoPath | ( | ) |
Test Register and resolve of a single CORBA object with absolute pathname, without subdirectories
void NamingServiceTest::testRegisterResolveRelativeNoPath | ( | ) |
Test Register and resolve of a single CORBA object with relative pathname, without subdirectories
void NamingServiceTest::testRegisterResolveAbsWithPath | ( | ) |
Test Register and resolve of a single CORBA object with absolute pathname, in a subdirectory
void NamingServiceTest::testRegisterResolveRelativeWithPath | ( | ) |
Test Register and resolve of a single CORBA object with relative pathname, in a subdirectory. Relative Path is changed to the created subdirectory when Register()
void NamingServiceTest::testResolveBadName | ( | ) |
Test resolve with a name not known
void NamingServiceTest::testResolveBadNameRelative | ( | ) |
Test resolve with a name not known, with a relative path
void NamingServiceTest::testResolveFirstRelative | ( | ) |
Test register and resolve multiple objects, test resolveFirst, relative path Register a few objects in /nstestfirstrel/echo_n where n is the object id. Resolve all the objects. ResolveFirst echo with a relative path /nstestfirstrel must give /nstestfirst/echo_i, corresponding to the first object.
void NamingServiceTest::testResolveFirstUnknown | ( | ) |
Test resolveFirst with unknown name
void NamingServiceTest::testResolveFirstUnknownRelative | ( | ) |
Test resolveFirst with unknown name, relative Path
void NamingServiceTest::testResolveComponentOK | ( | ) |
Test ResolveComponent works as specified
void NamingServiceTest::testResolveComponentEmptyHostname | ( | ) |
Test ResolveComponent gives nil pointer if hostname is not given (empty)
void NamingServiceTest::testResolveComponentUnknownHostname | ( | ) |
Test ResolveComponent gives nil pointer if hostname is unknown
void NamingServiceTest::testResolveComponentEmptyContainerName | ( | ) |
Test ResolveComponent when containerName is empty. check bad hostname gives nil pointer. If componentName registered on a container from hostname, a component reference is found (the first one). Else give nil pointer.
void NamingServiceTest::testResolveComponentUnknownContainerName | ( | ) |
Test
void NamingServiceTest::testResolveComponentEmptyComponentName | ( | ) |
Test
void NamingServiceTest::testResolveComponentUnknownComponentName | ( | ) |
Test
void NamingServiceTest::testResolveComponentFalseNbproc | ( | ) |
void NamingServiceTest::testContainerName | ( | ) |
Test
void NamingServiceTest::testContainerNameParams | ( | ) |
Test
void NamingServiceTest::testBuildContainerNameForNS | ( | ) |
Test
void NamingServiceTest::testBuildContainerNameForNSParams | ( | ) |
Test
void NamingServiceTest::testFind | ( | ) |
Test
void NamingServiceTest::testCreateDirectory | ( | ) |
Test
void NamingServiceTest::testChangeDirectory | ( | ) |
Test
void NamingServiceTest::testCurrentDirectory | ( | ) |
Test
void NamingServiceTest::testList | ( | ) |
Test
void NamingServiceTest::testListDirectory | ( | ) |
Test
void NamingServiceTest::testListDirectoryRecurs | ( | ) |
Test
void NamingServiceTest::testListSubdirs | ( | ) |
Test
void NamingServiceTest::testDestroyName | ( | ) |
Test
void NamingServiceTest::testDestroyDirectory | ( | ) |
Test
void NamingServiceTest::testGetIorAddr | ( | ) |
Test
|
protected |
DestroyFullDirectory is not recursive Need Housekeeping of /Containers for further tests !