Commit b1e9bdd7 authored by Yann Garcia's avatar Yann Garcia
Browse files

Rename variables & parameters

parent b745c0b2
......@@ -136,12 +136,12 @@ module LibItsCam_Functions {
* @desc Initialise secure mode if required
*/
function f_initialiseSecuredMode(
in charstring p_certificateId := PX_CERT_FOR_TS
in charstring p_certificate_id := PX_CERT_FOR_TS
) runs on ItsCam {
if (PICS_IS_IUT_SECURED == true) {
if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certificateId))) {
if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certificate_id))) {
log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***");
stop;
}
......@@ -293,10 +293,10 @@ module LibItsCam_Functions {
/**
* @desc Setups default configuration
* @param p_certificateId The certificate identifier the TA shall use in case of secured IUT
* @param p_certificate_id The certificate identifier the TA shall use in case of secured IUT
*/
function f_cfUp(
in charstring p_certificateId := PX_CERT_FOR_TS
in charstring p_certificate_id := PX_CERT_FOR_TS
) runs on ItsCam /* TITAN TODO: system ItsCamSystem */ {
map(self:utPort, system:utPort);
......@@ -305,7 +305,7 @@ module LibItsCam_Functions {
f_connect4SelfOrClientSync();
// Initialise secured mode
f_initialiseSecuredMode(p_certificateId);
f_initialiseSecuredMode(p_certificate_id);
} // End of function f_cfUp
......
......@@ -26,11 +26,11 @@ module LibItsCommon_Templates {
* @desc Enable security support
*/
template (value) AcSecPrimitive m_acEnableSecurity(
in charstring p_certificateId,
in charstring p_certificate_id,
in boolean p_enforceSecurity := false
) := {
acEnableSecurity := {
certificateId := p_certificateId,
certificateId := p_certificate_id,
enforceSecurity := p_enforceSecurity
}
} // End of template m_acEnableSecurity
......
......@@ -237,12 +237,12 @@ module LibItsDenm_Functions {
* @desc Initialise secure mode if required
*/
function f_initialiseSecuredMode(
in charstring p_certificateId := PX_CERT_FOR_TS
in charstring p_certificate_id := PX_CERT_FOR_TS
) runs on ItsDenm {
if (PICS_IS_IUT_SECURED == true) {
if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certificateId))) {
if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certificate_id))) {
log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***");
stop;
}
......@@ -382,10 +382,10 @@ module LibItsDenm_Functions {
/**
* @desc Setups default configuration
* @param p_certificateId The certificate identifier the TA shall use in case of secured IUT
* @param p_certificate_id The certificate identifier the TA shall use in case of secured IUT
*/
function f_cfUp(
in charstring p_certificateId := PX_CERT_FOR_TS
in charstring p_certificate_id := PX_CERT_FOR_TS
) runs on ItsDenm /* TITAN TODO: system ItsDenmSystem */ {
map(self:acPort, system:acPort);
......@@ -394,7 +394,7 @@ module LibItsDenm_Functions {
f_connect4SelfOrClientSync();
// Initialise secured mode
f_initialiseSecuredMode(p_certificateId);
f_initialiseSecuredMode(p_certificate_id);
} // End of function f_cfUp
......
......@@ -14,10 +14,10 @@ module LibItsHttp_Functions {
/**
* @desc Setups default configuration
* @param p_certificateId The certificate identifier the TA shall use in case of secured IUT
* @param p_certificate_id The certificate identifier the TA shall use in case of secured IUT
*/
function f_cfUp(
in charstring p_certificateId
in charstring p_certificate_id
) runs on HttpComponent /* TITAN TODO: system HttpTestAdapter */ {
map(self:httpPort, system:httpPort);
......
......@@ -187,12 +187,12 @@ module LibItsIvim_Functions {
* @desc Initialise secure mode if required
*/
function f_initialiseSecuredMode(
in charstring p_certificateId := PX_CERT_FOR_TS
in charstring p_certificate_id := PX_CERT_FOR_TS
) runs on ItsIvim {
if (PICS_IS_IUT_SECURED == true) {
if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certificateId))) {
if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certificate_id))) {
log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***");
stop;
}
......@@ -242,10 +242,10 @@ module LibItsIvim_Functions {
/**
* @desc Setups default configuration
* @param p_certificateId The certificate identifier the TA shall use in case of secured IUT
* @param p_certificate_id The certificate identifier the TA shall use in case of secured IUT
*/
function f_cfUp(
in charstring p_certificateId := PX_CERT_FOR_TS
in charstring p_certificate_id := PX_CERT_FOR_TS
) runs on ItsIvim /* TITAN TODO: system ItsIvimSystem */{
map(self:acPort, system:acPort);
......@@ -254,7 +254,7 @@ module LibItsIvim_Functions {
f_connect4SelfOrClientSync();
// Initialise secured mode
f_initialiseSecuredMode(p_certificateId);
f_initialiseSecuredMode(p_certificate_id);
} // End of function f_cfUp
......
......@@ -97,12 +97,12 @@ module LibItsMapemSpatem_Functions {
* @desc Initialise secure mode if required
*/
function f_initialiseSecuredMode(
in charstring p_certificateId := PX_CERT_FOR_TS
in charstring p_certificate_id := PX_CERT_FOR_TS
) runs on ItsMapemSpatem {
if (PICS_IS_IUT_SECURED == true) {
if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certificateId))) {
if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certificate_id))) {
log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***");
stop;
}
......@@ -220,10 +220,10 @@ module LibItsMapemSpatem_Functions {
/**
* @desc Setups default configuration
* @param p_certificateId The certificate identifier the TA shall use in case of secured IUT
* @param p_certificate_id The certificate identifier the TA shall use in case of secured IUT
*/
function f_cfUp(
in charstring p_certificateId := PX_CERT_FOR_TS
in charstring p_certificate_id := PX_CERT_FOR_TS
) runs on ItsMapemSpatem /* TITAN TODO: system ItsMapemSpatemSystem */ {
map(self:acPort, system:acPort);
......@@ -235,7 +235,7 @@ module LibItsMapemSpatem_Functions {
activate(a_cf01Down());
// Initialise secured mode
f_initialiseSecuredMode(p_certificateId);
f_initialiseSecuredMode(p_certificate_id);
} // End of f_cfUp
......
This diff is collapsed.
This diff is collapsed.
......@@ -129,12 +129,12 @@ module LibItsSremSsem_Functions {
* @desc Initialise secure mode if required
*/
function f_initialiseSecuredMode(
in charstring p_certificateId := PX_CERT_FOR_TS
in charstring p_certificate_id := PX_CERT_FOR_TS
) runs on ItsSremSsem {
if (PICS_IS_IUT_SECURED == true) {
if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certificateId))) {
if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certificate_id))) {
log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***");
stop;
}
......@@ -252,10 +252,10 @@ module LibItsSremSsem_Functions {
/**
* @desc Setups default configuration
* @param p_certificateId The certificate identifier the TA shall use in case of secured IUT
* @param p_certificate_id The certificate identifier the TA shall use in case of secured IUT
*/
function f_cfUp(
in charstring p_certificateId := PX_CERT_FOR_TS
in charstring p_certificate_id := PX_CERT_FOR_TS
) runs on ItsSremSsem /* TITAN TODO: system ItsSremSsemSystem */ {
map(self:acPort, system:acPort);
......@@ -267,7 +267,7 @@ module LibItsSremSsem_Functions {
activate(a_cf01Down());
// Initialise secured mode
f_initialiseSecuredMode(p_certificateId);
f_initialiseSecuredMode(p_certificate_id);
//Initialze the IUT
f_prInitialState();
......
Supports Markdown
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