_acs-subsite__acs_subsite_attribute_datatypes (private)
_acs-subsite__acs_subsite_attribute_datatypes
Defined in packages/acs-subsite/tcl/test/acs-subsite-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 {{ # # Datatype validators # set datatype_validator { boolean boolean keyword keyword integer integer money integer string string text text foo text } dict for {datatype validator} $datatype_validator { aa_equals "Datatype $datatype" [attribute::translate_datatype $datatype] "$validator" } # # Explicit validator exists for datatype? # set datatype_validator_p { enumeration 1 boolean 1 keyword 1 integer 1 string 1 money 0 date 0 text 1 foo 0 } dict for {datatype validator_p} $datatype_validator_p { aa_equals "Datatype $datatype validator exists" [attribute::datatype_validator_exists_p $datatype] "$validator_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" "acs_subsite_attribute_datatypes (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle