15.03.2015 Views

Test Logging - TTCN-3

Test Logging - TTCN-3

Test Logging - TTCN-3

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Example 1: describing a message<br />

Existing solution in LibSip<br />

type record Request<br />

{<br />

RequestLine requestLine,<br />

MessageHeader msgHeader,<br />

MessageBody messageBody optional,<br />

Payload payload optional<br />

}<br />

type record REGISTER_Request<br />

{<br />

RequestLine requestLine,<br />

MessageHeader msgHeader,<br />

MessageBody messageBody optional,<br />

Payload payload optional<br />

}<br />

type record INVITE_Request<br />

{ ... }<br />

type record OPTIONS_Request<br />

{ ... }<br />

...<br />

Generic type definition<br />

for a SIP Request<br />

14 similar definitions<br />

for each variant of<br />

SIP Request<br />

« the introduction of the specific types<br />

is to enable better means for logging »<br />

4

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

Saved successfully!

Ooh no, something went wrong!