cr_item_search::assert_in_queue (private)

 cr_item_search::assert_in_queue [ -revision_id revision_id ] \
    [ -events events ]

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

We use this test many times. Check if revision_id is in the search observer queue

Switches:
-revision_id (optional)
-events (optional)
List of events to check for (INSERT,UPDATE,DELETE)

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::assert_in_queue cr_item_search::assert_in_queue test_cr_item_search_triggers->cr_item_search::assert_in_queue aa_true aa_true (public) cr_item_search::assert_in_queue->aa_true db_string db_string (public) cr_item_search::assert_in_queue->db_string

Testcases:
cr_item_search_triggers
Source code:
    aa_true "Revision ${revision_id} is queued for search events $events"  [db_string check_queue [subst {
            select count(*) from search_observer_queue
            where object_id = :revision_id
            and event in
            ([ns_dbquotelist $events])
        }] -default 0]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: