_acs-authentication__auth_authentication_implementations (private)
_acs-authentication__auth_authentication_implementations
Defined in packages/acs-authentication/tcl/test/local-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set _aa_export {} set body_count 1 foreach testcase_body {{ aa_run_with_teardown -rollback -test_code { set user1 [acs::test::user::create] set user2 [acs::test::user::create] set user_id1 [dict get $user1 user_id] set username1 [dict get $user1 username] set email1 [dict get $user1 email] set user_id2 [dict get $user2 user_id] set username2 [dict get $user2 username] set email2 [dict get $user2 email] acs_sc::invoke -contract auth_authentication -operation MergeUser -impl local -call_args [list $user_id1 $user_id2 ""] set user1_after [acs_user::get -user_id $user_id1] aa_equals "Username for user '$user_id1' is as expected" [dict get $user1_after username] merged_${user_id1}_${user_id2} aa_equals "Email for user '$user_id1' is as expected" [dict get $user1_after email] merged_${user_id1}_${user_id2} aa_equals "Screen name for user '$user_id1' is as expected" [dict get $user1_after screen_name] merged_${user_id1}_${user_id2} aa_equals "Member state for user '$user_id1' is as expected" [dict get $user1_after member_state] merged } }} { 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" "auth_authentication_implementations (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle