cr_item_search::test_setup (private)

 cr_item_search::test_setup

Defined in packages/acs-content-repository/tcl/test/content-search-procs.tcl

setup test environment for search trigger tests

Partial Call Graph (max 5 caller/called nodes):
%3 test_cr_item_search_triggers cr_item_search_triggers (test acs-content-repository) cr_item_search::test_setup cr_item_search::test_setup test_cr_item_search_triggers->cr_item_search::test_setup ad_tmpnam ad_tmpnam (public) cr_item_search::test_setup->ad_tmpnam content::folder::new content::folder::new (public) cr_item_search::test_setup->content::folder::new content::folder::register_content_type content::folder::register_content_type (public) cr_item_search::test_setup->content::folder::register_content_type

Testcases:
cr_item_search_triggers
Source code:
    set folder_name [ad_tmpnam cr_item_search_XXXXXX]
    set folder_id [content::folder::new -name $folder_name]
    content::folder::register_content_type -folder_id $folder_id -content_type content_revision -include_subtypes t
    return $folder_id
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: