_acs-tcl__ad_html_to_text_clipped_link (private)
_acs-tcl__ad_html_to_text_clipped_link
Defined in packages/acs-tcl/tcl/test/html-conversion-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 {{ # try with missing leading and trailing quote foreach html {{ Some <a href="abc>linktext</a> bla <p> following text } { Some <a href=abc">linktext</a> bla <p> following text }} { set result [ad_html_to_text -- $html] # make sure the desired text is in there and _before_ the # footnotes aa_false "contains link" [regexp {linktext.*\[1\]} $result] aa_false "contains following text" [regexp {following text.*\[1\]} $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" "ad_html_to_text_clipped_link (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle