aa_equals (public)
aa_equals affirm_name affirm_actual affirm_value
Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl
Tests that the affirm_actual is equal to affirm_value.
Call this function within a testcase, stub or component.
- Parameters:
- affirm_name (required)
- affirm_actual (required)
- affirm_value (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, aa__coverage_proc_coverage, aa__coverage_proc_proc_list_covered, aa__coverage_proc_coverage_level
Source code: if {$affirm_actual eq $affirm_value} { aa_log_result "pass" [subst {[aa_indent] $affirm_name, actual = "$affirm_actual"}] return 1 } else { aa_log_result "fail" [subst {[aa_indent] $affirm_name, actual = "$affirm_actual", expected = "$affirm_value"}] return 0 }XQL Not present: Generic, PostgreSQL, Oracle