DESCRIPTION: This module tests that the functions which are related to structures generate the specified error codes if they are executed in an incorrect conditions. The error is handled by the default system handling subroutine. Also, this module tests the requirement that no side effects. SEMANTIC REQUIREMENTS:#F 137 138
SR1. If functions <archive structures>, <archive structure networks> are called, and a specified structure does not exist in the CSS, then a warning error 200 is generated and no action is taken for that structure.
#F 145 146
SR2. If functions <retrieve paths to ancestors> , <retrieve paths to descendants > are called, and the specified structure does not exist, then error 201 is generated and the function is ignored.
#F 121
SR3. If function <set element pointer at label> is called, and the lable does not exist in the open structure between the element pointer and the end of the structure, then error 205 is generated and the function is ignored.
#F 124
SR4. If function <delete elements between labels> is called, and one or both of the labels does not exist in the open structure between the element pointer and the end of the structure, then error 206 is generated and the function is ignored.
#F 145 146
SR5. If functions <retrieve paths to ancestors>, <retrieve paths to descendants> are called, and the specified path depth is less than zero, then error 207 is generated and the function is ignored.
#F 132
SR6. If function <post structure> is called, and the display priority is out of range, then error 208 is generated and the function is ignored.
LOCAL DICTIONARY:
Functions --- 121: pseplb <set element pointer at label> 124: pdellb <delete elements between labels> 132: ppost <post structure> 137: parst <archive structures> 138: parsn <archive structure networks> 145: prepan <retrieve paths to ancestors> 146: prepde <retrieve paths to descendants> Data Structures --- 4 ... phigs_state_list 4.3 ... element_pointer 4.5 ... list_of_structure_identifiers 4.5.1 ... structure_identifier 7 ... structure_state_list 7.1 ... structure_identifier 7.2 ... list_of_workstations_to_which_posted 7.3 ... list_of_structure_elements 7.3.5 ... label 8 ... phigs_error_state_list 8.1 ... error_state 9 ... archive 9.1 ... archive_file 9.1.1 ... structure_identifier 9.1.2 ... list_of_structure_elements
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.