07.01.2013 Views

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

16.5.1 Test System Architecture<br />

16 TTCN-3 481<br />

The general structure of a distributed TTCN-3 Test System is depicted <strong>in</strong> Figure<br />

1.3. A TTCN-3 Test System is build up of a set of <strong>in</strong>teract<strong>in</strong>g entities which<br />

manage the test execution (<strong>in</strong>terpret or execute the TTCN-3 code), realize the<br />

communication with the SUT, implement external functions and handle timer<br />

operations.<br />

Fig. 16.3. Test System Architecture.<br />

The test system conta<strong>in</strong>s the executable code produced dur<strong>in</strong>g compilation<br />

- TTCN-3 Executable (TE), which communicates with the Test Management<br />

(TM), the Component Handl<strong>in</strong>g (CH) and the Codec (CD) via the TTCN-3<br />

Control Interfaces. The communication with the System Under Tests is realized<br />

by us<strong>in</strong>g the TTCN-3 Runtime Interfaces (TRI) which def<strong>in</strong>e the <strong>in</strong>terfaces<br />

between the TE, the System Adapter (SA) and the Platform Adapter (PA).<br />

The ma<strong>in</strong> components of the test system are:<br />

• TTCN-3 Executable (TE) <strong>in</strong>terprets or executes the compiled TTCN-3 code.<br />

This component manages different entities: control, behavior, component,<br />

type, value and queues, entities which are the basic constructors for the<br />

executable code.<br />

• Component Handler (CH) handles the communication between components.<br />

The CH API conta<strong>in</strong>s operations to create, start, stop test components, to<br />

establish the connection between test components (map, connect), to handle<br />

the communication operations (send, receive, call and reply) and to manage<br />

the verdicts. The <strong>in</strong>formation about the created components and their physical<br />

locations is stored <strong>in</strong> a repository with<strong>in</strong> the Execution Environment.

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

Saved successfully!

Ooh no, something went wrong!