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/10-taDOM3-9-LC

taDOM3 Lock Requests of executed Operation getChildNodes(contextElementNode) returns Nodelist

The getChildNodes operation returns a node list with all child nodes of the context node CO.

Behavior specified with base operations:

  • readCO
  • readFC
  • readCH
  • readLC
  • useCOFCE
  • useCOLCE
  • useFCPSE
  • useFCNSE
  • useCHPSE
  • useCHNSE
  • useLCPSE
  • useLCNSE
Read Set = CO FC CH LC COFCE COLCE FCPSE FCNSE CHPSE CHNSE LCPSE LCNSE , Write Set =
  • LockRequest[node=CO,lock:LR,PSE:-,NSE:-,FCE:-,LCE:-]

taDOM3 Lock Requests of checked Operation getLastChild(contextElementNode) executed on node LC

The getLastChild operation returns null because the context node CO does not have any child nodes.

Bahavior specified with base operations:

  • readCO
  • useCOLCE
  • useCOFCE

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

Operations must be compatible

CheckExisting LockRequest[node=CO,lock:LR,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 LR.
Compatible
Test Case Ok