xowf::test_item::AssessmentInterface method assert_assessment_container (protected)

 <instance of xowf::test_item::AssessmentInterface[i]> assert_assessment_container \
    o

Defined in packages/xowf/tcl/test-item-procs.tcl

Parameters:
o (required, object)

Testcases:
No testcase defined.
Source code:
set ok [expr {[$o is_wf_instance] == 0 && [$o is_wf] == 1}]
if {!$ok} {
  ns_log notice "NO ASSESSMENT CONTAINER [$o title]"
  ns_log notice "NO ASSESSMENT CONTAINER page_template [[$o page_template] title]"
  ns_log notice "NO ASSESSMENT CONTAINER iswfi [$o is_wf_instance] iswf [$o is_wf]"
  ns_log notice "[$o serialize]"
  error "'[lindex [info level -1] 0]': not an assessment container"
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: