_acs-authentication__sync_file_get_document (private)
_acs-authentication__sync_file_get_document
Defined in packages/acs-authentication/tcl/test/sync-test-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 {{ set path "$::acs::rootdir/www/SYSTEM/dbtest.tcl" aa_log "Getting path '$path'" array set result [acs_sc::invoke -error -contract "auth_sync_retrieve" -impl "LocalFilesystem" -operation "GetDocument" -call_args [list [list SnapshotPath {} IncrementalPath $path]]] aa_equals "result.doc_status is ok" $result(doc_status) "ok" aa_true "result.doc_message is empty" {$result(doc_message) eq ""} aa_equals "result.document is 'success'" $result(document) [template::util::read_file $path] }} { 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" "sync_file_get_document (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle