_acs-bootstrap-installer__apm_guess_file_type (private)
_acs-bootstrap-installer__apm_guess_file_type
Defined in packages/acs-bootstrap-installer/tcl/test/30-apm-load-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 testcases [list anyfile.sql anypackage data_model anypackage.sql anypackage data_model anypackage/upgrade/test-create.sql anypackage data_model anypackage/upgrade-1.0-3.0/test-create.sql anypackage data_model_upgrade anypackage-create.sql anypackage data_model_create anypackage-drop.sql anypackage data_model_drop anyfile.dat anypackage sql_data anypackage-test.dat anypackage sql_data anyfile.ctl anypackage ctl_file anypackage-test.ctl anypackage ctl_file anyfile.sqlj anypackage sqlj_code anypackage-test.sqlj anypackage sqlj_code anyfile.info anypackage package_spec anypackage-test.info anypackage package_spec anyfile.xql anypackage query_file anypackage-test.xql anypackage query_file anyfile.java anypackage java_code anypackage-test.java anypackage java_code anyfile.jar anypackage java_archive anypackage-test.jar anypackage java_archive /atest/doc/testfile anypackage documentation /anypackage/doc/testfile anypackage documentation anypackage-test.pl anypackage shell anyfile.pl anypackage shell anypackage-test.pl anypackage shell anyfile.pl anypackage shell anypackage-test.sh anypackage shell anyfile.sh anypackage shell anypackage/bin/test.onext anypackage shell /bin/anyfile.anotherext anypackage shell /bin/templates/anyfile.anotherext anypackage shell /templates/anyfile.anotherext anypackage template /templates/www/anyfile.anotherext anypackage template anyfile/templates/test.anotherext anypackage template test.adp anypackage documentation test.html anypackage documentation /www/apath.html anypackage "" /admin-www/apath.html anypackage "" /lib/apath.html anypackage "" $::acs::pageroot/test/www/apath anypackage content_page $::acs::pageroot/test/admin-www/apath anypackage content_page $::acs::pageroot/test/lib/apath anypackage include_page $::acs::pageroot/test/tcl/test2/apath.tcl anypackage "" $::acs::pageroot/test/tcl/test2/apath-init.tcl anypackage "" $::acs::pageroot/test/tcl/test2/apath-procs.tcl anypackage "" $::acs::pageroot/tcl/test2/apath.tcl anypackage tcl_util $::acs::pageroot/tcl/test2/apath-init.tcl anypackage tcl_init $::acs::pageroot/tcl/test2/apath-procs.tcl anypackage tcl_procs catalog/acs-kernel.en_US.ISO-8859-1.xml acs-kernel message_catalog ] foreach {path package_key expected} $testcases { aa_equals "Path '$path' for package_key '$package_key' returns expected value" [apm_guess_file_type $package_key $path] $expected } }} { 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" "apm_guess_file_type (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }Generic XQL file: packages/acs-bootstrap-installer/tcl/test/30-apm-load-procs.xql
PostgreSQL XQL file: packages/acs-bootstrap-installer/tcl/test/30-apm-load-procs-postgresql.xql
Oracle XQL file: packages/acs-bootstrap-installer/tcl/test/30-apm-load-procs-oracle.xql