Loading plantuml/__main__.py +3 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,6 @@ def process_line(line): else: out_streams.write(f"hnote across #gray: error\n") out_streams.write(f"note left: {match['hours']}:{match['minutes']}:{match['seconds']}.{match['milliseconds']}\n") out_streams.write('@enduml\n') else: logger.info('Got unsupported item') # End of 'if' statement Loading Loading @@ -168,6 +167,9 @@ def main(): process_line(line) line = in_stream.readline() # End of 'for' statement # Add the end tag out_streams.write('@enduml\n') out_streams.flush() # End of 'with' statement # End of 'with' statement Loading ttcn/patch_lib_common_titan/ttcn/LibCommon_Sync.ttcn +38 −37 Original line number Diff line number Diff line /** * @author ETSI * @version $URL: https://oldforge.etsi.org/svn/LibCommon/tags/v1.4.0/ttcn/LibCommon_Sync.ttcn $ * $Id: LibCommon_Sync.ttcn 66 2017-03-06 09:59:41Z filatov $ * @version $URL$ * $Id$ * @desc This module implements _one_ generic synchronization mechanism * for TTCN-3 test cases with one or more test components. * Key concept is here that one test component acts as a Loading Loading @@ -62,7 +62,7 @@ module LibCommon_Sync { //Common import from LibCommon_BasicTypesAndValues { type UInt } ; import from LibCommon_BasicTypesAndValues all; import from LibCommon_AbstractData all; import from LibCommon_VerdictControl all; Loading Loading @@ -625,7 +625,7 @@ module LibCommon_Sync { * @remark User shall stop the component */ altstep a_shutdown() runs on ClientSyncComp { runs on BaseSyncComp { [] syncPort.receive(m_syncServerStop){ tc_sync.stop ; log("**** a_shutdown: Test component received STOP signal from MTC **** "); Loading Loading @@ -732,7 +732,7 @@ module LibCommon_Sync { } else if ( p_syncId == c_initDone ) { log("**** f_serverSyncClientsTimed: Sync server now starting UPPER TESTER synchronization ... ****") ; } else { log("**** f_serverSyncClientsTimed: Sync server now starting handling of next synchronization point ... ****") ; log("**** f_serverSyncClientsTimed: Sync server now starting handling of " & p_syncId & " synchronization point ... ****") ; } tc_sync.start(p_execTimeLimit) ; alt{ Loading @@ -747,6 +747,7 @@ module LibCommon_Sync { repeat; } [] syncPort.receive(m_syncClientReady(p_syncId)) -> sender v_clientRef { log("**** f_serverSyncClientsTimed: Sync server received READY signal from a client - server will wait for all clients to reach this synchronization point ****"); if(not f_isPresentInArray(v_clientRef, v_clientRefs)) { v_clientRefs[v_noOfRecvdSyncMsgs] := v_clientRef; v_noOfRecvdSyncMsgs := v_noOfRecvdSyncMsgs + 1; Loading Loading
plantuml/__main__.py +3 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,6 @@ def process_line(line): else: out_streams.write(f"hnote across #gray: error\n") out_streams.write(f"note left: {match['hours']}:{match['minutes']}:{match['seconds']}.{match['milliseconds']}\n") out_streams.write('@enduml\n') else: logger.info('Got unsupported item') # End of 'if' statement Loading Loading @@ -168,6 +167,9 @@ def main(): process_line(line) line = in_stream.readline() # End of 'for' statement # Add the end tag out_streams.write('@enduml\n') out_streams.flush() # End of 'with' statement # End of 'with' statement Loading
ttcn/patch_lib_common_titan/ttcn/LibCommon_Sync.ttcn +38 −37 Original line number Diff line number Diff line /** * @author ETSI * @version $URL: https://oldforge.etsi.org/svn/LibCommon/tags/v1.4.0/ttcn/LibCommon_Sync.ttcn $ * $Id: LibCommon_Sync.ttcn 66 2017-03-06 09:59:41Z filatov $ * @version $URL$ * $Id$ * @desc This module implements _one_ generic synchronization mechanism * for TTCN-3 test cases with one or more test components. * Key concept is here that one test component acts as a Loading Loading @@ -62,7 +62,7 @@ module LibCommon_Sync { //Common import from LibCommon_BasicTypesAndValues { type UInt } ; import from LibCommon_BasicTypesAndValues all; import from LibCommon_AbstractData all; import from LibCommon_VerdictControl all; Loading Loading @@ -625,7 +625,7 @@ module LibCommon_Sync { * @remark User shall stop the component */ altstep a_shutdown() runs on ClientSyncComp { runs on BaseSyncComp { [] syncPort.receive(m_syncServerStop){ tc_sync.stop ; log("**** a_shutdown: Test component received STOP signal from MTC **** "); Loading Loading @@ -732,7 +732,7 @@ module LibCommon_Sync { } else if ( p_syncId == c_initDone ) { log("**** f_serverSyncClientsTimed: Sync server now starting UPPER TESTER synchronization ... ****") ; } else { log("**** f_serverSyncClientsTimed: Sync server now starting handling of next synchronization point ... ****") ; log("**** f_serverSyncClientsTimed: Sync server now starting handling of " & p_syncId & " synchronization point ... ****") ; } tc_sync.start(p_execTimeLimit) ; alt{ Loading @@ -747,6 +747,7 @@ module LibCommon_Sync { repeat; } [] syncPort.receive(m_syncClientReady(p_syncId)) -> sender v_clientRef { log("**** f_serverSyncClientsTimed: Sync server received READY signal from a client - server will wait for all clients to reach this synchronization point ****"); if(not f_isPresentInArray(v_clientRef, v_clientRefs)) { v_clientRefs[v_noOfRecvdSyncMsgs] := v_clientRef; v_noOfRecvdSyncMsgs := v_noOfRecvdSyncMsgs + 1; Loading