Design: 02.01.03.03/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: <Change structure identifier and references> where
           the original and resulting structures differ

CHARACTERISTICS: ynnn

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 identifier and 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

set priorities:
orgpri = 0.1
respri = 0.2

*** *** *** *** *** test case 1 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = NON-EXISTENT and the
       resulting structure = NON-EXISTENT) should yield the expected
       results of (original structure = NON-EXISTENT and resulting
       structure = CLOSED, EMPTY, and NOT-POSTED) after execution of
       the function as stated by test condition 1 of the truth table."

orgid = 300
resid = 350
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = NON-EXISTENT and the
       resulting structure = NON-EXISTENT) should change the CSS in
       accordance with the substitution of the resulting identifier
       for the original identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102     120   130      140   350
           |              / | \     |    /|        |     |
           |2            /  |  \    |   / |       1|     |0
           |           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 case 2 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = NON-EXISTENT and the
       resulting structure = CLOSED and NOT-POSTED) should yield the
       expected results of (original structure = NON-EXISTENT and
       resulting structure = CLOSED, EMPTY, and NOT-POSTED) after
       execution of the function as stated by test condition 2 of the
       truth table."

orgid = 300
resid = 120
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = NON-EXISTENT and the
       resulting structure = CLOSED and NOT-POSTED) should change the
       CSS in accordance with the substitution of the resulting
       identifier for the original identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102           130      140     120
           |              / | \          /|        |       |
           |2            /  |  \        / |       1|       |0
           |           1/  2|  5\      /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 case 3 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = NON-EXISTENT and the
       resulting structure = CLOSED and POSTED with old resulting
       priority) should yield the expected results of (original
       structure = NON-EXISTENT and resulting structure = CLOSED,
       EMPTY, and POSTED with old resulting priority) after execution
       of the function as stated by test condition 3 of the truth
       table."

orgid = 300
resid = 108
<post structure> resid, respri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = NON-EXISTENT and the
       resulting structure = CLOSED and POSTED with old resulting
       priority) should change the CSS in accordance with the
       substitution of the resulting identifier for the original
       identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102     120   130      140
           |              / | \     |    /|        |
           |2            /  |  \    |2  / |       1|
           |           1/  2|  5\   |  /3 |5       |
           |           /    |    \  | /   |        |
          103         /     |     \ |/    |       142
                   104     105     106   107
                   | |       |     |    / /\
                  2| |5     /|\    |   / /  \
                   | |    1/ | \2 1| 1/ /4   \5
                   109    /  |  \  | / /      \
                         /   |   \ |/ /       113
                       110   |    108
                             |
                             |
                             |3
                             |
                             |
                             |    111
                             |   / |
                             | 1/  |
                             | /  3|
                             |/    |
                            114   115   )


*** *** *** *** *** test case 4 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = NON-EXISTENT and the
       resulting structure = OPEN and NOT-POSTED) should yield the
       expected results of (original structure = NON-EXISTENT and
       resulting structure = OPEN, EMPTY, and NOT-POSTED) after
       execution of the function as stated by test condition 4 of the
       truth table."

orgid = 300
resid = 108
<open structure> resid
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = NON-EXISTENT and the
       resulting structure = OPEN and NOT-POSTED) should change the
       CSS in accordance with the substitution of the resulting
       identifier for the original identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102     120   130      140
           |              / | \     |    /|        |
           |2            /  |  \    |2  / |       1|
           |           1/  2|  5\   |  /3 |5       |
           |           /    |    \  | /   |        |
          103         /     |     \ |/    |       142
                   104     105     106   107
                   | |       |     |    / /\
                  2| |5     /|\    |   / /  \
                   | |    1/ | \2 1| 1/ /4   \5
                   109    /  |  \  | / /      \
                         /   |   \ |/ /       113
                       110   |    108
                             |
                             |
                             |3
                             |
                             |
                             |    111
                             |   / |
                             | 1/  |
                             | /  3|
                             |/    |
                            114   115   )


*** *** *** *** *** test case 5 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = NON-EXISTENT and the
       resulting structure = OPEN and POSTED with old resulting
       priority) should yield the expected results of (original
       structure = NON-EXISTENT and resulting structure = OPEN, EMPTY,
       and POSTED with old resulting priority) after execution of the
       function as stated by test condition 5 of the truth table."

