_acs-tcl__host_admin_and_outgoing_sender (private)

 _acs-tcl__host_admin_and_outgoing_sender

Defined in packages/acs-tcl/tcl/test/utilities-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 aa_log aa_log (public) aa_log_result aa_log_result (public) aa_true aa_true (public) ad_host_administrator ad_host_administrator (public) ad_outgoing_sender ad_outgoing_sender (public) _acs-tcl__host_admin_and_outgoing_sender _acs-tcl__host_admin_and_outgoing_sender _acs-tcl__host_admin_and_outgoing_sender->aa_log _acs-tcl__host_admin_and_outgoing_sender->aa_log_result _acs-tcl__host_admin_and_outgoing_sender->aa_true _acs-tcl__host_admin_and_outgoing_sender->ad_host_administrator _acs-tcl__host_admin_and_outgoing_sender->ad_outgoing_sender

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
    #
    # HostAdministrator and OutgoingSender should be empty, or valid emails
    #
    set host_admin [ad_host_administrator]
    aa_true "HostAdministrator email ($host_admin) is valid or empty"  {$host_admin eq "" || [util_email_valid_p $host_admin]}
    set out_sender [ad_outgoing_sender]
    aa_true "OutgoingSender email ($out_sender) is valid or empty"  {$out_sender eq "" || [util_email_valid_p $out_sender]}
}} {
          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" "host_admin_and_outgoing_sender (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo"
          }
          incr body_count
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: