|
|
Test Case taDOM2/23-taDOM2-31-CHtaDOM2 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 CHThe deleteNode operation is executed on the context element node CO (an arbitrary child of PA) and deletes the context node. Previous and next sibling nodes are existing.
Bahavior specified with base operations:- modifyPSNSE
- modifyNSPSE
- writeCO
- writeFC
- writeCH
- writeLC
- writeDC
Read and write sets for execution on CH:Read Set = , Write Set = CH DC - LockRequest[node=CO,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] on CH
- LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on CH
- LockRequest[node=NS,lock:-,PSE:EX,NSE:-,FCE:-,LCE:-] on CH
Operations must be compatibleCheck | Existing LockRequest[node=CO,lock:CX,PSE:-,NSE:-,FCE:-,LCE:EX] with Requested LockRequest[node=CO,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] on CH | 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 CH | | Compatible | Check | Existing LockRequest[node=CO,lock:CX,PSE:-,NSE:-,FCE:-,LCE:EX] with Requested LockRequest[node=NS,lock:-,PSE:EX,NSE:-,FCE:-,LCE:-] on CH | | Compatible | Check | Existing LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] on CH | 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 CH | | Compatible | Check | Existing LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=NS,lock:-,PSE:EX,NSE:-,FCE:-,LCE:-] on CH | | Compatible | Check | Existing LockRequest[node=LC,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] on CH | | Compatible | Check | Existing LockRequest[node=LC,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] with Requested LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on CH | | Compatible | Check | Existing LockRequest[node=LC,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] with Requested LockRequest[node=NS,lock:-,PSE:EX,NSE:-,FCE:-,LCE:-] on CH | | Compatible | Test Case Ok |
|