|
|
Test Case taDOM3+/6-taDOM3+-3-FCtaDOM3+ Lock Requests of executed Operation getFirstChild(contextElementNode) returns NodeThe getFirstChild operation returns the first child FC of the context node CO.
Behavior specified with base operations:- readCO
- useCOFCE
- readFC
- useFCPSE
Read Set = CO FC COFCE FCPSE , Write Set = - LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:-]
- LockRequest[node=FC,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-]
taDOM3+ Lock Requests of checked Operation getPrevSibling(contextNode) executed on node FCThe getPrevSibling operation returns null because the context node CO is the first child of parent node PA and no previous sibling node PS exists.
Bahavior specified with base operations:Read and write sets for execution on FC:Read Set = FC COFCE FCPSE , Write Set = - LockRequest[node=CO,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-] on FC
- LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:ER,LCE:-] on FC
Operations must be compatibleCheck | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-] on FC | Requested lock IR on AC compatible to existing lock IR. Requested lock IR on PA compatible to existing lock IR. Requested lock IR on CO compatible to existing lock NR.
| Compatible | Check | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:-] with Requested LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:ER,LCE:-] on FC | On CO the first child edge lock ER is compatible to the requested ER
| Compatible | Check | Existing LockRequest[node=FC,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-] on FC | Requested lock IR on AC compatible to existing lock IR. Requested lock IR on PA compatible to existing lock IR. Requested lock IR on CO compatible to existing lock IR. Requested lock NR on FC compatible to existing lock NR. On FC the previous sibling edge lock ER is compatible to the requested ER
| Compatible | Check | Existing LockRequest[node=FC,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:ER,LCE:-] on FC | | Compatible | Test Case Ok |
|