|
|
Test Case taDOM2/21-taDOM2-27-ACtaDOM2 Lock Requests of executed Operation setAttribute(contextElementNode, ctxAttrNameString, valueString) returns NodeThe setAttribute operation is executed on the context element node CO and sets a new value of the context attribute node CA. The named context attribute does not already exist and must be created. The operation returns the new value node AS.
Behavior specified with base operations:Read Set = CO , Write Set = CA AS - LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
- LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
- LockRequest[node=CA,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-]
taDOM2 Lock Requests of checked Operation insertBefore(contextNode, siblingType, siblingValue) executed on node ACThe insertBefore operation is executed on the context element node CO and inserts a new previous sibling node before the context node CO. There already exists a previous sibling and the inserted new sibling node is returned.
Bahavior specified with base operations:- readCO
- modifyCOPSE
- modifyPSNSE
Read and write sets for execution on AC:Read Set = AC , Write Set = - LockRequest[node=CO,lock:NR,PSE:EX,NSE:-,FCE:-,LCE:-] on AC
- LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on AC
- LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on AC
- LockRequest[node=PA,lock:CX,PSE:-,NSE:-,FCE:-,LCE:-] on AC
Operations must be compatibleCheck | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:EX,NSE:-,FCE:-,LCE:-] on AC | Requested lock NR on AC compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on AC | Requested lock IR on AC compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on AC | | Compatible | Check | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:CX,PSE:-,NSE:-,FCE:-,LCE:-] on AC | Requested lock CX on AC compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:EX,NSE:-,FCE:-,LCE:-] on AC | Requested lock NR on AC compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on AC | Requested lock IR on AC 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 AC | | Compatible | Check | Existing LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:CX,PSE:-,NSE:-,FCE:-,LCE:-] on AC | Requested lock CX on AC compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=CA,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:EX,NSE:-,FCE:-,LCE:-] on AC | Requested lock NR on AC compatible to existing lock IX.
| Compatible | Check | Existing LockRequest[node=CA,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on AC | Requested lock IR on AC compatible to existing lock IX.
| Compatible | Check | Existing LockRequest[node=CA,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on AC | | Compatible | Check | Existing LockRequest[node=CA,lock:SX,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:CX,PSE:-,NSE:-,FCE:-,LCE:-] on AC | Requested lock CX on AC compatible to existing lock IX.
| Compatible | Test Case Ok |
|