Design: 09.01/P01

This is an abstract, language-independent design. Grim details may be found in the corresponding source code. You may return to the documentation for the module containing this program design, or to the entire hierarchical table of topics covered by the PVT.


PROGRAM 1: Testing the error handling mode

CHARACTERISTICS: nnnn

OPERATOR SCRIPT: passive test.

DESIGN:

Use <inquire error handling mode> to determine the result of <set error
handling mode>

TEST: #SR 2 3
      "After opening PHIGS, <inquire error handling mode> should return ON."
<inquire error handling mode> hndmod
pass/fail depending on (hndmod = ON)

TEST: #SR 1 3
      "After <set error handling mode> to OFF, <inquire error handling mode>
       should return OFF."
<set error handling mode> to OFF
<inquire error handling mode> hndmod
pass/fail depending on (hndmod = OFF)

TEST: #SR 1 3
      "After <set error handling mode> to ON, <inquire error handling mode>
       should return ON."
<set error handling mode> to ON
<inquire error handling mode> hndmod
pass/fail depending on (hndmod = ON)

END PROGRAM 1