

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 |
This test class aims to investigate how reuse the Admin Object. Also the filtering capabilities are checked.
| alma::acs::nc::refactored::NCSubscriberTest::NCSubscriberTest | ( | String | name | ) | throws Exception [inline] |
| void alma::acs::nc::refactored::NCSubscriberTest::setUp | ( | ) | throws Exception [inline, protected] |
Getting common references.
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
References alma::acs::component::client::ComponentClientTestCase::getContainerServices(), alma::acs::container::ContainerServicesBase::getLogger(), logger, and services.
| 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.
Logger alma::acs::nc::refactored::NCSubscriberTest::logger = null [private] |
Referenced by setUp().
Referenced by testMultipleSubscribers().
ContainerServices alma::acs::nc::refactored::NCSubscriberTest::services = null [private] |
1.6.2