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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Starting <strong>and</strong> Stopping test components• Once components are created <strong>and</strong> connected/mapped, theycan be started• The behavior to be executed by the component is given in thestart comm<strong>and</strong>– The behavior is defined as a function• Components can be stopped using the stop comm<strong>and</strong>– Only the execution of test behavior is stopped.– Components can stop themselves, or other components• Components can be destroyed using the kill comm<strong>and</strong>– The execution of test behavior is stopped - if any– All associated resources (including all port connections) are freed– Components can kill themselves, or other components33© <strong>Telelogic</strong> ABQuerying test components• The running operation returns a boolean value based onwhether the component is running or not• The alive operation returns a boolean value based on weatherthe component is already executing or ready to executebehavior, or not• The done operation can only be executed when thecomponent has completed its behavior• The killed operation can only be executed when thecomponent has been destroyed34© <strong>Telelogic</strong> AB

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

Saved successfully!

Ooh no, something went wrong!