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

Rename variables & parameters

parent b745c0b2
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -136,12 +136,12 @@ module LibItsCam_Functions {
         * @desc Initialise secure mode if required
         * @desc Initialise secure mode if required
         */
         */
        function f_initialiseSecuredMode(
        function f_initialiseSecuredMode(
                                         in charstring p_certificateId := PX_CERT_FOR_TS
                                         in charstring p_certificate_id := PX_CERT_FOR_TS
        ) runs on ItsCam {
        ) runs on ItsCam {
            
            
            if (PICS_IS_IUT_SECURED == true) {
            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! ***");
                    log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***");
                    stop;
                    stop;
                }
                }
@@ -293,10 +293,10 @@ module LibItsCam_Functions {
        
        
        /**
        /**
         * @desc    Setups default configuration   
         * @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(
        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 */ {
        ) runs on ItsCam /* TITAN TODO: system ItsCamSystem */ {
            
            
            map(self:utPort, system:utPort);
            map(self:utPort, system:utPort);
@@ -305,7 +305,7 @@ module LibItsCam_Functions {
            f_connect4SelfOrClientSync();
            f_connect4SelfOrClientSync();
            
            
            // Initialise secured mode
            // Initialise secured mode
            f_initialiseSecuredMode(p_certificateId); 
            f_initialiseSecuredMode(p_certificate_id); 
            
            
        } // End of function f_cfUp
        } // End of function f_cfUp
        
        
+2 −2
Original line number Original line Diff line number Diff line
@@ -26,11 +26,11 @@ module LibItsCommon_Templates {
         * @desc Enable security support
         * @desc Enable security support
         */
         */
        template (value) AcSecPrimitive m_acEnableSecurity(
        template (value) AcSecPrimitive m_acEnableSecurity(
                                                           in charstring p_certificateId, 
                                                           in charstring p_certificate_id, 
                                                           in boolean p_enforceSecurity := false
                                                           in boolean p_enforceSecurity := false
        ) := {
        ) := {
            acEnableSecurity := {
            acEnableSecurity := {
                certificateId   := p_certificateId,
                certificateId   := p_certificate_id,
                enforceSecurity := p_enforceSecurity
                enforceSecurity := p_enforceSecurity
            }
            }
        } // End of template m_acEnableSecurity
        } // End of template m_acEnableSecurity
+5 −5
Original line number Original line Diff line number Diff line
@@ -237,12 +237,12 @@ module LibItsDenm_Functions {
         * @desc Initialise secure mode if required
         * @desc Initialise secure mode if required
         */
         */
        function f_initialiseSecuredMode(
        function f_initialiseSecuredMode(
                                         in charstring p_certificateId := PX_CERT_FOR_TS
                                         in charstring p_certificate_id := PX_CERT_FOR_TS
        ) runs on ItsDenm {
        ) runs on ItsDenm {
            
            
            if (PICS_IS_IUT_SECURED == true) {
            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! ***");
                    log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***");
                    stop;
                    stop;
                }
                }
@@ -382,10 +382,10 @@ module LibItsDenm_Functions {
        
        
        /**
        /**
         * @desc    Setups default configuration   
         * @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(
        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 */ {
        ) runs on ItsDenm /* TITAN TODO: system ItsDenmSystem */ {
            
            
            map(self:acPort, system:acPort);
            map(self:acPort, system:acPort);
@@ -394,7 +394,7 @@ module LibItsDenm_Functions {
            f_connect4SelfOrClientSync();
            f_connect4SelfOrClientSync();
            
            
            // Initialise secured mode
            // Initialise secured mode
            f_initialiseSecuredMode(p_certificateId); 
            f_initialiseSecuredMode(p_certificate_id); 
            
            
        } // End of function f_cfUp
        } // End of function f_cfUp
        
        
+2 −2
Original line number Original line Diff line number Diff line
@@ -14,10 +14,10 @@ module LibItsHttp_Functions {
      
      
      /**
      /**
       * @desc    Setups default configuration   
       * @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(
      function f_cfUp(
                      in charstring p_certificateId
                      in charstring p_certificate_id
      ) runs on HttpComponent /* TITAN TODO: system HttpTestAdapter */ {
      ) runs on HttpComponent /* TITAN TODO: system HttpTestAdapter */ {
          
          
          map(self:httpPort, system:httpPort);
          map(self:httpPort, system:httpPort);
+5 −5
Original line number Original line Diff line number Diff line
@@ -187,12 +187,12 @@ module LibItsIvim_Functions {
         * @desc Initialise secure mode if required
         * @desc Initialise secure mode if required
         */
         */
        function f_initialiseSecuredMode(
        function f_initialiseSecuredMode(
                                         in charstring p_certificateId := PX_CERT_FOR_TS
                                         in charstring p_certificate_id := PX_CERT_FOR_TS
        ) runs on ItsIvim {
        ) runs on ItsIvim {
            
            
            if (PICS_IS_IUT_SECURED == true) {
            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! ***");
                    log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***");
                    stop;
                    stop;
                }
                }
@@ -242,10 +242,10 @@ module LibItsIvim_Functions {
        
        
        /**
        /**
         * @desc    Setups default configuration   
         * @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(
        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 */{
        ) runs on ItsIvim /* TITAN TODO: system ItsIvimSystem */{
            
            
            map(self:acPort, system:acPort);
            map(self:acPort, system:acPort);
@@ -254,7 +254,7 @@ module LibItsIvim_Functions {
            f_connect4SelfOrClientSync();
            f_connect4SelfOrClientSync();
            
            
            // Initialise secured mode
            // Initialise secured mode
            f_initialiseSecuredMode(p_certificateId); 
            f_initialiseSecuredMode(p_certificate_id); 
            
            
        } // End of function f_cfUp
        } // End of function f_cfUp
        
        
Loading