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):
%3 test_webtest_example webtest_example (test acs-automated-testing) aa_false aa_false test_webtest_example->aa_false aa_indent aa_indent (private) aa_false->aa_indent aa_log_result aa_log_result (public) aa_false->aa_log_result acs::test::reply_contains_no acs::test::reply_contains_no (public) acs::test::reply_contains_no->aa_false cr_item_search::assert_not_in_queue cr_item_search::assert_not_in_queue (private) cr_item_search::assert_not_in_queue->aa_false packages/acs-core-docs/www/files/tutorial/myfirstpackage-procs.tcl packages/acs-core-docs/ www/files/tutorial/myfirstpackage-procs.tcl packages/acs-core-docs/www/files/tutorial/myfirstpackage-procs.tcl->aa_false workflow::test::run_bug_tracker_test workflow::test::run_bug_tracker_test (public) workflow::test::run_bug_tracker_test->aa_false workflow::test::run_with_teardown workflow::test::run_with_teardown (public) workflow::test::run_with_teardown->aa_false

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
[ hide source ] | [ make this the default ]
Show another procedure: