|
|
Test Case taDOM3/8-taDOM3-17-LCtaDOM3 Lock Requests of executed Operation getLastChild(contextElementNode) returns NodeThe getLastChild operation returns the last child LC of the context node CO.
Behavior specified with base operations:- readCO
- useCOLCE
- readLC
- useLCNSE
Read Set = CO LC COLCE LCNSE , Write Set = - LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:ER]
- LockRequest[node=LC,lock:NR,PSE:-,NSE:ER,FCE:-,LCE:-]
taDOM3 Lock Requests of checked Operation setValue(contextElementNode, valueString) executed on node LCThe setValue operation executed on the context element node CO returns the modified context element itself. In taDOM2(+) the CX lock on PA must be requested additionally in order to prevent an execution of the getChildNodes() method on the parent node.
Bahavior specified with base operations:Read and write sets for execution on LC:Read Set = , Write Set = LC - LockRequest[node=CO,lock:NX,PSE:-,NSE:-,FCE:-,LCE:-] on LC
Operations must be incompatibleCheck | Existing LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:ER] with Requested LockRequest[node=CO,lock:NX,PSE:-,NSE:-,FCE:-,LCE:-] on LC | Requested lock IX on AC compatible to existing lock IR. Requested lock IX on PA compatible to existing lock IR. Requested lock CX on CO compatible to existing lock NR.
| Compatible | Check | Existing LockRequest[node=LC,lock:NR,PSE:-,NSE:ER,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NX,PSE:-,NSE:-,FCE:-,LCE:-] on LC | Requested lock NX on LC incompatible to existing lock NR.
| Incompatible | Test Case Ok |
|