|
|
Test Case taDOM2/23-taDOM2-33-LCtaDOM2 Lock Requests of executed Operation appendChild(contextElementNode, childType, childValue) returns NodeThe appendChild operation is executed on the context element node CO and appends a new child to the (at least one) already existing child nodes. The CX resp. NRCX lock on the context node is caused by the SX lock on the new child. The new appended child node (the new last child) is returned.
Behavior specified with base operations:- readCO
- modifyCOLCE
- modifyLCNSE
Read Set = CO , Write Set = COLCE LCNSE - LockRequest[node=CO,lock:CX,PSE:-,NSE:-,FCE:-,LCE:EX]
- LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
- LockRequest[node=LC,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-]
taDOM2 Lock Requests of checked Operation deleteNode(contextNode) executed on node LCThe deleteNode operation is executed on the context element node CO and deletes the context node. Thereby, the context node is the last child of its parent node.
Bahavior specified with base operations:- modifyPALCE
- modifyPSNSE
- writeCO
- writeFC
- writeCH
- writeLC
- writeDC
Read and write sets for execution on LC:Read Set = , Write Set = LC DC COLCE CHNSE - LockRequest[node=CO,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] on LC
- LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on LC
- LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:-,LCE:EX] on LC
Operations must be incompatibleCheck | Existing LockRequest[node=CO,lock:CX,PSE:-,NSE:-,FCE:-,LCE:EX] with Requested LockRequest[node=CO,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] on LC | Requested lock IX on AC compatible to existing lock IX. Requested lock IX on PA compatible to existing lock IX. Requested lock CX on CO compatible to existing lock CX.
| Compatible | Check | Existing LockRequest[node=CO,lock:CX,PSE:-,NSE:-,FCE:-,LCE:EX] with Requested LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on LC | | Compatible | Check | Existing LockRequest[node=CO,lock:CX,PSE:-,NSE:-,FCE:-,LCE:EX] with Requested LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:-,LCE:EX] on LC | On CO the last child edge lock EX is incompatible to the requested EX
| Incompatible | Check | Existing LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] on LC | Requested lock IX on AC compatible to existing lock IR. Requested lock IX on PA compatible to existing lock IR. Requested lock CX on CO compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on LC | | Compatible | Check | Existing LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:-,LCE:EX] on LC | | Compatible | Check | Existing LockRequest[node=LC,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] on LC | | Compatible | Check | Existing LockRequest[node=LC,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] with Requested LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on LC | | Compatible | Check | Existing LockRequest[node=LC,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:-,LCE:EX] on LC | | Compatible | Test Case Ok |
|