Commit dc3ae925 authored by tepelmann's avatar tepelmann
Browse files

Checked default handling.

Added default.
Corrected TC_DEN_TDEV_BV_01.
Renamed constants for millisec timestamp.
parent e5752b4e
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -102,6 +102,27 @@ module LibItsDenm_Functions {
            [] tc_ac.timeout {
                f_selfOrClientSyncAndVerdict("error", e_timeout, "*** a_default: Timeout while awaiting the reception of a message ***");
            }
            [] a_shutdown() {
                f_poDefault();
                f_cfDown();
                log("*** a_default: INFO: TEST COMPONENT NOW STOPPING ITSELF! ***");
                stop;   
            }
        }
        
        /**
         * @desc Default handling the cancellation of an event.
         * @param p_trigger Indicates if the cancellation have to be raised by the test system(e_ets) 
         *                  or at the application layer of the IUT(e_iut).
         * @param p_event The event to cancel.
         */
        altstep a_cancelEvent(in template (value) Trigger p_trigger, in template (value) Situation p_event) runs on ItsFa {
            [] a_shutdown() {
                f_poCancelEvent(p_trigger, p_event);
                f_cfDown();
                log("*** a_default: INFO: TEST COMPONENT NOW STOPPING ITSELF! ***");
                stop;   
            }
        }
        
    } // end group altsteps
+2 −2
Original line number Diff line number Diff line
@@ -106,8 +106,8 @@ module LibItsDenm_TypesAndValues {
    group denmTimeConstants {
        
        // in milliseconds
        const TimeStamp c_duration20s := 20000;
        const TimeStamp c_duration40s := 40000;
        const TimeStamp c_duration20000ms := 20000;
        const TimeStamp c_duration40000ms := 40000;
        
        const float c_eventFrequencyMultiplier := 0.1;