orgid = 300
resid = 120
<open structure> resid
<post structure> resid, respri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = NON-EXISTENT and the
       resulting structure = OPEN and POSTED with old resulting
       priority) should change the CSS in accordance with the
       substitution of the resulting identifier for the original
       identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102           130      140     120
           |              / | \          /|        |       |
           |2            /  |  \        / |       1|       |0
           |           1/  2|  5\      /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 case 6 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and NOT-POSTED
       and the resulting structure = NON-EXISTENT) should yield the
       expected results of (original structure = NON-EXISTENT and
       resulting structure = CLOSED, ORIGINAL, and NOT-POSTED) after
       execution of the function as stated by test condition 6 of the
       truth table."

orgid = 130
resid = 350
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and NOT-POSTED
       and the resulting structure = NON-EXISTENT) should change the
       CSS in accordance with the substitution of the resulting
       identifier for the original identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102     120   350      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 case 7 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and NOT-POSTED
       and the resulting structure = CLOSED and NOT-POSTED) should
       yield the expected results of (original structure =
       NON-EXISTENT and resulting structure = CLOSED, ORIGINAL, and
       NOT-POSTED) after execution of the function as stated by test
       condition 7 of the truth table."

orgid = 120
resid = 130
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and NOT-POSTED
       and the resulting structure = CLOSED and NOT-POSTED) should
       change the CSS in accordance with the substitution of the
       resulting identifier for the original identifier."

pass/fail depending on (CSS =



                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102     130            140
           |              / | \     |              |
           |2            /  |  \    |             1|
           |           1/  2|  5\  2|              |
           |           /    |    \  |              |
          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 case 8 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and NOT-POSTED
       and the resulting structure = CLOSED and POSTED with old
       resulting priority) should yield the expected results of
       (original structure = NON-EXISTENT and resulting structure =
       CLOSED, ORIGINAL, and POSTED with old resulting priority) after
       execution of the function as stated by test condition 8 of the
       truth table."

orgid = 108
resid = 104
<post structure> resid, respri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and NOT-POSTED
       and the resulting structure = CLOSED and POSTED with old
       resulting priority) should change the CSS in accordance with
       the substitution of the resulting identifier for the original
       identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101             \        120   130      140
           |                102     |    /|        |
           |2               | |\5   |   / |       1|
           |               2| | \  2|  /3 |5       |
           |                | |  \  | /   |        |
          103               | |   \ |/    |       142
                            | |1  106   107
                  109     105 |    |    / /\
                   |       /|\ \   |   / /  \
                  0|     1/ | \ \ 1| 1/ /4   \5
                   |     /  | 2\ \ | / /      \
                        /   |   \ \|/ /       113
                      110   |    \104
                            |      |
                            |      |2
                            |3     |
                            |      |
                            |     111
                            |    / |
                            |  1/  |
                            |  /  3|
                            | /    |
                           114   115   )

*** *** *** *** *** test case 9 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and NOT-POSTED
       and the resulting structure = OPEN and NOT-POSTED) should yield
       the expected results of (original structure = NON-EXISTENT and
       resulting structure = OPEN, ORIGINAL, and NOT-POSTED) after
       execution of the function as stated by test condition 9 of the
       truth table."


orgid = 106
resid = 113
<open structure> resid
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results


TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and NOT-POSTED
       and the resulting structure = OPEN and NOT-POSTED) should
       change the CSS in accordance with the substitution of the
       resulting identifier for the original identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102     120   130      140
           |              / | \     |    / |        |
           |2            /  |  \    |   /  |       1|
           |           1/  2|  5\  2|  /3  |5       |
           |           /    |    \  | /    |        |
          103         /     |     \ |/  5  |       142
                   104     105     113<---107
                   | |       |     |     / /
                  2| |5     /|\    |    / /
                   | |    1/ | \2 1|  1/ /4
                   109    /  |  \  |  / /
                         /   |   \ |/ /
                       110   |    108
                             |     |
                             |     |2
                             |3    |
                             |     |
                             |    111
                             |   / |
                             | 1/  |
                             | /  3|
                             |/    |
                            114   115   )

*** *** *** *** *** test case 10 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and NOT-POSTED
       and the resulting structure = OPEN and POSTED with old
       resulting priority) should yield the expected results of
       (original structure = NON-EXISTENT and resulting structure =
       OPEN, ORIGINAL, and POSTED with old resulting priority) after
       execution of the function as stated by test condition 10 of the
       truth table."

