aa_false (public)
aa_false affirm_name affirm_expr
Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl
Tests that affirm_expr is false. Call this function within a testcase, stub or component.
- Parameters:
- affirm_name (required)
- affirm_expr (required)
- Returns:
- True if the affirmation passed, false otherwise.
- Author:
- Peter Harper
- Created:
- 24 July 2001
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- webtest_example
Source code: set result [uplevel 1 [list expr $affirm_expr]] if {!$result} { aa_log_result "pass" [subst {[aa_indent] $affirm_name: "$affirm_expr" false}] return 1 } else { aa_log_result "fail" [subst {[aa_indent] $affirm_name: "$affirm_expr" true}] return 0 }XQL Not present: Generic, PostgreSQL, Oracle