Design: 09.02.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: Error indicator = 2

CHARACTERISTICS: nnnn

OPERATOR SCRIPT: passive test

DESIGN:

Close phigs after initializing to test if functions 98,99,102,103,106,107,
110,204-205,207-212,253,254,257-259,261,264,266,269,270,272,275-277,282-286,
301,305-308,310 set number 2 to the error indicator: ignoring function,
function requires state (PHOP,*,*,*).

<close phigs>

<rotate>
TEST: #SR 1
      "If <rotate> is called and PHIGS is closed, it should return error
       indicator = 002."
pass/fail depending on (returned error indicator = 2)

<compose matrix 3>
TEST: #SR 1
      "If <compose matrix 3> is called and PHIGS is closed, it should return
       error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<transform point>
TEST: #SR 1
      "If <transform point> is called and PHIGS is closed, it should return
       error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<build transformation matrix 3>
TEST: #SR 1
      "If <build transformation matrix 3> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<compose transformation matrix>
TEST: #SR 1
      "If <compose transformation matrix> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<evaluate view orientation matrix 3>
TEST: #SR 1
      "If <evaluate view orientation matrix 3> is called and PHIGS is closed,
       it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<evaluate view mapping matrix>
TEST: #SR 1
      "If <evaluate view mapping matrix> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire list of available workstation types>
TEST: #SR 1
      "If <inquire list of available workstation types> is called and PHIGS
       is closed, it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire phigs facilities>
TEST: #SR 1
      "If <inquire phigs facilities> is called and PHIGS is closed, it should
       return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire modelling clipping facilities>
TEST: #SR 1
      "If <inquire modelling clipping facilities> is called and PHIGS is
       closed, it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire edit mode>
TEST: #SR 1
      "If <inquire edit mode> is called and PHIGS is closed, it should return
       error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire set of open workstation>
TEST: #SR 1
      "If <inquire set of open workstations> is called and PHIGS is closed,
       it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire structure identifiers>
TEST: #SR 1
      "If <inquire structure identifiers> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire archive files>
TEST: #SR 1
      "If <inquire archive files> is called and PHIGS is closed, it should
       return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire conflict resolution>
TEST: #SR 1
      "If <inquire conflict resolution> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire workstation category>
TEST: #SR 1
      "If <inquire workstation category> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire display space size 3>
TEST: #SR 1
      "If <inquire display space size 3> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire view facilities>
TEST: #SR 1
      "If <inquire view facilities> is called and PHIGS is closed, it should
       return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire predefined view representation>
TEST: #SR 1
      "If <inquire predefined view representation> is called and PHIGS is
       closed, it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire workstation classification>
TEST: #SR 1
      "If <inquire workstation classification> is called and PHIGS is closed,
       it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire default display update state>
TEST: #SR 1
      "If <inquire default display update state> is called and PHIGS is
       closed, it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire polymarker facilities>
TEST: #SR 1
      "If <inquire polymarker facilities> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire text facilities>
TEST: #SR 1
      "If <inquire text facilities> is called and PHIGS is closed, it should
       return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire text extent>
TEST: #SR 1
      "If <inquire text extent> is called and PHIGS is closed, it should
       return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire interior facilities>
TEST: #SR 1
      "If <inquire interior facilities> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire edge facilities>
TEST: #SR 1
      "If <inquire edge facilities> is called and PHIGS is closed, it should
       return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire predefined pattern representation>
TEST: #SR 1
      "If <inquire predefined pattern representation> is called and PHIGS
       is closed, it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire colour model facilities>
TEST: #SR 1
      "If <inquire colour model facilities> is called and PHIGS is closed,
       it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire colour facilities>
TEST: #SR 1
      "If <inquire colour facilities> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire generalized drawing primitive>
TEST: #SR 1
      "If <inquire generalized drawing primitive> is called and PHIGS is
       closed, it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire list of available generalized structure elements>
TEST: #SR 1
      "If <inquire list of available generalized structure elements> is called
       and PHIGS is closed, it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire number of display priorities supported>
TEST: #SR 1
      "If <inquire number of display priorities supported> is called and PHIGS
       is closed, it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire workstation state table lengths>
TEST: #SR 1
      "If <inquire workstation state table lengths> is called and PHIGS is
       closed, it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire dynamics of structures>
TEST: #SR 1
      "If <inquire dynamics of structures> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire open structure>
TEST: #SR 1
      "If <inquire open structure> is called and PHIGS is closed, it should
       return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire element type and size>
TEST: #SR 1
      "If <inquire element type and size> is called and PHIGS is
       closed, it should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<iqnuire element content>
TEST: #SR 1
      "If <inquire element content> is called and PHIGS is closed, it should
       return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire structure status>
TEST: #SR 1
      "If <inquire structure status> is called and PHIGS is closed, it should
       return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<inquire paths to ancestors>
TEST: #SR 1
      "If <inquire paths to ancestors> is called and PHIGS is closed, it
       should return error indicator = 002."
pass/fail depending on (returned error indicator = 2)

<element search>
TEST: #SR 1
      "If <element search> is called and PHIGS is closed, it should return
       error indicator = 002."
pass/fail depending on (returned error indicator = 2)

END PROGRAM 1