Loading ItsCam_TestCases.ttcn +65 −65 File changed.Preview size limit exceeded, changes collapsed. Show changes ItsCam_TpFunctions.ttcn +18 −6 Original line number Diff line number Diff line Loading @@ -3179,10 +3179,12 @@ module ItsCam_TpFunctions { * @desc TP Function for TC_CAM_MSP_SSP_BV_XX * @param p_certName Certificate to be used to sign the CAM message * @param p_camMsg CAM value template to be sent to IUT * @param p_discarded Set to true if the message shallbe discarded */ function f_CAM_MSP_SSP_BV_XX( in charstring p_certName, in template (value) CAM p_camMsg in template (value) CAM p_camMsg, in boolean p_discarded := true ) runs on ItsCam { // Local variables Loading Loading @@ -3222,12 +3224,22 @@ module ItsCam_TpFunctions { // empty on purpose } if(i < lengthof(vc_utEvents)) { if (p_discarded == false) { log("*** " & testcasename() & ": PASS: CAM was transmitted to upper layer ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } else { log("*** " & testcasename() & ": FAIL: CAM was not transmitted to upper layer ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); } } else { log("*** " & testcasename() & ": PASS: CAM was transmitted to upper layer ***"); if (p_discarded) { log("*** " & testcasename() & ": PASS: CAM was not transmitted to upper layer ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } else { log("*** " & testcasename() & ": FAIL: CAM was not transmitted to upper layer ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); } } // Postamble Loading Loading
ItsCam_TestCases.ttcn +65 −65 File changed.Preview size limit exceeded, changes collapsed. Show changes
ItsCam_TpFunctions.ttcn +18 −6 Original line number Diff line number Diff line Loading @@ -3179,10 +3179,12 @@ module ItsCam_TpFunctions { * @desc TP Function for TC_CAM_MSP_SSP_BV_XX * @param p_certName Certificate to be used to sign the CAM message * @param p_camMsg CAM value template to be sent to IUT * @param p_discarded Set to true if the message shallbe discarded */ function f_CAM_MSP_SSP_BV_XX( in charstring p_certName, in template (value) CAM p_camMsg in template (value) CAM p_camMsg, in boolean p_discarded := true ) runs on ItsCam { // Local variables Loading Loading @@ -3222,12 +3224,22 @@ module ItsCam_TpFunctions { // empty on purpose } if(i < lengthof(vc_utEvents)) { if (p_discarded == false) { log("*** " & testcasename() & ": PASS: CAM was transmitted to upper layer ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } else { log("*** " & testcasename() & ": FAIL: CAM was not transmitted to upper layer ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); } } else { log("*** " & testcasename() & ": PASS: CAM was transmitted to upper layer ***"); if (p_discarded) { log("*** " & testcasename() & ": PASS: CAM was not transmitted to upper layer ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } else { log("*** " & testcasename() & ": FAIL: CAM was not transmitted to upper layer ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); } } // Postamble Loading