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/19-taDOM3-24-NS

taDOM3 Lock Requests of executed Operation setValue(contextAttrNode, valueString) returns Node

The setValue operation executed on the context attribute node CA returns the modified attribute string node AS which contains the actual node value.

Behavior specified with base operations:

  • readCA
  • writeAS
Read Set = CA , Write Set = AS
  • LockRequest[node=CA,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
  • LockRequest[node=AS,lock:NX,PSE:-,NSE:-,FCE:-,LCE:-]

taDOM3 Lock Requests of checked Operation appendChild(contextElementNode, childType, childValue) executed on node NS

The appendChild operation is executed on the context element node CO and appends a new child. The context element node CO has still no child nodes before this operation. The CX resp. NRCX lock on the context node is caused by the SX lock on the new child.The new appended child node (the now only child) is returned.

Bahavior specified with base operations:

  • readCO
  • modifyCOFCE
  • modifyCOLCE

Read and write sets for execution on NS:

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

Operations must be compatible

CheckExisting LockRequest[node=CA,lock:NR,PSE:-,NSE:-,FCE:-,LCE:-]
with
Requested LockRequest[node=CO,lock:NRCX,PSE:-,NSE:-,FCE:EX,LCE:EX] on NS
Requested lock IX on AC compatible to existing lock IR.
Requested lock IX on PA compatible to existing lock IR.
Compatible
CheckExisting LockRequest[node=AS,lock:NX,PSE:-,NSE:-,FCE:-,LCE:-]
with
Requested LockRequest[node=CO,lock:NRCX,PSE:-,NSE:-,FCE:EX,LCE:EX] on NS
Requested lock IX on AC compatible to existing lock IX.
Requested lock IX on PA compatible to existing lock IX.
Compatible
Test Case Ok