Design: 02.01.01/P05

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 5: Structure creation by changing the structure identifier
           to a different value

CHARACTERISTICS: nnnn

OPERATOR SCRIPT: passive test

DESIGN:

TEST: #SR 5
      "Changing a structure identifier with the original
       identifier having a different value than the resulting
       identifier should create one new structure with the
       resulting identifier in the CSS."

nwstid = new structure
<change structure identifier> strid nwstid
Use <inquire structure identifiers> to determine:
  nstid = number of structure identifiers
  nstr  = a structure identifier
pass/fail depending on (nstid = 1 and nstr = nwstid)

TEST: #SR 5
      "Changing a structure identifier with the original
       identifier having a different value than the resulting
       identifier should create an empty structure with the
       resulting identifier in the CSS."

Use <inquire structure status> on nwstid to determine
     strsti = structure status identifier
pass/fail depending on (strsti = empty)

END PROGRAM 5