alma::ACS::MasterComponentImpl::statemachine::StateMachineTest Class Reference

Inheritance diagram for alma::ACS::MasterComponentImpl::statemachine::StateMachineTest:
Inheritance graph
[legend]
Collaboration diagram for alma::ACS::MasterComponentImpl::statemachine::StateMachineTest:
Collaboration graph
[legend]

List of all members.

Classes

class  DummyActionImpl
class  MyStateChangeSemaphore

Public Member Functions

void setUp ()
void stateChangedNotify (AcsState[] oldStateHierarchy, AcsState[] currentStateHierarchy)
void testLegalLifecycle () throws Exception
void testIllegalEvent () throws Exception
void testActionException () throws Exception
void testReentryToCompositeState () throws Exception

Private Member Functions

void assertStateHierarchy (String expectedPath)

Private Attributes

AlmaSubsystemContext m_context
DummyActionImpl m_actionImpl
AcsLogger m_logger
MyStateChangeSemaphore m_sync

Detailed Description

Tests the state machine from alma.ACS.MasterComponentImpl.statemachine without the Master component on top of it. No running ACS needed.

Author:
hsommer created Mar 3, 2004 3:27:56 PM

Member Function Documentation

void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::assertStateHierarchy ( String  expectedPath  )  [inline, private]
void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::setUp (  )  [inline]
void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::stateChangedNotify ( AcsState[]  oldStateHierarchy,
AcsState[]  currentStateHierarchy 
) [inline]
See also:
alma.ACS.MasterComponentImpl.statemachine.AcsStateChangeListener::stateChangedNotify(alma.ACS.MasterComponentImpl.statemachine.AcsState[], alma.ACS.MasterComponentImpl.statemachine.AcsState[])

Implements alma::acs::genfw::runtime::sm::AcsStateChangeListener.

References m_logger.

void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::testActionException (  )  throws Exception [inline]
void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::testIllegalEvent (  )  throws Exception [inline]
void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::testLegalLifecycle (  )  throws Exception [inline]
void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::testReentryToCompositeState (  )  throws Exception [inline]

Member Data Documentation


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

Generated by  doxygen 1.6.2