orgid = 130
resid = 120
<open structure> resid
<post structure> resid, respri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and NOT-POSTED
       and the resulting structure = OPEN and POSTED with old
       resulting priority) should change the CSS in accordance with
       the substitution of the resulting identifier for the original
       identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102           120      140
           |              / | \          /|        |
           |2            /  |  \        / |       1|
           |           1/  2|  5\      /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 case 11 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and POSTED with
       old original priority and the resulting structure =
       NON-EXISTENT) should yield the expected results of (original
       structure = NON-EXISTENT and resulting structure = CLOSED,
       ORIGINAL, and POSTED with old original priority) after
       execution of the function as stated by test condition 11 of the
       truth table."

orgid = 107
resid = 350
<post structure> orgid, orgpri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and POSTED
       with old original priority and the resulting structure =
       NON-EXISTENT) should change the CSS in accordance with the
       substitution of the resulting identifier for the original
       identifier."

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   350
                   | |       |     |    / /\
                  2| |5     /|\    |   / /  \
                   | |    1/ | \2 1| 1/ /4   \5
                   109    /  |  \  | / /      \
                         /   |   \ |/ /       113
                       110   |    108
                             |     |
                             |     |2
                             |3    |
                             |     |
                             |    111
                             |   / |
                             | 1/  |
                             | /  3|
                             |/    |
                            114   115   )

*** *** *** *** *** test case 12 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and POSTED with
       old original priority and the resulting structure = CLOSED and
       NOT-POSTED) should yield the expected results of (original
       structure = NON-EXISTENT and resulting structure = CLOSED,
       ORIGINAL, and POSTED with old original priority) after
       execution of the function as stated by test condition 12 of the
       truth table."

orgid = 120
resid = 104
<post structure> orgid, orgpri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and POSTED
       with old original priority and the resulting structure = CLOSED
       and NOT-POSTED) should change the CSS in accordance with the
       substitution of the resulting identifier for the original
       identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \      1
          101              102---->104   130      140
           |                | \     |    /|        |
           |2               |  \    |   / |       1|
           |               2|  5\  2|  /3 |5       |
           |                |    \  | /   |        |
          103               |     \ |/    |       142
                   109     105     106   107
                    |        |     |    / /\
                   0|       /|\    |   / /  \
                    |     1/ | \2 1| 1/ /4   \5
                          /  |  \  | / /      \
                         /   |   \ |/ /       113
                       110   |    108
                             |     |
                             |     |2
                             |3    |
                             |     |
                             |    111
                             |   / |
                             | 1/  |
                             | /  3|
                             |/    |
                            114   115   )

*** *** *** *** *** test case 13 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and POSTED with
       old original priority and the resulting structure = CLOSED and
       POSTED with old resulting priority) should yield the expected
       results of (original structure = NON-EXISTENT and resulting
       structure = CLOSED, ORIGINAL, and POSTED with old resulting
       priority) after execution of the function as stated by test
       condition 13 of the truth table."

orgid = 130
resid = 105
<post structure> orgid, orgpri
<post structure> resid, respri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and POSTED
       with old original priority and the resulting structure = CLOSED
       and POSTED with old resulting priority) should change the CSS
       in accordance with the substitution of the resulting identifier
       for the original identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \         2
          101              102---------->105      140
           |              /   \          /|        |
           |2            /     \   120  / |       1|
           |           1/      5\   |  /3 |5       |
           |           /         \ 2| /   |        |
          103         /           \ |/    |       142
                   104             106   107
                   | |             |    / /\
                  2| |5            |   / /  \
                   | |            1| 1/ /4   \5
                   109             | / /      \
                                   |/ /       113
                       110        108
                        |          |
                        |0         |2
                        |          |
                        |          |
                                  111
                                 / |
                               1/  |
                               /  3|
                              /    |
                            114   115   )

*** *** *** *** *** test case 14 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and POSTED with
       old original priority and the resulting structure = OPEN and
       NOT-POSTED) should yield the expected results of (original
       structure = NON-EXISTENT and resulting structure = OPEN,
       ORIGINAL, and POSTED with old original priority) after
       execution of the function as stated by test condition 14 of the
       truth table."

orgid = 105
resid = 104
<post structure> orgid, orgpri
<open structure> resid
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and POSTED
       with old original priority and the resulting structure = OPEN
       and NOT-POSTED) should change the CSS in accordance with the
       substitution of the resulting identifier for the original
       identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102     120   130      140
           |               | |\     |    /|        |
           |2              | | \5   |   / |       1|
           |              1| |2 \  2|  /3 |5       |
           |               | |   \  | /   |        |
          103              | |    \ |/    |       142
                   109     104     106   107
                    |        |     |    / /\
                   0|       /|\    |   / /  \
                    |     1/ | \2 1| 1/ /4   \5
                    |     /  |  \  | / /      \
                         /   |   \ |/ /       113
                       110   |    108
                             |     |
                             |     |2
                             |3    |
                             |     |
                             |    111
                             |   / |
                             | 1/  |
                             | /  3|
                             |/    |
                            114   115   )

