Design: 09.02.02/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 = 52
CHARACTERISTICS: nnnn
OPERATOR SCRIPT: passive test
DESIGN:
Call functions 253,255-262,265,266,269,270,273,274,276,277,280,281,283-286
with a workstation type not recognized by the implementation to test if
the functions set number 52 to the error indicator: Ignoring function, the
specified workstation type is not recognized by the implementaion.
Use <inquire list of availalble workstation types> to determine all available
workstation types
wktype = one integer different from all available workstation types
<Inquire workstation category> with workstation type = wktype
TEST: #SR 2
"If <inquire workstation category> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire display space size> with workstation type = wktype
TEST: #SR 2
"If <inquire display space size> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire hlhsr facilities> with workstation type = wktype
TEST: #SR 2
"If <inquire hlhsr facilities> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire view facilities> with workstation type = wktype
TEST: #SR 2
"If <inquire view facilities> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire predefined view representation> with workstation type = wktype
TEST: #SR 2
"If <inquire predefined view representation> is called and the
workstation type is not recognized by the implementation, it should
return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire workstation classification> with workstation type = wktype
TEST: #SR 2
"If <inquire workstation classification> is called and the
workstation type is not recognized by the implementation, it should
return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire dynamics of workstation attributes> with workstation type = wktype
TEST: #SR 2
"If <inquire dynamics of workstation attributes> is called and the
workstation type is not recognized by the implementation, it should
return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inqurie default display update state> with workstation type = wktype
TEST: #SR 2
"If <inquire default display update state> is called and the
workstation type is not recognized by the implementation, it should
return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inqurie polyline facilities> with workstation type = wktype
TEST: #SR 2
"If <inquire polyline facilities> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire predefined polymarker representation> with workstation type=wktype
TEST: #SR 2
"If <inquire predefined polymarker representation> is called and
the workstation type is not recognized by the implementation, it
should return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire text facilities> with workstation type = wktype
TEST: #SR 2
"If <inquire text facilities> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire text extent> with workstation type = wktype
TEST: #SR 2
"If <inquire text extent> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire interior facilities> with workstation type = wktype
TEST: #SR 2
"If <inquire interior facilities> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire predefined edge representation> with workstation type = wktype
TEST: #SR 2
"If <inquire predefined edge representation> is called and the
workstation type is not recognized by the implementation, it should
return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire pattern facilities> with workstation type = wktype
TEST: #SR 2
"If <inquire pattern facilities> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire colour model facilities> with workstation type = wktype
TEST: #SR 2
"If <inquire colour model facilities> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire colour facilities> with workstation type = wktype
TEST: #SR 2
"If <inquire colour facilities> is called and the workstation type
is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire list of available generalized drawing primitives> with workstation
type = wktype
TEST: #SR 2
"If <inquire list of available generalized drawing primitives> is
called and the workstation type is not recognized by the
implementation, it should return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire generalized drawing primitive 3> with workstation type = wktype
TEST: #SR 2
"If <inquire generalized drawing primitive 3> is called and the
workstation type is not recognized by the implementation, it should
return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inqurie list of available generalized structure elements> with workstation
type = wktype
TEST: #SR 2
"If <inquire list of available generalized structure elements> is
called and the workstation type is not recognized by the
implementation, it should return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire number of display priorities supported> with workstation
type = wktype
TEST: #SR 2
"If <inquire number of display priorities supported> is called
and the workstation type is not recognized by the implementation,
it should return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire workstation state table lengths> with workstation type = wktype
TEST: #SR 2
"If <inquire workstation state table lengths> is called and the
workstation type is not recognized by the implementation, it should
return error indicator = 052."
pass/fail depending on (returned error indicator = 52)
<inquire dynamics of structures> with workstation type = wktype
TEST: #SR 2
"If <inquire dynamics of structures> is called and the workstation
type is not recognized by the implementation, it should return error
indicator = 052."
pass/fail depending on (returned error indicator = 52)
END PROGRAM 1