|
|
Test Case taDOM3/8-taDOM3-34-DCtaDOM3 Lock Requests of executed Operation getLastChild(contextElementNode) returns NodeThe getLastChild operation returns the last child LC of the context node CO.
Behavior specified with base operations:- readCO
- useCOLCE
- readLC
- useLCNSE
Read Set = CO LC COLCE LCNSE , Write Set = - LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:ER]
- LockRequest[node=LC,lock:NR,PSE:-,NSE:ER,FCE:-,LCE:-]
taDOM3 Lock Requests of checked Operation deleteNode(contextNode) executed on node DCThe deleteNode operation is executed on the context element node CO and deletes the context node. Thereby, the context node is the only child of its parent node.
Bahavior specified with base operations:- modifyPAFCE
- modifyPALCE
- writeCO
- writeFC
- writeCH
- writeLC
- writeDC
Read and write sets for execution on DC:Read Set = , Write Set = DC DCFCE DCLCE - LockRequest[node=CO,lock:SX,PSE:EX,NSE:EX,FCE:-,LCE:-] on DC
- LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:EX,LCE:EX] on DC
Operations must be compatibleCheck | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:ER] with Requested LockRequest[node=CO,lock:SX,PSE:EX,NSE:EX,FCE:-,LCE:-] on DC | Requested lock IX on AC compatible to existing lock IR. Requested lock IX on PA compatible to existing lock IR. Requested lock IX on CO compatible to existing lock NR.
| Compatible | Check | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:ER] with Requested LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:EX,LCE:EX] on DC | | Compatible | Check | Existing LockRequest[node=LC,lock:NR,PSE:-,NSE:ER,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:SX,PSE:EX,NSE:EX,FCE:-,LCE:-] on DC | Requested lock IX on AC compatible to existing lock IR. Requested lock IX on PA compatible to existing lock IR. Requested lock IX on CO compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=LC,lock:NR,PSE:-,NSE:ER,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:EX,LCE:EX] on DC | | Compatible | Test Case Ok |
|