_acs-tcl__ad_context_bar_multirow (private)
_acs-tcl__ad_context_bar_multirow
Defined in packages/acs-tcl/tcl/test/navigation-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set _aa_export {} set body_count 1 foreach testcase_body {{ # Setup nodes from the context bar, create two nodes to include set separator "" set testnode_1 [list "/navigation_test_node1/" "GN's Sub-site"] set testnode_2 [list "[lindex $testnode_1 0]navigation_test_node2/" "navigation_test_node2"] set main_node [site_node::get -url /] set root_node [list "/" [lang::util::localize [dict get $main_node instance_name] [lang::system::site_wide_locale]]] set last_node [list "" "last"] set bar_components [list $root_node $testnode_1 $testnode_2 $last_node] set context_barp "" foreach value $bar_components { append context_barp "<a href=\"" append context_barp [lindex $value 0] append context_barp "\">" append context_barp [ns_quotehtml [lindex $value 1]] append context_barp "</a>" } ns_register_proc GET /test.testf { navigation::test::context_bar_multirow_filter } set d [acs::test::http /test.testf] acs::test::reply_has_status_code $d 200 ns_unregister_op GET /test.testf set response_body [dict get $d body] #ns_log notice "CONTEXT BARP $context_barp" #ns_log notice "RESPONSE BODY $response_body" aa_equals "Context bar" [ns_quotehtml $response_body] [ns_quotehtml $context_barp] }} { aa_log "Running testcase body $body_count" set ::__aa_test_indent [info level] set catch_val [catch $testcase_body msg] if {$catch_val != 0 && $catch_val != 2} { aa_log_result "fail" "ad_context_bar_multirow (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle