|
|
Test Case taDOM2/4-taDOM2-27-NStaDOM2 Lock Requests of executed Operation getNextSibling(contextNode) returns NodeThe getNextSibling operation returns the next sibling node NS of the context node CO.
Behavior specified with base operations:- readCO
- useCONSE
- readNS
- useNSPSE
Read Set = CO NS CONSE NSPSE , Write Set = - LockRequest[node=CO,lock:NR,PSE:-,NSE:ER,FCE:-,LCE:-]
- LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
- LockRequest[node=NS,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-]
- LockRequest[node=NN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
taDOM2 Lock Requests of checked Operation insertBefore(contextNode, siblingType, siblingValue) executed on node NSThe 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 NS:Read Set = NS , Write Set = CONSE NSPSE - LockRequest[node=CO,lock:NR,PSE:EX,NSE:-,FCE:-,LCE:-] on NS
- LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on NS
- LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on NS
- LockRequest[node=PA,lock:CX,PSE:-,NSE:-,FCE:-,LCE:-] on NS
Operations must be incompatibleCheck | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:ER,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:EX,NSE:-,FCE:-,LCE:-] on NS | Requested lock IR on AC compatible to existing lock IR. Requested lock IR on PA compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:ER,FCE:-,LCE:-] with Requested LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on NS | Requested lock IR on AC compatible to existing lock IR. Requested lock IR on PA compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:ER,FCE:-,LCE:-] with Requested LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on NS | On CO The next sibling edge lock ER is incompatible to the requested EX
| Incompatible | Check | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:ER,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:CX,PSE:-,NSE:-,FCE:-,LCE:-] on NS | Requested lock IX on AC compatible to existing lock IR. Requested lock CX on PA 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 NS | Requested lock IR on AC compatible to existing lock IR. Requested lock IR on PA 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 NS | Requested lock IR on AC compatible to existing lock IR. Requested lock IR on PA 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 NS | | Compatible | Check | Existing LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:CX,PSE:-,NSE:-,FCE:-,LCE:-] on NS | Requested lock IX on AC compatible to existing lock IR. Requested lock CX on PA compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=NS,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:EX,NSE:-,FCE:-,LCE:-] on NS | On NS the previous sibling edge lock ER is incompatible to the requested EX
| Incompatible | Check | Existing LockRequest[node=NS,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on NS | Requested lock IR on AC compatible to existing lock IR. Requested lock IR on PA compatible to existing lock IR. Requested lock IR on NS compatible to existing lock NR.
| Compatible | Check | Existing LockRequest[node=NS,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on NS | | Compatible | Check | Existing LockRequest[node=NS,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:CX,PSE:-,NSE:-,FCE:-,LCE:-] on NS | Requested lock IX on AC compatible to existing lock IR. Requested lock CX on PA compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=NN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:EX,NSE:-,FCE:-,LCE:-] on NS | Requested lock IR on AC compatible to existing lock IR. Requested lock IR on PA compatible to existing lock IR. Requested lock NR on NS compatible to existing lock IR.
| Compatible | Check | Existing LockRequest[node=NN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on NS | Requested lock IR on AC compatible to existing lock IR. Requested lock IR on PA compatible to existing lock IR. Requested lock IR on NS compatible to existing lock IR. Requested lock NR on NN compatible to existing lock NR.
| Compatible | Check | Existing LockRequest[node=NN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PS,lock:-,PSE:-,NSE:EX,FCE:-,LCE:-] on NS | | Compatible | Check | Existing LockRequest[node=NN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:CX,PSE:-,NSE:-,FCE:-,LCE:-] on NS | Requested lock IX on AC compatible to existing lock IR. Requested lock CX on PA compatible to existing lock IR.
| Compatible | Test Case Ok |
|