*** *** *** *** *** test case 15 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and POSTED with
       old original priority and the resulting structure = OPEN and
       POSTED with old resulting priority) should yield the expected
       results of (original structure = NON-EXISTENT and resulting
       structure = OPEN, ORIGINAL, and POSTED with old resulting
       priority) after execution of the function as stated by test
       condition 15 of the truth table."

orgid = 142
resid = 120
<post structure> orgid, orgpri
<open structure> resid
<post structure> resid, respri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = CLOSED and POSTED
       with old original priority and the resulting structure = OPEN
       and POSTED with old resulting priority) should change the CSS
       in accordance with the substitution of the resulting identifier
       for the original identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102           130       140
           |              / | \          /|         |
           |2            /  |  \        / |        1|
           |           1/  2|  5\      /3 |5        |
           |           /    |    \    /   |         |
          103         /     |     \  /    |        120
                   104     105     106   107
                   | |       |     |    / /\
                  2| |5     /|\    |   / /  \
                   | |    1/ | \2 1| 1/ /4   \5
                   109    /  |  \  | / /      \
                         /   |   \ |/ /       113
                       110   |    108
                             |     |
                             |     |2
                             |3    |
                             |     |
                             |    111
                             |   / |
                             | 1/  |
                             | /  3|
                             |/    |
                            114   115   )


*** *** *** *** *** test case 16 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and NOT-POSTED
       and the resulting structure = NON-EXISTENT) should yield the
       expected results of (original structure = OPEN, EMPTY, and
       NOT-POSTED and resulting structure = CLOSED, ORIGINAL, and
       NOT-POSTED) after execution of the function as stated by test
       condition 16 of the truth table."

orgid = 107
resid = 350
<open structure> orgid
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and NOT-POSTED
       and the resulting structure = NON-EXISTENT) should change the
       CSS in accordance with the substitution of the resulting
       identifier for the original identifier."

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   350
                   | |       |     |    / /\          107
                  2| |5     /|\    |   / /  \          |
                   | |    1/ | \2 1| 1/ /4   \5        |0
                   109    /  |  \  | / /      \        |
                         /   |   \ |/ /       113
                       110   |    108
                             |     |
                             |     |2
                             |3    |
                             |     |
                             |    111
                             |   / |
                             | 1/  |
                             | /  3|
                             |/    |
                            114   115   )


*** *** *** *** *** test case 17 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and NOT-POSTED
       and the resulting structure = CLOSED and NOT-POSTED) should
       yield the expected results of (original structure = OPEN,
       EMPTY, and NOT-POSTED and resulting structure = CLOSED,
       ORIGINAL, and NOT-POSTED) after execution of the function as
       stated by test condition 17 of the truth table."

orgid = 106
resid = 113
<open structure> orgid
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and NOT-POSTED
       and the resulting structure = CLOSED and NOT-POSTED) should
       change the CSS in accordance with the substitution of the
       resulting identifier for the original identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102     120   130      140
           |              / | \     |    / |        |
           |2            /  |  \    |   /  |       1|
           |           1/  2|  5\  2|  /3  |5       |
           |           /    |    \  | /    |        |
          103         /     |     \ |/  5  |       142
                   104     105     113<---107
                   | |       |     |     / /
                  2| |5     /|\    |    / /       106
                   | |    1/ | \2 1|  1/ /4        |
                   109    /  |  \  |  / /          |0
                         /   |   \ |/ /            |
                       110   |    108              |
                             |     |
                             |     |2
                             |3    |
                             |     |
                             |    111
                             |   / |
                             | 1/  |
                             | /  3|
                             |/    |
                            114   115   )


*** *** *** *** *** test case 18 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and NOT-POSTED
       and the resulting structure = CLOSED and POSTED with old
       resulting priority) should yield the expected results of
       (original structure = OPEN, EMPTY, and NOT-POSTED and resulting
       structure = CLOSED, ORIGINAL, and POSTED with old resulting
       priority) after execution of the function as stated by test
       condition 18 of the truth table."

