COMMTYPE

System Testing Test Script Language.

Syntax

COMMTYPE <identifier> IS <connection_id_type> [WITH MULTIPLEXING]

Description

The COMMTYPE instruction defines a type of communication. The C connection identifies the communication type.

The C <connection_id_type> must be a typedef, as defined in the interface file, an included file, or in the test script.

You can define the communication type as being able to multiplex connections for the read operation, using the multiplexing option.

You must use the COMMTYPE instruction at the beginning of the test script, before the first scenario.

Example

...

#typedef int inet_id_t;

COMMTYPE ux_inet IS inet_id_t WITH MULTIPLEXING

#typedef struct { int key; int id; } msgqueue_id_t;

COMMTYPE ux_msgqueue IS msgqueue_id_t

....

Related Topics

CALLBACK