PROGRAM 1: <Change structure references> where no 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 2
"<Change structure references> when the original structure is
non-existent and the resulting structure exists and is not
referenced should have no effect on the contents of the CSS."
orgid = 300
resid = 120
<change structure references> orgid, resid
pass/fail depending on (CSS =
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
| |
|3 |2
| |
| |
| 111
| / |
| 1/ |
| / 3|
|/ |
114 115 )
TEST: #SR 2
"<Change structure references> when the original structure
exists and is not referenced and the resulting structure
exists and is referenced should have no effect on the contents
of the CSS."
orgid = 130
resid = 103
<change structure references> orgid, resid
pass/fail depending on (CSS =
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
| |
|3 |2
| |
| |
| 111
| / |
| 1/ |
| / 3|
|/ |
114 115 )
TEST: #SR 2
"<Change structure references> when the original structure and
resulting structure are non-existent should have no effect
on the contents of the CSS."
orgid = 300
resid = 320
<change structure references> orgid, resid
pass/fail depending on (CSS =
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
| |
|3 |2
| |
| |
| 111
| / |
| 1/ |
| / 3|
|/ |
114 115 )
TEST: #SR 3
"<Change structure references> when the original structure
identifier and resulting identifier are the same and the
common structure exists and is referenced should have no
effect on the contents of the CSS."
orgid = 107
resid = 107
<change structure references> orgid, resid
pass/fail depending on (CSS =
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
| |
|3 |2
| |
| |
| 111
| / |
| 1/ |
| / 3|
|/ |
114 115 )
END PROGRAM 1