_acs-templating__validate_float (private)
_acs-templating__validate_float
Defined in packages/acs-templating/tcl/test/data-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 {{ set float_true { 0 1 -9 0.0 5.3 +0.1 .3 -9.3 34433333333333333333333333333333333333.4566666666666 } set float_false {lala -1,0 ,3 - .} set message "" foreach value $float_true { aa_true "Is $value a float?" [template::data::validate float value message] } foreach value $float_false { aa_false "Is $value a float?" [template::data::validate float value message] } }} { 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" "validate_float (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle