

Public Member Functions | |
| NCPublisherTest (String name) throws Exception | |
| void | testPublisherSendingEvents () throws Exception |
Protected Member Functions | |
| void | tearDown () throws Exception |
| void | setUp () throws Exception |
Private Attributes | |
| NCPublisher | publisher = null |
| ContainerServices | services = null |
| Logger | logger = null |
This test class aims to test the NCPublisher class.
| alma::acs::nc::refactored::NCPublisherTest::NCPublisherTest | ( | String | name | ) | throws Exception [inline] |
| void alma::acs::nc::refactored::NCPublisherTest::setUp | ( | ) | throws Exception [inline, protected] |
Starts CORBA in the client process and connects to the manager and logger.
Subclasses that override this method must call super.setUp(), likely before any other code in that method.
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::NCPublisherTest::tearDown | ( | ) | throws Exception [inline, protected] |
Releases all previously obtained components (using manager), logs out from the manager, and terminates the CORBA ORB.
Subclasses that override this method must call super.tearDown(), likely after any other code in that method.
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
| void alma::acs::nc::refactored::NCPublisherTest::testPublisherSendingEvents | ( | ) | throws Exception [inline] |
This test creates one Publisher to a channel and send events.
References alma::acs::nc::refactored::NCPublisher::count, publisher, alma::acs::nc::refactored::NCPublisher::publishEvent(), and services.
Logger alma::acs::nc::refactored::NCPublisherTest::logger = null [private] |
Referenced by setUp().
NCPublisher alma::acs::nc::refactored::NCPublisherTest::publisher = null [private] |
Referenced by testPublisherSendingEvents().
ContainerServices alma::acs::nc::refactored::NCPublisherTest::services = null [private] |
Referenced by setUp(), and testPublisherSendingEvents().
1.6.2