UniKL Logo

Lehrgebiet Informationssysteme

FB Informatik

FB Informatik
 
LG IS
AG DBIS
AG HIS
Jobs / Tasks
Courses
Publications
Contact
Misc
Impressum
(C) AG DBIS
 

Test Case taDOM3+/3-taDOM3+-17-CO

taDOM3+ Lock Requests of executed Operation getPrevSibling(contextNode) returns null value

The getPrevSibling operation returns null because the context node CO is the first child of parent node PA and no previous sibling node PS exists.

Behavior specified with base operations:

  • readCO
  • useCOPSE
  • usePAFCE
Read Set = CO PAFCE COPSE , Write Set =
  • LockRequest[node=CO,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-]
  • LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:ER,LCE:-]

taDOM3+ Lock Requests of checked Operation setValue(contextElementNode, valueString) executed on node CO

The 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:

  • writeCO

Read and write sets for execution on CO:

Read Set = , Write Set = CO
  • LockRequest[node=CO,lock:NX,PSE:-,NSE:-,FCE:-,LCE:-] on CO

Operations must be incompatible

CheckExisting LockRequest[node=CO,lock:NR,PSE:ER,NSE:-,FCE:-,LCE:-]
with
Requested LockRequest[node=CO,lock:NX,PSE:-,NSE:-,FCE:-,LCE:-] on CO
Requested lock NX on CO incompatible to existing lock NR.
Incompatible
CheckExisting LockRequest[node=PA,lock:-,PSE:-,NSE:-,FCE:ER,LCE:-]
with
Requested LockRequest[node=CO,lock:NX,PSE:-,NSE:-,FCE:-,LCE:-] on CO
Compatible
Test Case Ok