alma::ACS::jbaci::test::BACIDispatchActionTest Class Reference

Inheritance diagram for alma::ACS::jbaci::test::BACIDispatchActionTest:
Inheritance graph
[legend]
Collaboration diagram for alma::ACS::jbaci::test::BACIDispatchActionTest:
Collaboration graph
[legend]

List of all members.

Classes

class  DisasterCallbackDispatcher
class  DispatchAction
class  ExceptionCallbackDispatcher
class  FirstFailedCallbackDispatcher
class  OverrideTestCallbackDispatcher
class  PerfectCallbackDispatcher
class  TestCallback
class  TestCallbackDispatcher

Public Member Functions

 BACIDispatchActionTest (String name)
void testNormal ()
void testFirstFailed ()
void testAlwaysFails ()
void testException ()
void noErrorOverrideTest (boolean blockingFails)
void testOverrideTest ()
void testOverrideBlockingFailsTest ()
void testOverrideBlockingFailsNoneToOverrideTest ()

Static Public Member Functions

static void main (String[] args)

Protected Member Functions

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

Private Member Functions

void checkResponse (Object value, Completion completion, CBDescIn descIn, Callback callback, DispatchAction response)
void dummyWait ()

Private Attributes

CleaningDaemonThreadFactory threadFactory
Logger logger

Static Private Attributes

static final int RESPONSE_WAIT_TIME = 5000
static final int DUMMY_WAIT_TIME = 2000

Detailed Description

BACIDispatchAction test.

Author:
Matej Sekoranja
Version:
$id$

Constructor & Destructor Documentation

alma::ACS::jbaci::test::BACIDispatchActionTest::BACIDispatchActionTest ( String  name  )  [inline]

Constructor for BACIDispatchActionTest.

Parameters:
name 

Member Function Documentation

void alma::ACS::jbaci::test::BACIDispatchActionTest::checkResponse ( Object  value,
Completion  completion,
CBDescIn  descIn,
Callback  callback,
DispatchAction  response 
) [inline, private]
void alma::ACS::jbaci::test::BACIDispatchActionTest::dummyWait (  )  [inline, private]
static void alma::ACS::jbaci::test::BACIDispatchActionTest::main ( String[]  args  )  [inline, static]
void alma::ACS::jbaci::test::BACIDispatchActionTest::noErrorOverrideTest ( boolean  blockingFails  )  [inline]
void alma::ACS::jbaci::test::BACIDispatchActionTest::setUp (  )  throws Exception [inline, protected]

References logger, and threadFactory.

void alma::ACS::jbaci::test::BACIDispatchActionTest::tearDown (  )  throws Exception [inline, protected]
void alma::ACS::jbaci::test::BACIDispatchActionTest::testAlwaysFails (  )  [inline]
void alma::ACS::jbaci::test::BACIDispatchActionTest::testException (  )  [inline]
void alma::ACS::jbaci::test::BACIDispatchActionTest::testFirstFailed (  )  [inline]
void alma::ACS::jbaci::test::BACIDispatchActionTest::testNormal (  )  [inline]
void alma::ACS::jbaci::test::BACIDispatchActionTest::testOverrideBlockingFailsNoneToOverrideTest (  )  [inline]
void alma::ACS::jbaci::test::BACIDispatchActionTest::testOverrideBlockingFailsTest (  )  [inline]

Override policy test.

References noErrorOverrideTest().

void alma::ACS::jbaci::test::BACIDispatchActionTest::testOverrideTest (  )  [inline]

Override policy test.

References noErrorOverrideTest().


Member Data Documentation

Dummy response wait time in ms. Defaults to 2s.

Referenced by dummyWait().

Referenced by setUp(), and tearDown().

Thread factory for BACI FW.

Referenced by setUp(), and tearDown().


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

Generated by  doxygen 1.6.2