alma::alarmsystem::source::test::FaultStateTest Class Reference

Collaboration diagram for alma::alarmsystem::source::test::FaultStateTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FaultStateTest (String str)
void testEmptyConstructor () throws Exception
void testConstructor () throws Exception
void testDescriptor () throws Exception

Protected Member Functions

void setUp () throws Exception
void tearDown ()

Package Attributes

String FF
String FM
int FC
String descriptor

Constructor & Destructor Documentation

alma::alarmsystem::source::test::FaultStateTest::FaultStateTest ( String  str  )  [inline]

Member Function Documentation

void alma::alarmsystem::source::test::FaultStateTest::setUp (  )  throws Exception [inline, protected]

This execute for each test and we want to have a cache with some logs

See also:
junit.framework.TestCase

References descriptor, FC, FF, and FM.

void alma::alarmsystem::source::test::FaultStateTest::tearDown (  )  [inline, protected]
See also:
junit.framework.TestCase
void alma::alarmsystem::source::test::FaultStateTest::testConstructor (  )  throws Exception [inline]

Check the FS created with the non-empty constructor 1. Build a FS with a FM, FS, FC 2. Check the value of FM, FS, FC

Exceptions:
Exception 

References FC, FF, FM, alma::alarmsystem::source::ACSFaultStateImpl::getCode(), alma::alarmsystem::source::ACSFaultStateImpl::getFamily(), and alma::alarmsystem::source::ACSFaultStateImpl::getMember().

void alma::alarmsystem::source::test::FaultStateTest::testDescriptor (  )  throws Exception [inline]

Check the descriptor 1. Create a FS 2. Assign a value to the descriptor 3. Check the value of the descriptor

Exceptions:
Exception 

References descriptor, FC, FF, FM, alma::alarmsystem::source::ACSFaultStateImpl::getDescriptor(), and alma::alarmsystem::source::ACSFaultStateImpl::setDescriptor().

void alma::alarmsystem::source::test::FaultStateTest::testEmptyConstructor (  )  throws Exception [inline]

Member Data Documentation

Referenced by setUp(), and testDescriptor().


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

Generated by  doxygen 1.6.2