Loading ttcn/DENM/LibItsDenm_Functions.ttcn +21 −0 Original line number Diff line number Diff line Loading @@ -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 Loading ttcn/DENM/LibItsDenm_TypesAndValues.ttcn +2 −2 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
ttcn/DENM/LibItsDenm_Functions.ttcn +21 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
ttcn/DENM/LibItsDenm_TypesAndValues.ttcn +2 −2 Original line number Diff line number Diff line Loading @@ -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; Loading