Commit fcd11460 authored by garciay's avatar garciay
Browse files

Update UT primitives

parent b1a61e8c
...@@ -30,6 +30,7 @@ module ItsSrem_TpFunctions { ...@@ -30,6 +30,7 @@ module ItsSrem_TpFunctions {
import from LibItsSremSsem_Templates all; import from LibItsSremSsem_Templates all;
import from LibItsSremSsem_TypesAndValues all; import from LibItsSremSsem_TypesAndValues all;
import from LibItsSremSsem_Pics all; import from LibItsSremSsem_Pics all;
import from LibItsSremSsem_Pixits all;
group iTS_SRole { group iTS_SRole {
...@@ -60,7 +61,7 @@ module ItsSrem_TpFunctions { ...@@ -60,7 +61,7 @@ module ItsSrem_TpFunctions {
f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success);
// Test Body // Test Body
f_utTriggerEvent(m_utTriggerEvent(sremNewContent)); f_utTriggerEvent(m_utTriggerEvent(PX_BASICEVEHICLEROLE, PX_REQUESTIMPORTANCELEVEL));
tc_ac.start; tc_ac.start;
alt { alt {
...@@ -113,7 +114,7 @@ module ItsSrem_TpFunctions { ...@@ -113,7 +114,7 @@ module ItsSrem_TpFunctions {
f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success);
// Test Body // Test Body
f_utTriggerEvent(m_utTriggerEvent(sremNewContent)); f_utTriggerEvent(m_utTriggerEvent(PX_BASICEVEHICLEROLE, PX_REQUESTIMPORTANCELEVEL));
tc_ac.start; tc_ac.start;
alt { alt {
...@@ -146,10 +147,10 @@ module ItsSrem_TpFunctions { ...@@ -146,10 +147,10 @@ module ItsSrem_TpFunctions {
function f_IS_TLC_EVGN_BV_02 () runs on ItsSremSsem { function f_IS_TLC_EVGN_BV_02 () runs on ItsSremSsem {
// Local variables // Local variables
var template (value) UtSremSsemTriggerList v_utTriggers := { var template (value) UtSremTriggerList v_utTriggers := {
m_utTriggerEvent(sremNewContent), m_utTriggerEvent(PX_BASICEVEHICLEROLE, PX_REQUESTIMPORTANCELEVEL),
m_utTriggerEvent(sremNewContent), m_utTriggerEvent(PX_BASICEVEHICLEROLE, PX_REQUESTIMPORTANCELEVEL),
m_utTriggerEvent(sremNewContent) m_utTriggerEvent(PX_BASICEVEHICLEROLE, PX_REQUESTIMPORTANCELEVEL)
} }
var boolean v_success := true; var boolean v_success := true;
var RequestIDList v_requestIDLists; var RequestIDList v_requestIDLists;
...@@ -176,7 +177,7 @@ module ItsSrem_TpFunctions { ...@@ -176,7 +177,7 @@ module ItsSrem_TpFunctions {
f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success);
// Test Body // Test Body
f_utTriggerEvent(m_utTriggerEvent(sremNewContent)); f_utTriggerEvent(m_utTriggerEvent(PX_BASICEVEHICLEROLE, PX_REQUESTIMPORTANCELEVEL));
f_utTriggerEvent(v_utTriggers[lengthof(v_utTriggers) - 1]); f_utTriggerEvent(v_utTriggers[lengthof(v_utTriggers) - 1]);
f_awaitSreMessage(mw_sremInd(mw_sremPdu(mw_sremWellFormatted)), v_sremInds[i]); f_awaitSreMessage(mw_sremInd(mw_sremPdu(mw_sremWellFormatted)), v_sremInds[i]);
...@@ -228,7 +229,7 @@ module ItsSrem_TpFunctions { ...@@ -228,7 +229,7 @@ module ItsSrem_TpFunctions {
f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success);
// Test Body // Test Body
f_utTriggerEvent(m_utTriggerEvent(sremNewContent)); f_utTriggerEvent(m_utTriggerEvent(PX_BASICEVEHICLEROLE, PX_REQUESTIMPORTANCELEVEL));
tc_ac.start; tc_ac.start;
alt { alt {
...@@ -288,7 +289,7 @@ module ItsSrem_TpFunctions { ...@@ -288,7 +289,7 @@ module ItsSrem_TpFunctions {
f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success);
// Test Body // Test Body
f_utTriggerEvent(m_utTriggerEvent(sremNewContent)); f_utTriggerEvent(m_utTriggerEvent(PX_BASICEVEHICLEROLE, PX_REQUESTIMPORTANCELEVEL));
tc_ac.start; tc_ac.start;
alt { alt {
...@@ -347,7 +348,7 @@ module ItsSrem_TpFunctions { ...@@ -347,7 +348,7 @@ module ItsSrem_TpFunctions {
f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success);
// Test Body // Test Body
f_utTriggerEvent(m_utTriggerEvent(sremNewContent)); f_utTriggerEvent(m_utTriggerEvent(PX_BASICEVEHICLEROLE, PX_REQUESTIMPORTANCELEVEL));
tc_ac.start; tc_ac.start;
alt { alt {
......
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