Design: 09.02.01/P03
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 3: Error indicator = 5
CHARACTERISTICS: nnnn
OPERATOR SCRIPT: passive test
DESIGN:
Close phigs to test if functions 302-304 set number 5 to the error indicator,
then open phigs and not open structure to test if functions 302-304
set number 5 to the error indicator: ignoring function, function
requires state (PHOP,*,STOP,*)
<close phigs>
<inquire element pointer>
TEST: #SR 3
"If <inquire element pointer> is called and PHIGS is closed, it
should return error indicator = 005."
pass/fail depending on (returned error indicator = 5)
<inquire current element type and size>
TEST: #SR 3
"If <inquire current element type and size> is called and PHIGS is
closed, it should return error indicator = 005."
pass/fail depending on (returned error indicator = 5)
<inquire current element content>
TEST: #SR 3
"If <inquire current element content> is called and PHIGS is closed,
it should return error indicator = 005."
pass/fail depending on (returned error indicator = 5)
<open phigs>
<inquire element pointer>
TEST: #SR 3
"If <inquire element pointer> is called and PHIGS is open but no
structure is open, it should return error indicator = 005."
pass/fail depending on (returned error indicator = 5)
<inqurie current element type and size>
TEST: #SR 3
"If <inquire current element type and size> is called and PHIGS is
open but no structure is open, it should return error indicator =
005."
pass/fail depending on (returned error indicator = 5)
<inquire current element content>
TEST: #SR 3
"If <inquire current element content> is called and PHIGS is open
but no structure is open, it should return error indicator = 005."
pass/fail depending on (returned error indicator = 5)
END PROGRAM 3