ChimeraTK-ApplicationCore  04.01.00
Tests::testInitialValues Namespace Reference

Classes

struct  ConstantD10DummyApplication
 
struct  ConstantD10InitialValueEceptionDummy
 
struct  ConstantModule
 
struct  ConstantTestApplication
 
struct  D9InitialValueEceptionDummy
 
struct  InputModule
 
struct  NotifyingModule
 
struct  PollDummyApplication
 
struct  PollModule
 
struct  ProcessArryDummyApplication
 
struct  PushD9DummyApplication
 
struct  PushDummyApplication
 
struct  PushModuleD91
 
struct  PushModuleD92
 
struct  ReaderModule
 
struct  ScalarOutputModule
 
struct  Test6A1DummyApplication
 
struct  Test6A1InitialValueEceptionDummy
 
struct  Test6A2DummyApplication
 
struct  Test6A2InitialValueEceptionDummy
 
struct  Test6A3DummyApplication
 
struct  Test6A3InitialValueEceptionDummy
 
struct  Test6A4DummyApplication
 
struct  Test6A4InitialValueEceptionDummy
 
struct  Test6BDummyApplication
 
struct  Test6BInitialValueEceptionDummy
 
struct  Test6CDummyApplication
 
struct  Test6CInitialValueEceptionDummy
 
struct  Test7DummyApplication
 
struct  TestDummyApplication
 
struct  TestFixtureWithEceptionDummy
 
struct  TestInitialValueExceptionDummy
 
struct  TestModule
 
struct  TriggerFanOutD9DummyApplication
 
struct  TriggerFanOutInitialValueEceptionDummy
 
struct  TriggerModule
 
struct  WriterModule
 

Typedefs

using DeviceTestApplicationTypes = boost::mpl::list< PushDummyApplication, PollDummyApplication >
 Test Initial Values - Inputs of ApplicationModules InitialValuesInputsOfApplicationCore_D_8 "D.8". More...
 
using TestInputTypes = boost::mpl::list< ctk::ScalarPollInput< int >, ctk::ScalarPushInput< int > >
 

Functions

 BOOST_AUTO_TEST_CASE_TEMPLATE (testInitValueAtDevice8bi, APPLICATION_TYPE, DeviceTestApplicationTypes)
 For device variables the ExceptionHandlingDecorator freezes the variable until the device is available. More...
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (testProcessArrayInitValueAtDevice8bii, INPUT_TYPE, TestInputTypes)
 ProcessArray freeze in their implementation until the initial value is received. More...
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (testConstantInitValueAtDevice8biii, INPUT_TYPE, TestInputTypes)
 Constants can be read exactly once in case of AccessMode::wait_for_new_data, so the initial value can be received. More...
 
 BOOST_AUTO_TEST_CASE (testPushInitValueAtDeviceD9)
 D 9 b for ThreadedFanOut. More...
 
 BOOST_AUTO_TEST_CASE (testTriggerFanOutInitValueAtDeviceD9)
 D 9 b for TriggerFanOut. More...
 
 BOOST_AUTO_TEST_CASE (testConstantD10InitialValue)
 D 10 for Constant. More...
 
 BOOST_AUTO_TEST_CASE (testD1InitialValue)
 D 1 for DataValidity::faulty. More...
 
 BOOST_AUTO_TEST_CASE (testD2InitialValue)
 D 2 for DataValidity::faulty. More...
 
 BOOST_AUTO_TEST_CASE (testD3InitialValue)
 D 3 for DataValidity::faulty. More...
 
 BOOST_AUTO_TEST_CASE (testD7_1_InitialValue)
 D 7_1. More...
 
 BOOST_AUTO_TEST_CASE (testD7_2_InitialValue)
 D 7_2. More...
 
 BOOST_AUTO_TEST_CASE (testD6_a1_InitialValue)
 D 6_a1 initial value from control system variable. More...
 
 BOOST_AUTO_TEST_CASE (testD6_a2_InitialValue)
 D 6_a2 initial value from device in poll mode. More...
 
 BOOST_AUTO_TEST_CASE (testD6_a3_InitialValue)
 D 6_a3 initial value from device in push mode. More...
 
 BOOST_AUTO_TEST_CASE (testD6_a4_InitialValue)
 D 6_a4 initial value from output. More...
 
 BOOST_AUTO_TEST_CASE (testD6_b_InitialValue)
 D 6_b initial value from device in poll mode. More...
 
 BOOST_AUTO_TEST_CASE (testD6_c_InitialValue)
 D 6_c initial value from device in push mode. More...
 

