|
|
Test Case taDOM3/6-taDOM3-7-CH
taDOM3 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 getFirstChild(contextElementNode) executed on node CHThe getFirstChild operation returns null because the context node CO does not have any child nodes.
Bahavior specified with base operations:Read and write sets for execution on CH:Read Set = CH CHFCE CHLCE , Write Set = - LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:ER] on CH
Operations must be compatibleCheck | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:ER] on CH | 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=FC,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:ER] on CH | 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.
| Compatible | Test Case Ok |
|