Design: 09.02.10/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 = 2000
CHARACTERISTICS: ynnn
OPERATOR SCRIPT: passive test
DESIGN:
<open workstation>
<open archive file> 11
<open structure> 100
<text>
<execute structure> 101
<close structure>
<open structure> 101
<text>
<close structure>
<inquire conflicting structures in network> with structure network source=2
TEST: #SR 1
"If <inquire conflicting structures in network> is called and
enumeration type is out of range, it should return error indicator
= 2000."
pass/fail depending on (returned error indicator = 2000)
<inquire polyline representation> with type of returned values = 2
TEST: #SR 1
"If <inquire polyline representation> is called and enumeration
type is out of range, it should return error indicator = 2000."
pass/fail depending on (returned error indicator = 2000)
<inquie edge representation> with type of returned values = -1
TEST: #SR 1
"If <inquire edge representation> is called and enumeration type
is out of range, it should return error indicator = 2000."
pass/fail depending on (returned error indicator = 2000)
<inquire text extent> with text path = 4
TEST: #SR 1
"If <inquire text extent> is called and enumeration type is out
of range, it should return error indicator = 2000."
pass/fail depending on (returned error indicator = 2000)
<inquire text extent> with text alignment horizontal = 4
TEST: #SR 1
"If <inquire text extent> is called and enumeration type is out
of range, it should return error indicator = 2000."
pass/fail depending on (returned error indicator = 2000)
<inquire text extent> with text alignment vertical = 6
TEST: #SR 1
"If <inquire text extent> is called and enumeration type is out
of range, it should return error indicator = 2000."
pass/fail depending on (returned error indicator = 2000)
<open structure> 200
<text>
<execute structure> 201
<close structure>
<open structure> 201
<text>
<execute structure> 202
<close sturcture>
<open structure> 202
<text>
<close structure>
<inquire paths to descendants> with path order = 2
TEST: #SR 1
"If <inquire paths to descendants> is called and enumeration
type is out of range, it should return error indicator = 2000."
pass/fail depending on (returned error indicator = 2000)
<element search> with search direction = 2
TEST: #SR 1
"If <element search> is called and enumeration type is out of
range, it should return error indicator = 2000."
pass/fail depending on (returned error indicator = 2000)
<element search> with exclusion set element = -1
TEST: #SR 1
"If <element search> is called and enumeration type is out of
range, it should return error indicator = 2000."
pass/fail depending on (returned error indicator = 2000)
<open structure> 301
<execute structure> 302
<close structure>
<open structure> 302
<text>
<close structure>
<incremental spatial search 3> with modelling clip flag = 2
TEST: #SR 1
"If <incremental spatial search 3> is called and enumeration
type is out of range, it should return error indicator = 2000."
pass/fail depending on (returned error indicator = 2000)
END PROGRAM 1