caldav::test::get_lowest_uid (private)

 caldav::test::get_lowest_uid [ -user_info user_info ]

Defined in packages/caldav/tcl/test/caldav-test-procs.tcl

Get from the private calendar of the provided user the lowest uid.

Switches:
-user_info (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 acs::test::http acs::test::http (public) caldav::get_sync_calendar caldav::get_sync_calendar (private) caldav::test::ical_stats caldav::test::ical_stats (private) caldav::test::get_lowest_uid caldav::test::get_lowest_uid caldav::test::get_lowest_uid->acs::test::http caldav::test::get_lowest_uid->caldav::get_sync_calendar caldav::test::get_lowest_uid->caldav::test::ical_stats

Testcases:
No testcase defined.
Source code:
        set user_id [dict get $user_info user_id]
    set private_calendar_id [::caldav::get_sync_calendar -user_id $user_id]
        set url /caldav/calendar/$private_calendar_id
        set d [::acs::test::http -user_info $user_info $url]
        set ical_response [dict get $d body]
        set ical_summary [::caldav::test::ical_stats $ical_response]
        #aa_log <pre>$ical_response</pre>
        return [lindex [lsort -integer [dict get $ical_summary uids]] 0]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: