//***************************************************************************** // (C) Automotive Lighting Reutlingen GmbH // Tuebinger Strasse 123, 72762 Reutlingen, Germany // // Automotive Lighting Reutlingen GmbH owns all the rights to this work. // This work shall not be copied, reproduced, used, modified, transferred // or its information shall not be disclosed without the prior written // authorization of Automotive Lighting Reutlingen GmbH. //***************************************************************************** //----------------------------------------------------------------------------- /// \file IntegrationTest.h /// /// \brief /// //----------------------------------------------------------------------------- #ifndef INTEGRATIONTEST #define INTEGRATIONTEST //============================================================================= // Include files //============================================================================= #include #ifdef OS_HAS_GLIWA_T1 #include /* GLIWA KPIT OS to T1 header file */ #endif #if defined(INTEGRATION_TEST_ALL) #include #include #include #endif enum IntegrationTest_InitNames { RISIGPREPINIT, RIIOHWABUSERINIT, RISYSMONINIT, RICODMINIT, RIFCTRINIT, RICDDSPIINIT, RICTRLLEDINIT, RICTRLHSSINIT, RICDDSBCINIT, RIAPPMINIT, RIDIAGMINIT, RIRSENSINIT, RISENSMINIT, RICDDLEDINIT, RISYSVOLTINIT, RIPXAINIT, RISTATMINIT, RICDDSTPINIT, RICTRLPXLINIT, RICDDMLCINIT, RILSRSENSINIT, RICTRLSTPINIT }; enum IntegrationTest_DeInitNames { RICTRLHSSDEINIT, RICDDLEDDEINIT, RISTATMDEINIT, RISYSVOLTDEINIT, RICTRLPXLDEINIT, RICDDMLCDEINIT, RICDDSPIDEINIT, RICDDSBCDEINIT, RICDDSTPDEINIT, RICODMDEINIT, RIRSENSDEINIT, RISENSMDEINIT, RIDIAGMDEINIT, RISYSMONDEINIT, RIPXADEINIT, RIFCTRDEINIT, RICTRLSTPDEINIT, RICTRLLEDDEINIT }; enum IntegrationTest_CyclicNames { RPSIGPREP10MS, RPSYSMON10MS, RPCODM10MS, RPCTRLSTP10MS, RPCDDSTP10MS, RPSYSVOLT10MS, RPAPPM10MS, RPT110MS, RPDIAGM20MS, RPCTRLHSS10MS, RPCTRLLED10MS, RPFCTR10MS, RPCDDSPI1MS, RPIOHWABUSER1MS, RPIOHWABUSER5MS, RPIOHWABUSER10MS, RPIOHWABUSER100MS, RPLRDETECT100MS, RPCDDLED20MS, RPRSENS100MS, RPSENSM100MS, RPPXA10MS, RPSTATM100MS, RPCODM20MS, RPCTRLPXL10MS, RPCDDMLC10MS, RPLSRSENS10MS }; enum IntegrationTest_EventNames { RRSigPrepB2CanRxATempMsg, RRSigPrepB2CanRxAclnxMasscntrMsg, RRSigPrepB2CanRxBlockageAndWeatherFrontCameraMainMsg, RRSigPrepB2CanRxConfigLmExtCkmMsg, RRSigPrepB2CanRxControlHighBeamAssistantMsg, RRSigPrepB2CanRxCtrLpExMsg, RRSigPrepB2CanRxFahrzeugtypMsg, RRSigPrepB2CanRxHglvVeh2Msg, RRSigPrepB2CanRxKilometerstand2Msg, RRSigPrepB2CanRxLnmrEgoLhGmyMsg, RRSigPrepB2CanRxLnmrEgoLhPropMsg, RRSigPrepB2CanRxLnmrEgoRhGmyMsg, RRSigPrepB2CanRxLnmrEgoRhPropMsg, RRSigPrepB2CanRxMainBeamAssistantDataObject1Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject2Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject3Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject4Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject5Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject6Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject7Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject8Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject9Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject10Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject11Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject12Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject13Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject14Msg, RRSigPrepB2CanRxMainBeamAssistantDataObject15Msg, RRSigPrepB2CanRxNavSysInfMsg, RRSigPrepB2CanRxNavgrph2PresSegMsg, RRSigPrepB2CanRxStCengMsg, RRSigPrepB2CanRxStCrMsg, RRSigPrepB2CanRxStLmExtCkmMsg, RRSigPrepB2CanRxStMabAsstMsg, RRSigPrepB2CanRxStOpLpExMsg, RRSigPrepB2CanRxStTyrMsg, RRSigPrepB2CanRxStatusExteriorLightExtendedLeftMsg, RRSigPrepB2CanRxStatusExteriorLightExtendedRightMsg, RRSigPrepB2CanRxStatusExteriorLightFrontLeftMsg, RRSigPrepB2CanRxStatusExteriorLightFrontRightMsg, RRSigPrepB2CanRxStatusSpinningFrontLeftMsg, RRSigPrepB2CanRxStatusSpinningFrontRightMsg, RRSigPrepB2CanRxSteaFtaxEffvMsg, RRSigPrepB2CanRxVehiclePitchAngleMsg, RRSigPrepB2CanRxVyawVehMsg, RRSigPrepB2CanRxForesightStreet2Msg, RRSysMonB2CanRxConVehMsg, RRSysMonB2CanRxCtrFnIdcMsg, RRSysMonB2CanRxCtrLpEx2Msg, RRSysMonB2CanRxVVehMsg, RRSigPrepB2CanRxFahrgestellnummerMsg, RECODMDATAMODECHANGED, RRCODMB2CANRXSTLPEXFE2LHMSG, RRCODMB2CANRXSTLPEXFE2RHMSG, RRSYSMONB2CANRXSTLPEXFE2LHMSG, RRSYSMONB2CANRXSTLPEXFE2RHMSG, /* dtc fct invocation */ ROFCTRLINITMONITORLIGHTDTCS }; #if defined(INTEGRATION_TEST_ALL) void IntegrationTest_CheckInit(uint16 module); void IntegrationTest_ExitInit(uint16 module); void IntegrationTest_CheckCyclic(uint16 module); void IntegrationTest_ExitCyclic(uint16 module); void IntegrationTest_CheckEvent(uint16 module); void IntegrationTest_ExitEvent(uint16 module); void IntegrationTest_ExitDeInit(uint16 module); void IntegrationTest_CheckDeInit(uint16 module); #define ENTER_INIT_RUNNABLE(name) IntegrationTest_CheckInit(name) #define ENTER_DE_INIT_RUNNABLE(name) IntegrationTest_CheckDeInit(name); #define ENTER_EVENT_RUNNABLE(name) IntegrationTest_CheckEvent(name) #define ENTER_CYCLIC_RUNNABLE(name) IntegrationTest_CheckCyclic(name) #define EXIT_INIT_RUNNABLE(name) IntegrationTest_ExitInit(name) #define EXIT_CYCLIC_RUNNABLE(name) IntegrationTest_ExitCyclic(name) #define EXIT_DE_INIT_RUNNABLE(name) IntegrationTest_ExitDeInit(name); #define EXIT_EVENT_RUNNABLE(name) IntegrationTest_ExitEvent(name) #elif defined (OS_HAS_GLIWA_T1) #define ENTER_INIT_RUNNABLE(name) #define EXIT_INIT_RUNNABLE(name) #define ENTER_DE_INIT_RUNNABLE(name) #define EXIT_DE_INIT_RUNNABLE(name) #define ENTER_CYCLIC_RUNNABLE(name) T1_TraceEvent(T1_STOPWATCH_START, name) #define EXIT_CYCLIC_RUNNABLE(name) T1_TraceEvent(T1_STOPWATCH_STOP, name) #define ENTER_EVENT_RUNNABLE(name) #define EXIT_EVENT_RUNNABLE(name) #else /* "UNIT_TEST" or "GLIWA is disabled" */ #define ENTER_INIT_RUNNABLE(name) #define ENTER_CYCLIC_RUNNABLE(name) #define EXIT_INIT_RUNNABLE(name) #define EXIT_CYCLIC_RUNNABLE(name) #define ENTER_EVENT_RUNNABLE(name) #define EXIT_EVENT_RUNNABLE(name) #define ENTER_DE_INIT_RUNNABLE(name) #define EXIT_DE_INIT_RUNNABLE(name) #endif /* INTEGRATION_TEST_ALL OS_HAS_GLIWA_T1 */ /* #warning "added init and deinit functions here for develop to build" */ FUNC(void, ctaaLsrSens_CODE) riLsrSensInit(void); FUNC(void, ctaaLsrSens_CODE) riLsrSensDeInit(void); #endif /* INTEGRATIONTEST */