_acs-lang__upgrade (private)

 _acs-lang__upgrade

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

Partial Call Graph (max 5 caller/called nodes):
%3 aa_log aa_log (public) aa_log_result aa_log_result (public) aa_run_with_teardown aa_run_with_teardown (public) lang::message::unregister lang::message::unregister (public) lang::system::locale_set_enabled lang::system::locale_set_enabled (public) _acs-lang__upgrade _acs-lang__upgrade _acs-lang__upgrade->aa_log _acs-lang__upgrade->aa_log_result _acs-lang__upgrade->aa_run_with_teardown _acs-lang__upgrade->lang::message::unregister _acs-lang__upgrade->lang::system::locale_set_enabled

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
    # Create the test package in the filesystem
    lang::test::setup_test_package

    # Can't run this test case with the usual rollback switch since if everything
    # is wrapped in one transaction then the creation_date of the messages will be the
    # same and the query in lang::catalog::last_sync_messages will return duplicates.
    aa_run_with_teardown  -test_code {

        lang::test::execute_upgrade -locale en_US

        lang::system::locale_set_enabled  -locale de_DE  -enabled_p t

        lang::test::execute_upgrade -locale de_DE

    } -teardown_code {
        foreach message_key [array names upgrade_expect] {
            lang::message::unregister $package_key $message_key
        }
        lang::test::teardown_test_package
    }
}} {
          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" "upgrade (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: