alma::acs::nc::refactored::NCSubscriberTest Class Reference

Inheritance diagram for alma::acs::nc::refactored::NCSubscriberTest:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::nc::refactored::NCSubscriberTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NCSubscriberTest (String name) throws Exception
void testGenericCallback () throws Exception
void testGenericCallbackWithPriority () throws Exception
void testWithGenericSubscription () throws Exception
void testCombinedSubscriptions () throws Exception
void testRemoveAllSubscription () throws Exception
void testDisconnect () throws Exception
void testMultipleSubscribers () throws Exception
void testOldSubscriber () throws Exception

Protected Member Functions

void setUp () throws Exception

Private Attributes

NCSubscriberDirect subscriber = null
NCSubscriberDirect otherSubscriber = null
ContainerServices services = null
Logger logger = null

Detailed Description

This test class aims to investigate how reuse the Admin Object. Also the filtering capabilities are checked.

Author:
jslopez

Constructor & Destructor Documentation

alma::acs::nc::refactored::NCSubscriberTest::NCSubscriberTest ( String  name  )  throws Exception [inline]

Member Function Documentation

void alma::acs::nc::refactored::NCSubscriberTest::setUp (  )  throws Exception [inline, protected]
void alma::acs::nc::refactored::NCSubscriberTest::testCombinedSubscriptions (  )  throws Exception [inline]

This test aims to determinate the behavior of using specific subscriptions and a generic one combined.

References services, and subscriber.

void alma::acs::nc::refactored::NCSubscriberTest::testDisconnect (  )  throws Exception [inline]

This test checks the removeGenericSubscription method.

References services, and subscriber.

void alma::acs::nc::refactored::NCSubscriberTest::testGenericCallback (  )  throws Exception [inline]

This test creates a Suscriber and add all event types giving a proper generic receiver callback.

References services, and subscriber.

void alma::acs::nc::refactored::NCSubscriberTest::testGenericCallbackWithPriority (  )  throws Exception [inline]

This test creates Suscriber and add all event types giving a proper generic receiver callback and then add a particular subscription. The goal of this test is to check the priority on the receiver handler.

References services, and subscriber.

void alma::acs::nc::refactored::NCSubscriberTest::testMultipleSubscribers (  )  throws Exception [inline]

This test checks the behavior of concurrent subscriber clients.

References otherSubscriber, services, and subscriber.

void alma::acs::nc::refactored::NCSubscriberTest::testOldSubscriber (  )  throws Exception [inline]

This test checks the behavior of the current subscriber client concurrently with the old API.

References alma::acs::nc::Consumer::addSubscription(), alma::acs::nc::Consumer::consumerReady(), services, and subscriber.

void alma::acs::nc::refactored::NCSubscriberTest::testRemoveAllSubscription (  )  throws Exception [inline]

This tests check the behavior of calling the removeSubscription with null as parameter.

References services, and subscriber.

void alma::acs::nc::refactored::NCSubscriberTest::testWithGenericSubscription (  )  throws Exception [inline]

This test aims to test the add/remove of the generic handler.

References services, and subscriber.


Member Data Documentation

Referenced by setUp().

Referenced by testMultipleSubscribers().


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

Generated by  doxygen 1.6.2