Typedef Documentation

◆ DeviceTestApplicationTypes

Test Initial Values - Inputs of ApplicationModules InitialValuesInputsOfApplicationCore_D_8 "D.8".

Definition at line 99 of file testInitialValueSpecD8.cc.

◆ TestInputTypes

Definition at line 158 of file testInitialValueSpecD8.cc.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testConstantD10InitialValue  )

D 10 for Constant.

initialValue_d_10

Definition at line 432 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD1InitialValue  )

D 1 for DataValidity::faulty.

testD1InitialValue_D_1

Definition at line 502 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD2InitialValue  )

D 2 for DataValidity::faulty.

testD1InitialValue_D_2

Definition at line 519 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD3InitialValue  )

D 3 for DataValidity::faulty.

testD1InitialValue_D_3

Definition at line 535 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD6_a1_InitialValue  )

D 6_a1 initial value from control system variable.

testD6_a1_InitialValue

Definition at line 645 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD6_a2_InitialValue  )

D 6_a2 initial value from device in poll mode.

testD6_a2_InitialValue

The push type variable dev2/REG1 is "directly" connected to dev1/REG2 through a trigger. Test that it is written as soon as the initial value is available, i.e. there has been a trigger.

Definition at line 694 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD6_a3_InitialValue  )

D 6_a3 initial value from device in push mode.

testD6_a3_InitialValue

Definition at line 746 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD6_a4_InitialValue  )

D 6_a4 initial value from output.

testD6_a4_InitialValue

Definition at line 791 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD6_b_InitialValue  )

D 6_b initial value from device in poll mode.

testD6_b_InitialValue FIXME: Is this supposed to test push variables in poll mode or poll variables?

Definition at line 834 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [10/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD6_c_InitialValue  )

D 6_c initial value from device in push mode.

testD6_c_InitialValue

Definition at line 878 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [11/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD7_1_InitialValue  )

D 7_1.

testD7_1_InitialValue

Definition at line 588 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [12/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testD7_2_InitialValue  )

D 7_2.

testD7_2_InitialValue

Definition at line 603 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [13/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testPushInitValueAtDeviceD9  )

D 9 b for ThreadedFanOut.

initialValueThreadedFanOut_D_9_b

Definition at line 282 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [14/14]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE ( testTriggerFanOutInitValueAtDeviceD9  )

D 9 b for TriggerFanOut.

initialValueThreadedFanOut_D_9_b

Definition at line 354 of file testInitialValueSpecD8.cc.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/3]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE_TEMPLATE ( testConstantInitValueAtDevice8biii  ,
INPUT_TYPE  ,
TestInputTypes   
)

Constants can be read exactly once in case of AccessMode::wait_for_new_data, so the initial value can be received.

initialValue_D_8_b_iii

Note: "Constants" here refer to the ConstantAccessor, which is nowadays only used for unconnected inputs when the control system connection has been optimised out (cf. Application::optimiseUnmappedVariables()).

Definition at line 210 of file testInitialValueSpecD8.cc.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/3]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE_TEMPLATE ( testInitValueAtDevice8bi  ,
APPLICATION_TYPE  ,
DeviceTestApplicationTypes   
)

For device variables the ExceptionHandlingDecorator freezes the variable until the device is available.

initialValue_D_8_b_i

Definition at line 105 of file testInitialValueSpecD8.cc.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/3]

Tests::testInitialValues::BOOST_AUTO_TEST_CASE_TEMPLATE ( testProcessArrayInitValueAtDevice8bii  ,
INPUT_TYPE  ,
TestInputTypes   
)

ProcessArray freeze in their implementation until the initial value is received.

initialValue_D_8_b_ii

Definition at line 164 of file testInitialValueSpecD8.cc.