orgid = 108
resid = 104
<open structure> orgid
<post structure> resid, respri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and NOT-POSTED
       and the resulting structure = CLOSED and POSTED with old
       resulting priority) should change the CSS in accordance with
       the substitution of the resulting identifier for the original
       identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101             \        120   130      140
           |                102     |    /|        |
           |2               | |\5   |   / |       1|
           |               2| | \  2|  /3 |5       |
           |                | |  \  | /   |        |
          103               | |   \ |/    |       142
                            | |1  106   107
                  109     105 |    |    / /\
                   |       /|\ \   |   / /  \        108
                  0|     1/ | \ \ 1| 1/ /4   \5       |
                   |     /  | 2\ \ | / /      \       |0
                        /   |   \ \|/ /       113     |
                      110   |    \104
                            |      |
                            |      |2
                            |3     |
                            |      |
                            |     111
                            |    / |
                            |  1/  |
                            |  /  3|
                            | /    |
                           114   115   )



*** *** *** *** *** test case 19 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and POSTED with
       old original priority and the resulting structure =
       NON-EXISTENT) should yield the expected results of (original
       structure = OPEN, EMPTY, and NOT-POSTED and resulting structure
       = CLOSED, ORIGINAL, and POSTED with old original priority)
       after execution of the function as stated by test condition 19
       of the truth table."

orgid = 120
resid = 300
<open structure> orgid
<post structure> orgid, orgpri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and POSTED with
       old original priority and the resulting structure =
       NON-EXISTENT) should change the CSS in accordance with the
       substitution of the resulting identifier for the original
       identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102     300   130      140    120
           |              / | \     |    /|        |      |
           |2            /  |  \    |   / |       1|     0|
           |           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 case 20 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and POSTED with
       old original priority and the resulting structure = CLOSED and
       NOT-POSTED) should yield the expected results of (original
       structure = OPEN, EMPTY, and NOT-POSTED and resulting structure
       = CLOSED, ORIGINAL, and POSTED with old original priority)
       after execution of the function as stated by test condition 20
       of the truth table."

orgid = 130
resid = 105
<open structure> orgid
<post structure> orgid, orgpri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and POSTED with
       old original priority and the resulting structure = CLOSED and
       NOT-POSTED) should change the CSS in accordance with the
       substitution of the resulting identifier for the original
       identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \         2
          101              102---------->105      140
           |              /   \          /|        |
           |2            /     \   120  / |       1|
           |           1/      5\   |  /3 |5       |
           |           /         \ 2| /   |        |
          103         /           \ |/    |       142
                   104             106   107
                   | |             |    / /\
                  2| |5            |   / /  \
                   | |            1| 1/ /4   \5
                   109             | / /      \
                                   |/ /       113
                       110        108               130
                        |          |                 |
                        |0         |2                |0
                        |          |                 |
                        |          |                 |
                                  111
                                 / |
                               1/  |
                               /  3|
                              /    |
                            114   115   )


*** *** *** *** *** test case 21 *** *** *** *** ***

TEST: #SR 1
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and POSTED with
       old original priority and the resulting structure = CLOSED and
       POSTED with old resulting priority) should yield the expected
       results of (original structure = OPEN, EMPTY, and NOT-POSTED
       and resulting structure = CLOSED, ORIGINAL, and POSTED with old
       resulting priority) after execution of the function as stated
       by test condition 21 of the truth table."

orgid = 105
resid = 104
<open structure> orgid
<post structure> orgid, orgpri
<post structure> resid, respri
<change structure identifier and references> orgid, resid
pass/fail depending on structure status expected results = actual results

TEST: #SR 1 7 8
      "<Change structure identifier and references> with the
       precondition being (original structure = OPEN and POSTED with
       old original priority and the resulting structure = CLOSED and
       POSTED with old resulting priority) should change the CSS in
       accordance with the substitution of the resulting identifier
       for the original identifier."

pass/fail depending on (CSS =


                  100
                  /  \
                 /    \
               1/      \2
               /        \
              /          \
          101              102     120   130      140
           |               | |\     |    /|        |
           |2              | | \5   |   / |       1|
           |              1| |2 \  2|  /3 |5       |
           |               | |   \  | /   |        |
          103              | |    \ |/    |       142
                   109     104     106   107
                    |        |     |    / /\
                   0|       /|\    |   / /  \
                    |     1/ | \2 1| 1/ /4   \5      105
                    |     /  |  \  | / /      \       |
                         /   |   \ |/ /       113     | 0
                       110   |    108                 |
                             |     |                  |
                             |     |2
                             |3    |
                             |     |
                             |    111
                             |   / |
                             | 1/  |
                             | /  3|
                             |/    |
                            114   115   )
END PROGRAM 1