Loading ttcn/Common/LibItsCommon_Functions.ttcn +4 −11 Original line number Original line Diff line number Diff line Loading @@ -93,27 +93,20 @@ module LibItsCommon_Functions { f_selfOrClientSyncAndVerdict("error", e_error); f_selfOrClientSyncAndVerdict("error", e_error); } } } } [] utPort.receive { [] utPort.receive(UtResult:false) { tc_wait.stop; tc_wait.stop; if (p_discard == false) { if (p_discard == false) { log("*** f_utCheckEvent: ERROR: Event not correctly indicated at application layer ***"); log("*** f_utCheckEvent: ERROR: Event not correctly indicated at application layer ***"); f_selfOrClientSyncAndVerdict("error", e_error); f_selfOrClientSyncAndVerdict("error", e_error); } } else { else { log("*** f_utCheckEvent: INFO: Another event indicated at application layer, repeating check ***"); log("*** f_utCheckEvent: INFO: Event not indicated at application layer***"); tc_wait.start; repeat; } } } } [] tc_wait.timeout { [] tc_wait.timeout { if (p_discard == false) { log("*** f_utCheckEvent: ERROR: Timeout while waiting for event check result ***"); log("*** f_utCheckEvent: ERROR: Timeout while waiting for event check result ***"); f_selfOrClientSyncAndVerdict("error", e_timeout); f_selfOrClientSyncAndVerdict("error", e_timeout); } } else { log("*** f_utCheckEvent: INFO: Event not indicated at application layer ***"); } } [else] { // Shortcut defaults [else] { // Shortcut defaults repeat; repeat; } } Loading Loading
ttcn/Common/LibItsCommon_Functions.ttcn +4 −11 Original line number Original line Diff line number Diff line Loading @@ -93,27 +93,20 @@ module LibItsCommon_Functions { f_selfOrClientSyncAndVerdict("error", e_error); f_selfOrClientSyncAndVerdict("error", e_error); } } } } [] utPort.receive { [] utPort.receive(UtResult:false) { tc_wait.stop; tc_wait.stop; if (p_discard == false) { if (p_discard == false) { log("*** f_utCheckEvent: ERROR: Event not correctly indicated at application layer ***"); log("*** f_utCheckEvent: ERROR: Event not correctly indicated at application layer ***"); f_selfOrClientSyncAndVerdict("error", e_error); f_selfOrClientSyncAndVerdict("error", e_error); } } else { else { log("*** f_utCheckEvent: INFO: Another event indicated at application layer, repeating check ***"); log("*** f_utCheckEvent: INFO: Event not indicated at application layer***"); tc_wait.start; repeat; } } } } [] tc_wait.timeout { [] tc_wait.timeout { if (p_discard == false) { log("*** f_utCheckEvent: ERROR: Timeout while waiting for event check result ***"); log("*** f_utCheckEvent: ERROR: Timeout while waiting for event check result ***"); f_selfOrClientSyncAndVerdict("error", e_timeout); f_selfOrClientSyncAndVerdict("error", e_timeout); } } else { log("*** f_utCheckEvent: INFO: Event not indicated at application layer ***"); } } [else] { // Shortcut defaults [else] { // Shortcut defaults repeat; repeat; } } Loading