_acs-tcl__db_get_quote_indices (private)
_acs-tcl__db_get_quote_indices
Defined in packages/acs-tcl/tcl/test/db-proc-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_equals "" [db_get_quote_indices {'a'}] {0 2} aa_equals "" [db_get_quote_indices {'a''}] {} aa_equals "" [db_get_quote_indices {'a'a'a'}] {0 2 4 6} aa_equals "" [db_get_quote_indices {a'b'c'd''s'}] {1 3 5 10} aa_equals "" [db_get_quote_indices {'}] {} aa_equals "" [db_get_quote_indices {''}] {} aa_equals "" [db_get_quote_indices {a''a}] {} aa_equals "" [db_get_quote_indices {a'b'a}] {1 3} aa_equals "" [db_get_quote_indices {'a''b'}] {0 5} }} { 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" "db_get_quote_indices (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle