Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::nc::ConsumerWithComponentClientTestCaseTest Class Reference

Collaboration diagram for alma::acs::nc::ConsumerWithComponentClientTestCaseTest:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ConsumerWithComponentClientTestCaseTest () throws Exception
void setUp () throws Exception
void tearDown () throws Exception
void testNoOp1 () throws Exception
void testNoOp2 () throws Exception

Private Member Functions

void channelUp () throws AcsJException, InterruptedException
void channelDown () throws AcsJException
boolean namingBindingsContain (String firstBindingName) throws AcsJException

Private Attributes

Helper ncHelper
EventChannel channel

Static Private Attributes

final String channelName = "dummyTestChannel"

Detailed Description

This test should investigate why the ComponentClientTestCase environment fails to create and destroy a notification channel repeatedly.

This problem first showed up in ACSLaser/laser-source when modular tests were converted from (TestCase using ComponentClient) to ComponentClientTestCase. There the Consumer class could not be reinstantiated after a previous test had disconnected the Consumer.


Constructor & Destructor Documentation

alma::acs::nc::ConsumerWithComponentClientTestCaseTest::ConsumerWithComponentClientTestCaseTest  )  throws Exception [inline]
 


Member Function Documentation

void alma::acs::nc::ConsumerWithComponentClientTestCaseTest::channelDown  )  throws AcsJException [inline, private]
 

void alma::acs::nc::ConsumerWithComponentClientTestCaseTest::channelUp  )  throws AcsJException, InterruptedException [inline, private]
 

boolean alma::acs::nc::ConsumerWithComponentClientTestCaseTest::namingBindingsContain String  firstBindingName  )  throws AcsJException [inline, private]
 

void alma::acs::nc::ConsumerWithComponentClientTestCaseTest::setUp  )  throws Exception [inline]
 

void alma::acs::nc::ConsumerWithComponentClientTestCaseTest::tearDown  )  throws Exception [inline]
 

void alma::acs::nc::ConsumerWithComponentClientTestCaseTest::testNoOp1  )  throws Exception [inline]
 

void alma::acs::nc::ConsumerWithComponentClientTestCaseTest::testNoOp2  )  throws Exception [inline]
 

This method will never be called because the second setUp() call will hang in channelUp


Member Data Documentation

EventChannel alma::acs::nc::ConsumerWithComponentClientTestCaseTest::channel [private]
 

final String alma::acs::nc::ConsumerWithComponentClientTestCaseTest::channelName = "dummyTestChannel" [static, private]
 

Helper alma::acs::nc::ConsumerWithComponentClientTestCaseTest::ncHelper [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:54:31 2009 for ACS Java API by doxygen 1.3.8