PROGRAM 2: <Change structure references> where changes occur
to the CSS
CHARACTERISTICS: nnnn
OPERATOR SCRIPT: passive test.
DESIGN:
The following is the "standard" CSS network for module 02.01.03. This
CSS network will be used throughout to test the resulting state of the
CSS after execution of the <change structure references> function.
Before each test case the CSS state is completely reset.
100
/ \
/ \
1/ \2
/ \
/ \
101 102 120 130 140
| / | \ | /| |
|2 / | \ | / | 1|
| 1/ 2| 5\ 2| /3 |5 |
| / | \ | / | |
103 / | \ |/ | 142
104 105 106 107
| | | | / /\
2| |5 /|\ | / / \
| | 1/ | \2 1| 1/ /4 \5
109 / | \ | / / \
/ | \ |/ / 113
110 | 108
| |
| |2
|3 |
| |
| 111
| / |
| 1/ |
| / 3|
|/ |
114 115 )
TEST: #SR 1
"<Change structure references> when the original structure is
referenced and the resulting structure is not referenced should
replace all execute structure elements which reference original
structure identifier with elements which reference resulting
structure identifier."
orgid = 108
resid = 140
<change structure references> orgid, resid
pass/fail depending on (CSS =
100
/ \
/ \
1/ \2
/ \
/ \
101 102 120 130
| / | \ | /|
|2 / | \ | / |
| 1/ 2| 5\ 2| /3 |5
| / | \ | / |
103 / | \ |/ |
104 105 106 107
| | | | / /\
2| |5 /|\ | / / \
| | 1/ | \2 1| 1/ /4 \5
109 / | \ | / / \
/ | \ |/ / 113
110 | 140
| |
| 1|
| |
| 142
|
|
| 108
| |
|3 |2
| |
| 111
| / |
| 1/ |
| / 3|
|/ |
114 115 )
TEST: #SR 1 4
"When the original structure and resulting structure are referenced
then <change structure references> should cause the initial references
made to resulting structure to remain as is."
orgid = 108
resid = 104
<change structure references> orgid, resid
pass/fail depending on (CSS =
100
/ \
/ \
1/ \2
/ \
/ \
101 102 120 130 140
| / | \ | /| |
|2 / | \ | / | 1|
| 2/ | 5\ 2| /3 |5 |
| / | \ | / | |
103 / 1| \ |/ | 142
105 \ 106 107
|\ \ | / /\
/| \ \ | / / \
1/ | \2 \ 1| 1/ /4 \5
/ | \ \ | / / \
/ | \ \ |/ / 113
110 | \-------104
| | |
| 108 2| |5
| | | |
|3 |2 | |
| | 109
| 111
| / |
| 1/ |
| / 3|
|/ |
114 115 )
END PROGRAM 2