aa_export_vars (public)

 aa_export_vars varnames

Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl

Called from an initialization class constructor or a component to explicitly export the specified variables to the current testcase. You need to call aa_export_vars before you create the variables. Example:

    aa_export_vars {package_id item_id}
    set package_id 23
    set item_id 109
    

Parameters:
varnames

Partial Call Graph (max 5 caller/called nodes):
%3 test_db_check_news_archive db_check_news_archive (test news) aa_export_vars aa_export_vars test_db_check_news_archive->aa_export_vars test_db_check_news_create db_check_news_create (test news) test_db_check_news_create->aa_export_vars test_db_check_news_set_approve db_check_news_set_approve (test news) test_db_check_news_set_approve->aa_export_vars test_db_check_news_status db_check_news_status (test news) test_db_check_news_status->aa_export_vars

Testcases:
db_check_news_create, db_check_news_archive, db_check_news_set_approve, db_check_news_status
Source code:
    uplevel 1 [string map [list @varnames@ [list $varnames]] {
        foreach v @varnames@ {
          upvar $v $v
          uplevel 1 [list lappend _aa_export $v]
        }
    }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: