SERVICE ... END SERVICE

C Test Script Language

Syntax

SERVICE <service_name>

END SERVICE

Description

The SERVICE instruction starts a SERVICE block. This block contains the description of all the tests relating to a given service of the module to be tested.

The <service_name> parameter flags the tested service in the test report, and is therefore usually the name of this service (although this is not obligatory).

The END SERVICE instruction indicates the end of the service block.

Associated Rules

The SERVICE instruction must appear after the BEGIN instruction.

The <service_name> parameter can be any identifier. It is obligatory. It must be unique in the PTU.

Example

BEGIN

SERVICE COMPUTE_HISTO

# int x1, x2, y1, y2 ;

# int status ;

# T_HISTO histo;

 TEST 1

 FAMILY nominal