Design: 09.02.02/P02
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 2: Error indicator = 54
CHARACTERISTICS: ynnn
OPERATOR SCRIPT: passive test
DESIGN:
Not open workstation to test if functions 216,218,220,222,225,226,229
232,233,234,235,237,239 set 54 to error indicator. Then open workstation
with wkid and call functions 217,219,221,223,224,227,228,230,231,236,238,240
with wkid+1 to test if they set 54 to error indicator: ignoring function,
the specified workstation is not open.
<inquire workstation connection and type> with wkid
TEST: #SR 3
"If <inquire workstation connection and type> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire view representation> with wkid
TEST: #SR 3
"If <inquire view representation> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire posted structures> with wkid
TEST: #SR 3
"If <inquire posted structures> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire list of polyline indices> with wkid
TEST: #SR 3
"If <inquire list of polyline indices> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire polymarker representation> with wkid
TEST: #SR 3
"If <inquire polymarker representation> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire list of text indices> with wkid
TEST: #SR 3
"If <inquire list of text indices> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inqurie interior representation> with wkid
TEST: #SR 3
"If <inquire interior representation> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire list of pattern indices> with wkid
TEST: #SR 3
"If <inquire list of pattern indices> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire pattern representation> with wkid
TEST: #SR 3
"If <inquire pattern representation> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire colour model> with wkid
TEST: #SR 3
"If <inquire colour model> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire list of colour indices> with wkid
TEST: #SR 3
"If <inquire list of colour indices> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire highlighting filter> with wkid
TEST: #SR 3
"If <inquire highlighting filter> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<inquire workstation transformation 3> with wkid
TEST: #SR 3
"If <inquire workstation transformation 3> is called and the
specified workstation is not open, it should return error indicator
= 054 or 003."
pass/fall depending on (returned error indicator = 54)
<open workstation> with wkid
wkid1 = wkid+1
<inquire list of view indices> with wkid1
TEST: #SR 3
"If <inquire list of view indices> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inqurie hlhsr mode> with wkid1
TEST: #SR 3
"If <inquire hlhsr mode> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inqurie display update state> witk wkid1
TEST: #SR 3
"If <inquire display update state> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inquire polyline representation> with wkid1
TEST: #SR 3
"If <inquire polyline representation> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inquire list of polymarker indices> with wkid1
TEST: #SR 3
"If <inquire list of polymarker indices> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inquire polymarker representation> with wkid1
TEST: #SR 3
"If <inquire polymarker representation> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inquire list of interior indices> with wkid1
TEST: #SR 3
"If <inquire list of interior indices> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inquire list of edge indices> with wkid1
TEST: #SR 3
"If <inquire list of edge indices> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inquire edge representation> with wkid1
TEST: #SR 3
"If <inquire edge representation> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inquire colour representation> with wkid1
TEST: #SR 3
"If <inquire colour representation> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inquire invisibility filter> with wkid1
TEST: #SR 3
"If <inquire invisibility filter> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
<inquire workstation transformation> with wkid1
TEST: #SR 3
"If <inquire workstation transformation> is called and the
specified workstation is not open, it should return error indicator
= 054."
pass/fall depending on (returned error indicator = 54)
END PROGRAM 2