_acs-tcl__quote_unquote_html (private)

 _acs-tcl__quote_unquote_html

Defined in packages/acs-tcl/tcl/test/html-conversion-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 aa_equals aa_equals (public) aa_log aa_log (public) aa_log_result aa_log_result (public) ad_unquotehtml ad_unquotehtml (public) _acs-tcl__quote_unquote_html _acs-tcl__quote_unquote_html _acs-tcl__quote_unquote_html->aa_equals _acs-tcl__quote_unquote_html->aa_log _acs-tcl__quote_unquote_html->aa_log_result _acs-tcl__quote_unquote_html->ad_unquotehtml

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
    #quote html
    set html {"<&text>"}
    aa_log "Unquote html=$html"
    set result [ns_quotehtml $html]
    aa_equals "Quoute html=$result"  "&#34;&lt;&amp;text&gt;&#34;" $result

    #unquote html
    set html $result
    aa_log "Quote html=$html"
    set result [ad_unquotehtml $html]
    aa_equals "Unquote html=$result" "\"<&text>\"" $result
}} {
          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" "quote_unquote_html (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo"
          }
          incr body_count
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: