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.

A <strong>TTCN</strong>-3 Example// Behavior description...map(PTC1:PCO1b, system:PCO1a);map(PTC2:PCO2b, system:PCO2a);...CP1mtcCP2CPCPPTC1PTC2PCO1bPCO1asystemPCO2bPCO2a25© <strong>Telelogic</strong> ABA <strong>TTCN</strong>-3 Example// Behavior description...PTC1.start(TS_InitiateCall());PTC2.start(TS_AnswerCall());...mtcfunction TS_InitiateCall()runs on PTC1Type {...PCO1b.send(msg1);...}PTC1PTC2function TS_AnswerCall()runs on PTC2Type {...PCO2b.receive(msg2);CP.send(statusConnected);...}msg1system26© <strong>Telelogic</strong> AB

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

Saved successfully!

Ooh no, something went wrong!