|
|
Test Case taDOM3+/20-taDOM3+-7-CA
taDOM3+ Lock Requests of executed Operation setAttribute(contextElementNode, ctxAttrNameString, valueString) returns NodeThe setAttribute operation is executed on the context element node CO and sets a new value of the context attribute node CA. The named context attribute already exists and the operation returns the value node AS.
Behavior specified with base operations:Read Set = CO CA , Write Set = AS - LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
- LockRequest[node=CA,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
- LockRequest[node=AS,lock:NX,PSE:-,NSE:-,FCE:-,LCE:-]
taDOM3+ Lock Requests of checked Operation getFirstChild(contextElementNode) executed on node CAThe 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 CA:Read Set = CA , Write Set = - LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:ER] on CA
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 CA | 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=CA,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:ER] on CA | 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 IR on AR compatible to existing lock IR. Requested lock NR on CA compatible to existing lock NR.
| Compatible | Check | Existing LockRequest[node=AS,lock:NX,PSE:-,NSE:-,FCE:-,LCE:-] with Requested LockRequest[node=CO,lock:NR,PSE:-,NSE:-,FCE:ER,LCE:ER] on CA | Requested lock IR on AC compatible to existing lock IX. Requested lock IR on PA compatible to existing lock IX. Requested lock IR on CO compatible to existing lock IX. Requested lock IR on AR compatible to existing lock IX. Requested lock NR on CA compatible to existing lock CX.
| Compatible | Test Case Ok |
|