com::cosylab::cdb::jdal::tests::TestJDAL Class Reference

Inheritance diagram for com::cosylab::cdb::jdal::tests::TestJDAL:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::cdb::jdal::tests::TestJDAL:
Collaboration graph
[legend]

List of all members.

Classes

class  ChangeListener

Public Member Functions

 TestJDAL (String arg0)
void testListNodes ()
void testChangeListener ()
void testListContext () throws Exception
void testLookupContext () throws Exception

Static Public Member Functions

static TestSuite suite ()
static void main (String args[])

Protected Member Functions

void setUp () throws Exception
void tearDown () throws Exception

Private Attributes

String strIOR = "corbaloc::" + ACSPorts.getIP() + ":" + ACSPorts.getCDBPort() + "/CDB"
ORB orb
JDAL dal
boolean objectChanged

Detailed Description

Author:
dragan

Constructor & Destructor Documentation

com::cosylab::cdb::jdal::tests::TestJDAL::TestJDAL ( String  arg0  )  [inline]

This test constructor


Member Function Documentation

static void com::cosylab::cdb::jdal::tests::TestJDAL::main ( String  args[]  )  [inline, static]

If we are called from java directly

References suite().

void com::cosylab::cdb::jdal::tests::TestJDAL::setUp (  )  throws Exception [inline, protected]

References dal, orb, and strIOR.

static TestSuite com::cosylab::cdb::jdal::tests::TestJDAL::suite (  )  [inline, static]

Creates a suite for this test

Returns:
TestSuite

Referenced by main().

void com::cosylab::cdb::jdal::tests::TestJDAL::tearDown (  )  throws Exception [inline, protected]
void com::cosylab::cdb::jdal::tests::TestJDAL::testChangeListener (  )  [inline]
void com::cosylab::cdb::jdal::tests::TestJDAL::testListContext (  )  throws Exception [inline]

Listing different contexts - simple and XML contexts We shouldn't see any difference in listing just 'directory' context or listing inside a XML data

References strIOR.

void com::cosylab::cdb::jdal::tests::TestJDAL::testListNodes (  )  [inline]

Tests listing function

References dal, and com::cosylab::CDB::DALOperations::list_nodes().

void com::cosylab::cdb::jdal::tests::TestJDAL::testLookupContext (  )  throws Exception [inline]

Test lookup functions. We can just obtain an InitialContext and then use it to get any information in the CDB

References strIOR.


Member Data Documentation

Referenced by setUp(), and testChangeListener().

String com::cosylab::cdb::jdal::tests::TestJDAL::strIOR = "corbaloc::" + ACSPorts.getIP() + ":" + ACSPorts.getCDBPort() + "/CDB" [private]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2