Commit e0f208f7 authored by garciay's avatar garciay
Browse files

STF525: Test AtsCAM, AtsDENM is secured mode

parent 1d50a2be
......@@ -302,11 +302,11 @@ module ItsBtp_TestCases {
// empty on purpose
}
if(i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": PASS: BTP was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: BTP was transmitted to upper layer***");
f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: BTP was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: BTP was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_error);
}
......@@ -369,11 +369,11 @@ module ItsBtp_TestCases {
// empty on purpose
}
if(i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": PASS: BTP was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: BTP was transmitted to upper layer***");
f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: BTP was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: BTP was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_error);
}
......
......@@ -3188,11 +3188,11 @@ module ItsCam_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": PASS: CAM was transmitted to upper layer ***");
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 ***");
log("*** " & testcasename() & ": FAIL: CAM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......@@ -3251,11 +3251,11 @@ module ItsCam_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": FAIL: CAM was not transmitted to upper layer ***");
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 ***");
log("*** " & testcasename() & ": PASS: CAM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......
......@@ -2455,11 +2455,11 @@ module ItsDenm_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": PASS: DENM was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: DENM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: DENM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: DENM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......@@ -2528,11 +2528,11 @@ module ItsDenm_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": PASS: DENM was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: DENM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: DENM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: DENM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......@@ -2587,11 +2587,11 @@ module ItsDenm_TpFunctions {
f_sleep(PX_TNOAC);
if (0 != lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": FAIL: DENM was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: DENM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: DENM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: DENM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......@@ -2650,11 +2650,11 @@ module ItsDenm_TpFunctions {
f_sleep(PX_TNOAC);
if (0 != lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": FAIL: DENM was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: DENM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: DENM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: DENM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......@@ -2717,11 +2717,11 @@ module ItsDenm_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": FAIL: DENM was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: DENM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: DENM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: DENM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......@@ -2787,11 +2787,11 @@ module ItsDenm_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": FAIL: DENM was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: DENM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: DENM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: DENM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......@@ -2867,11 +2867,11 @@ module ItsDenm_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": PASS: DENM was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: DENM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: DENM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: DENM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......@@ -2928,11 +2928,11 @@ module ItsDenm_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": FAIL: DENM was treated as valid and transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: DENM was treated as valid and transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: DENM was treated as invalid and was not transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: DENM was treated as invalid and was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......@@ -3030,11 +3030,11 @@ module ItsDenm_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": FAIL: DENM was treated as valid and was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: DENM was treated as valid and was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": FAIL: DENM was treated as invalid and was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: DENM was treated as invalid and was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......
......@@ -117,13 +117,13 @@ module ItsGeoNetworking_TpFunctions {
f_sleep(PX_TAC);
if(0 < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***");
//flush received upper indications
vc_utInds := {};
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
}
else {
log("*** " & testcasename() & ": INCONC: GN was not transmitted to upper layer ***");
log("*** " & testcasename() & ": INCONC: GN was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_prDone, e_error);
}
......@@ -135,11 +135,11 @@ module ItsGeoNetworking_TpFunctions {
f_sleep(PX_TAC);
if(0 != lengthof(vc_utInds)) {
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: GN was discarded and not transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was discarded and not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......@@ -6701,11 +6701,11 @@ module ItsGeoNetworking_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......@@ -7738,13 +7738,13 @@ module ItsGeoNetworking_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***");
//flush received upper indications
vc_utInds := {};
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
}
else {
log("*** " & testcasename() & ": INCONC: GN was not transmitted to upper layer ***");
log("*** " & testcasename() & ": INCONC: GN was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_prDone, e_error);
}
......@@ -7754,11 +7754,11 @@ module ItsGeoNetworking_TpFunctions {
f_sleep(PX_TAC);
if(0 != lengthof(vc_utInds)) {
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: GN was not transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......@@ -8955,11 +8955,11 @@ module ItsGeoNetworking_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......@@ -9057,13 +9057,13 @@ module ItsGeoNetworking_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***");
//flush received upper indications
vc_utInds := {};
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
}
else {
log("*** " & testcasename() & ": INCONC: GN was not transmitted to upper layer ***");
log("*** " & testcasename() & ": INCONC: GN was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_prDone, e_error);
}
......@@ -9071,11 +9071,11 @@ module ItsGeoNetworking_TpFunctions {
f_sleep(PX_TAC);
if(0 != lengthof(vc_utInds)) {
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: GN was NOT transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was NOT transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......@@ -9169,11 +9169,11 @@ module ItsGeoNetworking_TpFunctions {
f_sleep(PX_TAC);
if(0 != lengthof(vc_utInds)) {
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: GN was NOT transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was NOT transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......@@ -10525,11 +10525,11 @@ module ItsGeoNetworking_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......@@ -10622,12 +10622,12 @@ module ItsGeoNetworking_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: Pre-conditions: TSB correctly rebroadcasted and passed to Upper Layer ***");
log("*** " & testcasename() & ": PASS: Pre-conditions: TSB correctly rebroadcasted and passed to Upper layer \***");
vc_utInds := {};
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
}
else {
log("*** " & testcasename() & ": INCONC: TSB was not transmitted to upper layer ***");
log("*** " & testcasename() & ": INCONC: TSB was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_prDone, e_error);
}
}
......@@ -10645,7 +10645,7 @@ module ItsGeoNetworking_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": FAIL: Same TSB packet was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: Same TSB packet was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
......@@ -10871,11 +10871,11 @@ module ItsGeoNetworking_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......@@ -11851,15 +11851,15 @@ module ItsGeoNetworking_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
log("*** " & testcasename() & ": GAC packet passed to Upper Layer ***");
log("*** " & testcasename() & ": GAC packet passed to Upper layer \***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
// Postamble
......@@ -11935,12 +11935,12 @@ module ItsGeoNetworking_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***");
vc_utInds := {};
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
}
else {
log("*** " & testcasename() & ": INCONC: GN was not transmitted to upper layer ***");
log("*** " & testcasename() & ": INCONC: GN was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_prDone, e_error);
}
......@@ -11951,11 +11951,11 @@ module ItsGeoNetworking_TpFunctions {
f_sleep(PX_TAC);
if(0 != lengthof(vc_utInds)) {
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: GN was NOT transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was NOT transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......@@ -12038,11 +12038,11 @@ module ItsGeoNetworking_TpFunctions {
f_sleep(PX_TAC);
if(0 != lengthof(vc_utInds)) {
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
else {
log("*** " & testcasename() & ": PASS: GN was NOT transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: GN was NOT transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
......
......@@ -1584,11 +1584,11 @@ module ItsIvim_TpFunctions {
// empty on purpose
}
if(i < lengthof(vc_utEvents)) {
log("*** " & testcasename() & ": PASS: IVIM was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: IVIM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
}
else {
log("*** " & testcasename() & ": FAIL: IVIM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: IVIM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......
......@@ -562,10 +562,10 @@ module ItsMapem_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utMapemEvents) ) {
log("*** " & testcasename() & ": PASS: MAPEM was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: MAPEM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
} else {
log("*** " & testcasename() & ": FAIL: MAPEM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: MAPEM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......
......@@ -607,10 +607,10 @@ module ItsSpatem_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utSpatemEvents) ) {
log("*** " & testcasename() & ": PASS: SPATEM was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: SPATEM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
} else {
log("*** " & testcasename() & ": FAIL: SPATEM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: SPATEM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......
This diff is collapsed.
......@@ -526,10 +526,10 @@ module ItsSrem_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utSsemEvents) ) {
log("*** " & testcasename() & ": PASS: SREM was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: SREM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
} else {
log("*** " & testcasename() & ": FAIL: SREM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: SREM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......@@ -641,10 +641,10 @@ module ItsSrem_TpFunctions {
// empty on purpose
}
if (i < lengthof(vc_utSsemEvents) ) {
log("*** " & testcasename() & ": PASS: SSEM was transmitted to upper layer ***");
log("*** " & testcasename() & ": PASS: SSEM was transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
} else {
log("*** " & testcasename() & ": FAIL: SSEM was not transmitted to upper layer ***");
log("*** " & testcasename() & ": FAIL: SSEM was not transmitted to upper layer***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment