alma::acs::lasercore::test::IDLSendAlarmTest Class Reference

Inheritance diagram for alma::acs::lasercore::test::IDLSendAlarmTest:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::lasercore::test::IDLSendAlarmTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IDLSendAlarmTest () throws Exception
void alarmReceived (AlarmView alarm)
void testSendAlarmThroughIDL () throws Exception

Protected Member Functions

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

Private Attributes

CategoryClient categoryClient
ContainerServices contSvcs
Logger logger
CERNAlarmService alarmService = null
final List< AlarmViewalarms = Collections.synchronizedList(new LinkedList<AlarmView>())

Static Private Attributes

static final String IDLTestFF = "IDLFamily"
static final String IDLTestFM = "IDLMember"
static final int IDLTestFC = 1

Detailed Description

Test the sending of alarms through the submitAlarm IDL method

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::lasercore::test::IDLSendAlarmTest::IDLSendAlarmTest (  )  throws Exception [inline]

Constructor

Exceptions:
Exception 

Member Function Documentation

void alma::acs::lasercore::test::IDLSendAlarmTest::alarmReceived ( AlarmView  alarm  )  [inline]
void alma::acs::lasercore::test::IDLSendAlarmTest::setUp (  )  throws Exception [inline, protected]
void alma::acs::lasercore::test::IDLSendAlarmTest::tearDown (  )  throws Exception [inline, protected]
void alma::acs::lasercore::test::IDLSendAlarmTest::testSendAlarmThroughIDL (  )  throws Exception [inline]

Send an alarm with the IDL method

Exceptions:
Exception 

References alarms, alarmService, IDLTestFC, IDLTestFF, IDLTestFM, logger, and alma::alarmsystem::AlarmServiceOperations::submitAlarm().


Member Data Documentation

final List<AlarmView> alma::acs::lasercore::test::IDLSendAlarmTest::alarms = Collections.synchronizedList(new LinkedList<AlarmView>()) [private]

The vector with the alarms received from the categories. The key is the alarm ID

Referenced by alarmReceived(), setUp(), tearDown(), and testSendAlarmThroughIDL().

The alarm service

Referenced by setUp(), and testSendAlarmThroughIDL().

The category client

Referenced by setUp(), and tearDown().

Container services

Referenced by setUp().

The fault code of the test alarm

Referenced by alarmReceived(), and testSendAlarmThroughIDL().

final String alma::acs::lasercore::test::IDLSendAlarmTest::IDLTestFF = "IDLFamily" [static, private]

The fault family of the test alarm

Referenced by alarmReceived(), and testSendAlarmThroughIDL().

final String alma::acs::lasercore::test::IDLSendAlarmTest::IDLTestFM = "IDLMember" [static, private]

The fault member of the test alarm

Referenced by alarmReceived(), and testSendAlarmThroughIDL().

The logger

Referenced by setUp(), and testSendAlarmThroughIDL().


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

Generated by  doxygen 1.6.2