openETCS
case study for the European Train Control System developed for the authors dissertation
|
test class for ::oETS:DF::CFunctionBlock More...
#include <UnitTesting.h>
Public Member Functions | |
CFunctionBlock () throw () | |
default constructor | |
void | setUp () throw (::std::bad_alloc) |
creates all test objects | |
void | tearDown () throw () |
delete all test objects | |
void | TestAnd () throw (::std::exception) |
test method for oETCS::DF:CAnd | |
void | TestBoolGate () throw (::std::exception) |
test method for oETCS::DF:CBoolGate | |
void | TestBoolSwitch () throw (::std::exception) |
test method for oETCS::DF:CBoolSwitch | |
void | TestBrakingToTargetSpeed () throw (::std::exception) |
test method for oETCS::DF:CBrakingToTargetSpeed | |
void | TestCeelingSpeedControl () throw (::std::exception) |
test method for oETCS::DF:CBrakingToTargetSpeed | |
void | TestDivision () throw (::std::exception) |
test method for oETCS::DF:CDivision | |
void | TestDoubleArrayAccessor () throw (::std::exception) |
test method for oETCS::DF:CDoubleArrayAccessor | |
void | TestDoubleEqual () throw (::std::exception) |
test method for oETCS::DF:CDoubleEqual | |
void | TestDoubleEqualOrGreater () throw (::std::exception) |
test method for oETCS::DF:CDoubleEqualOrGreater | |
void | TestDoubleGate () throw (::std::exception) |
test method for oETCS::DF:CDoubleGate | |
void | TestDoubleGreater () throw (::std::exception) |
test method for oETCS::DF:CDoubleGreater | |
void | TestDoubleSwitch () throw (::std::exception) |
test method for oETCS::DF:CDoubleSwitch | |
void | TestEnteredTrigger () throw (::std::exception) |
test method for oETCS::DF:CEnteredTrigger | |
void | TestIntEqual () throw (::std::exception) |
test method for oETCS::DF:CIntEqual | |
void | TestIntGreater () throw (::std::exception) |
test method for oETCS::DF:CIntGreater | |
void | TestMultiplication () throw (::std::exception) |
test method for oETCS::DF:CMultiplication | |
void | TestNot () throw (::std::exception) |
test method for oETCS::DF:CNot | |
void | TestOr () throw (::std::exception) |
test method for oETCS::DF:COr | |
void | TestStorage () throw (::std::exception) |
test method for oETCS::DF:CStorage | |
void | TestStringEqual () throw (::std::exception) |
test method for oETCS::DF:CStringEqual | |
void | TestStringGate () throw (::std::exception) |
test method for oETCS::DF:CStringGate | |
void | TestStringSwitch () throw (::std::exception) |
test method for oETCS::DF:CStringSwitch | |
void | TestSubstraction () throw (::std::exception) |
test method for oETCS::DF:CSubstraction | |
void | TestSum () throw (::std::exception) |
test method for oETCS::DF:CSum | |
void | TestXor () throw (::std::exception) |
test method for oETCS::DF:CXor |
Public Attributes | |
oETCS::DF::BOOL_INPUT_T | m_bBoolInput |
boolean input storage | |
oETCS::DF::BOOL_INPUT_T | m_bBoolInput2 |
boolean input storage | |
oETCS::DF::BOOL_INPUT_T | m_bBoolInput3 |
boolean input storage | |
oETCS::DF::BOOL_INPUT_T | m_bBoolInput4 |
boolean input storage | |
oETCS::DF::DOUBLE_INPUT_T | m_dDoubleInput |
double input storage | |
oETCS::DF::DOUBLE_ARRAY_INPUT_T | m_DoubleArrayInput |
double array input storage | |
oETCS::DF::INT_INPUT_T | m_iIntInput |
integer input storage | |
oETCS::DF::STRING_INPUT_T | m_StringInput |
string input storage |
test class for ::oETS:DF::CFunctionBlock
Definition at line 88 of file UnitTesting.h.
oETCS::UT::CFunctionBlock::CFunctionBlock | ( | ) | throw () |
default constructor
Definition at line 48 of file UnitTesting.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void oETCS::UT::CFunctionBlock::setUp | ( | ) | throw (::std::bad_alloc) |
creates all test objects
Definition at line 98 of file UnitTesting.cpp.
References oETCS::DF::CVariable::DOUBLE, oETCS::DF::CVariable::INTEGER, m_bBoolInput, m_bBoolInput2, m_bBoolInput3, m_bBoolInput4, oETCS::DF::CStorage::m_BitValue, oETCS::DF::CVariable::m_BitValues, oETCS::DF::CStorage::m_BoolValue, m_dDoubleInput, oETCS::DF::CSubstraction::m_Difference, m_DoubleArrayInput, oETCS::DF::CStorage::m_DoubleArrayValue, oETCS::DF::CStorage::m_DoubleValue, oETCS::DF::CBrakingToTargetSpeed::m_EmergencyBrakeApplied, oETCS::DF::CCeelingSpeedControl::m_EmergencyBrakeApplied, oETCS::DF::CBrakingToTargetSpeed::m_EmergencyBrakeValue, oETCS::DF::CCeelingSpeedControl::m_EmergencyBrakeValue, oETCS::DF::CEnteredTrigger::m_Entered, oETCS::DF::CDoubleEqual::m_Equal, oETCS::DF::CStringEqual::m_Equal, oETCS::DF::CIntEqual::m_Equal, oETCS::DF::CDoubleEqualOrGreater::m_EqualOrGreater, oETCS::DF::CBoolGate::m_GateOutput, oETCS::DF::CDoubleGate::m_GateOutput, oETCS::DF::CStringGate::m_GateOutput, oETCS::DF::CDoubleGreater::m_Greater, oETCS::DF::CIntGreater::m_Greater, m_iIntInput, oETCS::DF::CStorage::m_IntValue, m_pAnd, m_pBitStorage, m_pBoolGate, m_pBoolSwitch, m_pBrakingToTargetSpeed, m_pCeelingSpeedControl, m_pComBlockIn, m_pComBlockOut, m_pCondition, m_pDivision, m_pDoubleArrayAccessor, m_pDoubleEqual, m_pDoubleEqualOrGreater, m_pDoubleGate, m_pDoubleGreater, m_pDoubleSwitch, m_pEnteredTrigger, m_pEVCCondition, m_pIntEqual, m_pIntGreater, m_pLevelCondition, m_pMultiplication, m_pNot, m_pOr, oETCS::DF::CMultiplication::m_Product, m_pStorage, m_pStringEqual, m_pStringGate, m_pStringSwitch, m_pSubstraction, m_pSum, m_pXor, oETCS::DF::CDivision::m_Quotient, oETCS::DF::CAnd::m_Result, oETCS::DF::COr::m_Result, oETCS::DF::CNot::m_Result, oETCS::DF::CXor::m_Result, oETCS::DF::CBrakingToTargetSpeed::m_ServiceBrakeApplied, oETCS::DF::CCeelingSpeedControl::m_ServiceBrakeApplied, oETCS::DF::CBrakingToTargetSpeed::m_ServiceBrakeValue, oETCS::DF::CCeelingSpeedControl::m_ServiceBrakeValue, oETCS::DF::CBrakingToTargetSpeed::m_SpeedWarning, oETCS::DF::CCeelingSpeedControl::m_SpeedWarning, m_StateMachine, m_StringInput, oETCS::DF::CStorage::m_StringValue, oETCS::DF::CSum::m_Sum, oETCS::DF::CBoolSwitch::m_SwitchOutput, oETCS::DF::CDoubleSwitch::m_SwitchOutput, oETCS::DF::CStringSwitch::m_SwitchOutput, and oETCS::DF::CDoubleArrayAccessor::m_Value.
void oETCS::UT::CFunctionBlock::tearDown | ( | ) | throw () |
delete all test objects
Definition at line 209 of file UnitTesting.cpp.
void oETCS::UT::CFunctionBlock::TestAnd | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CAnd
Definition at line 220 of file UnitTesting.cpp.
References oETCS::DF::CAnd::Calculate(), m_bBoolInput, oETCS::DF::CAnd::m_bInput1, oETCS::DF::CAnd::m_bInput2, and m_pAnd.
void oETCS::UT::CFunctionBlock::TestBoolGate | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CBoolGate
Definition at line 814 of file UnitTesting.cpp.
References oETCS::DF::CBoolGate::Calculate(), m_bBoolInput, oETCS::DF::CBoolGate::m_bGateInput, oETCS::DF::CBoolGate::m_bOpen, and m_pBoolGate.
void oETCS::UT::CFunctionBlock::TestBoolSwitch | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CBoolSwitch
Definition at line 1099 of file UnitTesting.cpp.
References oETCS::DF::CBoolSwitch::Calculate(), m_bBoolInput, oETCS::DF::CBoolSwitch::m_bInput1, oETCS::DF::CBoolSwitch::m_bInput2, oETCS::DF::CBoolSwitch::m_bUseInput1, and m_pBoolSwitch.
void oETCS::UT::CFunctionBlock::TestBrakingToTargetSpeed | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CBrakingToTargetSpeed
Definition at line 845 of file UnitTesting.cpp.
References oETCS::DF::CBrakingToTargetSpeed::Calculate(), m_bBoolInput, m_bBoolInput2, m_bBoolInput3, m_bBoolInput4, oETCS::DF::CBrakingToTargetSpeed::m_dAdhesionFactor, oETCS::DF::CBrakingToTargetSpeed::m_dCurrentAbsoluteDistance, oETCS::DF::CBrakingToTargetSpeed::m_dCurrentVelocity, oETCS::DF::CBrakingToTargetSpeed::m_dDistanceOfPermittedVelocity, m_dDoubleInput, oETCS::DF::CBrakingToTargetSpeed::m_dPermittedVelocity, and m_pBrakingToTargetSpeed.
void oETCS::UT::CFunctionBlock::TestCeelingSpeedControl | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CBrakingToTargetSpeed
Definition at line 936 of file UnitTesting.cpp.
References oETCS::DF::CCeelingSpeedControl::Calculate(), m_bBoolInput, m_bBoolInput2, m_bBoolInput3, m_bBoolInput4, oETCS::DF::CCeelingSpeedControl::m_dAdhesionFactor, oETCS::DF::CCeelingSpeedControl::m_dCurrentAbsoluteDistance, oETCS::DF::CCeelingSpeedControl::m_dCurrentVelocity, m_dDoubleInput, oETCS::DF::CCeelingSpeedControl::m_dPermittedVelocity, and m_pCeelingSpeedControl.
void oETCS::UT::CFunctionBlock::TestDivision | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CDivision
Definition at line 483 of file UnitTesting.cpp.
References oETCS::DF::CDivision::Calculate(), oETCS::DF::CDivision::m_dDividend, oETCS::DF::CDivision::m_dDivisor, m_dDoubleInput, and m_pDivision.
void oETCS::UT::CFunctionBlock::TestDoubleArrayAccessor | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CDoubleArrayAccessor
Definition at line 765 of file UnitTesting.cpp.
References oETCS::DF::CDoubleArrayAccessor::Calculate(), oETCS::DF::CDoubleArrayAccessor::m_Array, m_dDoubleInput, oETCS::DF::CDoubleArrayAccessor::m_iIndex, and m_pDoubleArrayAccessor.
void oETCS::UT::CFunctionBlock::TestDoubleEqual | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CDoubleEqual
Definition at line 535 of file UnitTesting.cpp.
References oETCS::DF::CDoubleEqual::Calculate(), m_bBoolInput, oETCS::DF::CDoubleEqual::m_dInput1, oETCS::DF::CDoubleEqual::m_dInput2, and m_pDoubleEqual.
void oETCS::UT::CFunctionBlock::TestDoubleEqualOrGreater | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CDoubleEqualOrGreater
Definition at line 653 of file UnitTesting.cpp.
References oETCS::DF::CDoubleEqualOrGreater::Calculate(), m_bBoolInput, oETCS::DF::CDoubleEqualOrGreater::m_dInput1, oETCS::DF::CDoubleEqualOrGreater::m_dInput2, and m_pDoubleEqualOrGreater.
void oETCS::UT::CFunctionBlock::TestDoubleGate | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CDoubleGate
Definition at line 1063 of file UnitTesting.cpp.
References oETCS::DF::CDoubleGate::Calculate(), oETCS::DF::CDoubleGate::m_bOpen, m_dDoubleInput, oETCS::DF::CDoubleGate::m_dGateInput, and m_pDoubleGate.
void oETCS::UT::CFunctionBlock::TestDoubleGreater | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CDoubleGreater
Definition at line 697 of file UnitTesting.cpp.
References oETCS::DF::CDoubleGreater::Calculate(), m_bBoolInput, oETCS::DF::CDoubleGreater::m_dInput1, oETCS::DF::CDoubleGreater::m_dInput2, and m_pDoubleGreater.
void oETCS::UT::CFunctionBlock::TestDoubleSwitch | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CDoubleSwitch
Definition at line 1131 of file UnitTesting.cpp.
References oETCS::DF::CDoubleSwitch::Calculate(), oETCS::DF::CDoubleSwitch::m_bUseInput1, m_dDoubleInput, oETCS::DF::CDoubleSwitch::m_dInput1, oETCS::DF::CDoubleSwitch::m_dInput2, and m_pDoubleSwitch.
void oETCS::UT::CFunctionBlock::TestEnteredTrigger | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CEnteredTrigger
Definition at line 1216 of file UnitTesting.cpp.
References oETCS::DF::CEnteredTrigger::Calculate(), m_bBoolInput, oETCS::DF::CEnteredTrigger::m_bEnteredState, and m_pEnteredTrigger.
void oETCS::UT::CFunctionBlock::TestIntEqual | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CIntEqual
Definition at line 569 of file UnitTesting.cpp.
References oETCS::DF::CIntEqual::Calculate(), m_bBoolInput, oETCS::DF::CIntEqual::m_iInput1, oETCS::DF::CIntEqual::m_iInput2, and m_pIntEqual.
void oETCS::UT::CFunctionBlock::TestIntGreater | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CIntGreater
Definition at line 731 of file UnitTesting.cpp.
References oETCS::DF::CIntGreater::Calculate(), m_bBoolInput, oETCS::DF::CIntGreater::m_iInput1, oETCS::DF::CIntGreater::m_iInput2, and m_pIntGreater.
void oETCS::UT::CFunctionBlock::TestMultiplication | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CMultiplication
Definition at line 508 of file UnitTesting.cpp.
References oETCS::DF::CMultiplication::Calculate(), m_dDoubleInput, oETCS::DF::CMultiplication::m_dMultiplicator1, oETCS::DF::CMultiplication::m_dMultiplicator2, oETCS::DF::CMultiplication::m_dMultiplicator3, and m_pMultiplication.
void oETCS::UT::CFunctionBlock::TestNot | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CNot
Definition at line 400 of file UnitTesting.cpp.
References oETCS::DF::CNot::Calculate(), m_bBoolInput, oETCS::DF::CNot::m_bInput, and m_pNot.
void oETCS::UT::CFunctionBlock::TestOr | ( | ) | throw (::std::exception) |
test method for oETCS::DF:COr
Definition at line 278 of file UnitTesting.cpp.
References oETCS::DF::COr::Calculate(), m_bBoolInput, oETCS::DF::COr::m_bInput1, oETCS::DF::COr::m_bInput2, and m_pOr.
void oETCS::UT::CFunctionBlock::TestStorage | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CStorage
Definition at line 1246 of file UnitTesting.cpp.
References oETCS::DF::CStorage::Calculate(), oETCS::DF::CStorage::m_bBoolInput, m_bBoolInput, oETCS::DF::CStorage::m_dDoubleInput, m_dDoubleInput, oETCS::DF::CStorage::m_DoubleArrayInput, m_DoubleArrayInput, oETCS::DF::CStorage::m_iIntInput, m_iIntInput, m_pBitStorage, m_pStorage, oETCS::DF::CStorage::m_StringInput, and m_StringInput.
void oETCS::UT::CFunctionBlock::TestStringEqual | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CStringEqual
Definition at line 603 of file UnitTesting.cpp.
References oETCS::DF::CStringEqual::Calculate(), m_bBoolInput, oETCS::DF::CStringEqual::m_Input1, oETCS::DF::CStringEqual::m_Input2, and m_pStringEqual.
void oETCS::UT::CFunctionBlock::TestStringGate | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CStringGate
Definition at line 1019 of file UnitTesting.cpp.
References oETCS::DF::CStringGate::Calculate(), oETCS::DF::CStringGate::m_bOpen, oETCS::DF::CStringGate::m_GateInput, m_pStringGate, and m_StringInput.
void oETCS::UT::CFunctionBlock::TestStringSwitch | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CStringSwitch
Definition at line 1169 of file UnitTesting.cpp.
References oETCS::DF::CStringSwitch::Calculate(), oETCS::DF::CStringSwitch::m_bUseInput1, oETCS::DF::CStringSwitch::m_Input1, oETCS::DF::CStringSwitch::m_Input2, m_pStringSwitch, and m_StringInput.
void oETCS::UT::CFunctionBlock::TestSubstraction | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CSubstraction
Definition at line 459 of file UnitTesting.cpp.
References oETCS::DF::CSubstraction::Calculate(), m_dDoubleInput, oETCS::DF::CSubstraction::m_dMinuend, oETCS::DF::CSubstraction::m_dSubtrahend, and m_pSubstraction.
void oETCS::UT::CFunctionBlock::TestSum | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CSum
Definition at line 433 of file UnitTesting.cpp.
References oETCS::DF::CSum::Calculate(), oETCS::DF::CSum::m_dAddend1, oETCS::DF::CSum::m_dAddend2, oETCS::DF::CSum::m_dAddend3, m_dDoubleInput, and m_pSum.
void oETCS::UT::CFunctionBlock::TestXor | ( | ) | throw (::std::exception) |
test method for oETCS::DF:CXor
Definition at line 339 of file UnitTesting.cpp.
References oETCS::DF::CXor::Calculate(), m_bBoolInput, oETCS::DF::CXor::m_bInput1, oETCS::DF::CXor::m_bInput2, and m_pXor.
oETCS::DF::BOOL_INPUT_T oETCS::UT::CFunctionBlock::m_bBoolInput |
boolean input storage
Definition at line 547 of file UnitTesting.h.
Referenced by setUp(), TestAnd(), TestBoolGate(), TestBoolSwitch(), TestBrakingToTargetSpeed(), TestCeelingSpeedControl(), TestDoubleEqual(), TestDoubleEqualOrGreater(), TestDoubleGreater(), TestEnteredTrigger(), TestIntEqual(), TestIntGreater(), TestNot(), TestOr(), TestStorage(), TestStringEqual(), and TestXor().
oETCS::DF::BOOL_INPUT_T oETCS::UT::CFunctionBlock::m_bBoolInput2 |
boolean input storage
Definition at line 554 of file UnitTesting.h.
Referenced by setUp(), TestBrakingToTargetSpeed(), and TestCeelingSpeedControl().
oETCS::DF::BOOL_INPUT_T oETCS::UT::CFunctionBlock::m_bBoolInput3 |
boolean input storage
Definition at line 561 of file UnitTesting.h.
Referenced by setUp(), TestBrakingToTargetSpeed(), and TestCeelingSpeedControl().
oETCS::DF::BOOL_INPUT_T oETCS::UT::CFunctionBlock::m_bBoolInput4 |
boolean input storage
Definition at line 568 of file UnitTesting.h.
Referenced by setUp(), TestBrakingToTargetSpeed(), and TestCeelingSpeedControl().
oETCS::DF::DOUBLE_INPUT_T oETCS::UT::CFunctionBlock::m_dDoubleInput |
double input storage
Definition at line 575 of file UnitTesting.h.
Referenced by setUp(), TestBrakingToTargetSpeed(), TestCeelingSpeedControl(), TestDivision(), TestDoubleArrayAccessor(), TestDoubleGate(), TestDoubleSwitch(), TestMultiplication(), TestStorage(), TestSubstraction(), and TestSum().
oETCS::DF::DOUBLE_ARRAY_INPUT_T oETCS::UT::CFunctionBlock::m_DoubleArrayInput |
double array input storage
Definition at line 582 of file UnitTesting.h.
Referenced by setUp(), and TestStorage().
oETCS::DF::INT_INPUT_T oETCS::UT::CFunctionBlock::m_iIntInput |
integer input storage
Definition at line 589 of file UnitTesting.h.
Referenced by setUp(), and TestStorage().
|
private |
pointer to oETCS::DF::CAnd instance for testing
Definition at line 328 of file UnitTesting.h.
|
private |
pointer to oETCS::DF::CStorage instance for testing the bit data flow
Definition at line 538 of file UnitTesting.h.
Referenced by setUp(), and TestStorage().
|
private |
pointer to oETCS::DF::CBoolGate instance for testing
Definition at line 468 of file UnitTesting.h.
Referenced by setUp(), and TestBoolGate().
|
private |
pointer to oETCS::DF::CBoolSwitch instance for testing
Definition at line 503 of file UnitTesting.h.
Referenced by setUp(), and TestBoolSwitch().
|
private |
pointer to oETCS::DF::CBrakingToTargetSpeed instance for testing
Definition at line 475 of file UnitTesting.h.
Referenced by setUp(), and TestBrakingToTargetSpeed().
|
private |
pointer to oETCS::DF::CCeelingSpeedControl instance for testing
Definition at line 482 of file UnitTesting.h.
Referenced by setUp(), and TestCeelingSpeedControl().
|
private |
pointer to oETCS::DF::CComBlockIn instance for testing
Definition at line 363 of file UnitTesting.h.
Referenced by setUp().
|
private |
pointer to oETCS::DF::CComBlockOut instance for testing
Definition at line 370 of file UnitTesting.h.
Referenced by setUp().
|
private |
pointer to oETCS::DF::CCondition instance for testing
Definition at line 349 of file UnitTesting.h.
Referenced by setUp().
|
private |
pointer to oETCS::DF::CDivision instance for testing
Definition at line 405 of file UnitTesting.h.
Referenced by setUp(), and TestDivision().
|
private |
pointer to oETCS::DF::CDoubleArrayAccessor instance for testing
Definition at line 461 of file UnitTesting.h.
Referenced by setUp(), and TestDoubleArrayAccessor().
|
private |
pointer to oETCS::DF::CDoubleEqual instance for testing
Definition at line 419 of file UnitTesting.h.
Referenced by setUp(), and TestDoubleEqual().
|
private |
pointer to oETCS::DF::CDoubleEqualOrGreater instance for testing
Definition at line 440 of file UnitTesting.h.
Referenced by setUp(), and TestDoubleEqualOrGreater().
|
private |
pointer to oETCS::DF::CDoubleGate instance for testing
Definition at line 496 of file UnitTesting.h.
Referenced by setUp(), and TestDoubleGate().
|
private |
pointer to oETCS::DF::CDoubleGreater instance for testing
Definition at line 447 of file UnitTesting.h.
Referenced by setUp(), and TestDoubleGreater().
|
private |
pointer to oETCS::DF::CDoubleSwitch instance for testing
Definition at line 510 of file UnitTesting.h.
Referenced by setUp(), and TestDoubleSwitch().
|
private |
pointer to oETCS::DF::CEnteredTrigger instance for testing
Definition at line 524 of file UnitTesting.h.
Referenced by setUp(), and TestEnteredTrigger().
|
private |
pointer to oETCS::DF::CEVCCondition instance for testing
Definition at line 342 of file UnitTesting.h.
Referenced by setUp().
|
private |
pointer to oETCS::DF::COr instance for testing
Definition at line 426 of file UnitTesting.h.
Referenced by setUp(), and TestIntEqual().
|
private |
pointer to oETCS::DF::CIntGreater instance for testing
Definition at line 454 of file UnitTesting.h.
Referenced by setUp(), and TestIntGreater().
|
private |
pointer to oETCS::DF::CLevelCondition instance for testing
Definition at line 356 of file UnitTesting.h.
Referenced by setUp().
|
private |
pointer to oETCS::DF::CMultiplication instance for testing
Definition at line 412 of file UnitTesting.h.
Referenced by setUp(), and TestMultiplication().
|
private |
pointer to oETCS::DF::CNot instance for testing
Definition at line 384 of file UnitTesting.h.
|
private |
pointer to oETCS::DF::COr instance for testing
Definition at line 335 of file UnitTesting.h.
|
private |
pointer to oETCS::DF::CStorage instance for testing
Definition at line 531 of file UnitTesting.h.
Referenced by setUp(), and TestStorage().
|
private |
pointer to oETCS::DF::CStringEqual instance for testing
Definition at line 433 of file UnitTesting.h.
Referenced by setUp(), and TestStringEqual().
|
private |
pointer to oETCS::DF::CStringGate instance for testing
Definition at line 489 of file UnitTesting.h.
Referenced by setUp(), and TestStringGate().
|
private |
pointer to oETCS::DF::CStringSwitch instance for testing
Definition at line 517 of file UnitTesting.h.
Referenced by setUp(), and TestStringSwitch().
|
private |
pointer to oETCS::DF::CSubstraction instance for testing
Definition at line 398 of file UnitTesting.h.
Referenced by setUp(), and TestSubstraction().
|
private |
pointer to oETCS::DF::CSum instance for testing
Definition at line 391 of file UnitTesting.h.
|
private |
pointer to oETCS::DF::CXor instance for testing
Definition at line 377 of file UnitTesting.h.
|
private |
state machine used as reference for function block classes
Definition at line 321 of file UnitTesting.h.
Referenced by setUp().
oETCS::DF::STRING_INPUT_T oETCS::UT::CFunctionBlock::m_StringInput |
string input storage
Definition at line 596 of file UnitTesting.h.
Referenced by setUp(), TestStorage(), TestStringGate(), and TestStringSwitch().
Copyright (C) 2010-2012 Johannes Feuser (feuser@uni-bremen.de)
The openETCS library is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or any later version.
The openETCS library is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with the openETCS library. If not, see
"http://www.gnu.org/licenses/.