_acs-tcl__acs_icanuse (private)
_acs-tcl__acs_icanuse
Defined in packages/acs-tcl/tcl/test/acs-tcl-test-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 {{ aa_run_with_teardown -test_code { set label [ad_generate_random_string] # # The random label should not exist # aa_true "can i use a random string?" {[acs::icanuse $label] == 0} # # Register the label # ::acs::register_icanuse $label 1 # # Now we should be able to use it. # aa_true "can i use a random string?" [acs::icanuse $label] } -teardown_code { unset ::acs::caniuse($label) } }} { 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" "acs_icanuse (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle