Design: 09.02.01/P04

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 4: Error indicator = 7

CHARACTERISTICS: nnnn

OPERATOR SCRIPT: passive test

DESIGN:

Close phigs to test if functions 213, 214 set number 7 to the error indicator,
then open phigs and not open any archive file to test if functions 213, 214
set number 7 to the error indicator: ignoring function, function
requires state (PHOP,*,*,AROP)

<close phigs>

<inquire all conflicting structures>
TEST: #SR 4
      "If <inquire all conflicting structures> is called and PHIGS is closed,
       it should return error indicator = 007."
pass/fail depending on (returned error indicator = 7)

<inquire conflicting structures in network>
TEST: #SR 4
      "If <inquire conflicting structures in network> is called and PHIGS is
       closed, it should return error indicator = 007."
pass/fail depending on (returned error indicator = 7)

<open phigs>

<inquire all conflicting structures>
TEST: #SR 4
      "If <inquire all conflicting structures> is called and PHIGS is open
       but no archive file is open, it should return error indicator = 007."
pass/fail depending on (returned error indicator = 7)

<inquire conflicting structures in network>
TEST: #SR 4
      "If <inquire conflicting structures in network> is called and
       PHIGS is open but no archive file is open, it should return error
       indicator = 007."
pass/fail depending on (returned error indicator = 7)

END PROGRAM 4