SERVICE ... END SERVICE

Ada Test Script Language

Purpose

A SERVICE block contains a common description for all tests related to a given service of the module under test.

Syntax

SERVICE <service_name>

END SERVICE

where:

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> is usually the name of thes service under test, although this is not mandatory.

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.

Example

BEGIN

SERVICE COMPUTE_HISTO

  # x1, x2, y1, y2 : integer ;

  # histo : T_HISTO ;

  TEST 1

  FAMILY nominal