12.07.2015 Views

Managing Concurrency and Parallel Testing with TTCN-3 Telelogic ...

Managing Concurrency and Parallel Testing with TTCN-3 Telelogic ...

Managing Concurrency and Parallel Testing with TTCN-3 Telelogic ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tips <strong>and</strong> Guidelines• Common behavior must be defined in functionfunction TS_SetupConnection()runs on PTC1Type {...PCO1.send(msg1);...• Theses functions can be called by any other function runningon the same component type.• These function should be parameterized <strong>with</strong> the PCO <strong>and</strong> CPthat they use.function TS_SetupConnection(pco:PCOType)runs on PTC1Type {...pco.send(msg1);...37© <strong>Telelogic</strong> ABTips <strong>and</strong> Guidelines• It is strongly recommended to check that the PTCs havefinished their execution, <strong>with</strong> the use of the DONE statement inMTC, before terminating the MTC.all component.done;setverdict(pass);stop;38© <strong>Telelogic</strong> AB

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!