_acs-lang__lang_messages_correct (private)
_acs-lang__lang_messages_correct
Defined in packages/acs-lang/tcl/test/acs-lang-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 -rollback -test_code { db_foreach get_message_keys { select message_key, package_key, locale, message from lang_messages where not deleted_p and locale in (select locale from ad_locales where enabled_p) } { set error_p [catch {lang::message::check $locale $package_key $message_key $message} errmsg] set errmsg [expr {$error_p ? ": $errmsg" : ""}] aa_false "Message $message_key in package $package_key for locale $locale correct$errmsg" $error_p } } }} { 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" "lang_messages_correct (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle