|
|
Test Case taDOM2/0-taDOM2-9-LCtaDOM2 Lock Requests of executed Operation getNode(DeweyID) returns NodeThe getNode operation returns the context node CO addressed by the passed deweyID.
Behavior specified with base operations:Read Set = CO , Write Set = - LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
- LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
taDOM2 Lock Requests of checked Operation getLastChild(contextElementNode) executed on node LCThe getLastChild 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 LC:Read Set = LC LCFCE LCLCE , Write Set = - LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:ER] on LC
- LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on LC
Operations must be compatibleCheck | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:ER] on LC | 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:-,LCE:-] with Requested LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on LC | 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=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:ER] on LC | 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 | Check | Existing LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CN,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] on LC | 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 |
|