#!perl use Cassandane::Tiny; sub test_rfc6638_3_2_1_1_create { my ($self) = @_; my $CalDAV = $self->{caldav}; my $CalendarId = $CalDAV->NewCalendar({name => 'test'}); $self->assert_not_null($CalendarId); xlog $self, "default schedule agent -> REQUEST"; $self->_put_event($CalendarId, lines => <assert_caldav_notified( { recipient => "test1\@example.com", is_update => JSON::false, method => 'REQUEST' }, { recipient => "test2\@example.com", is_update => JSON::false, method => 'REQUEST' }, ); xlog $self, "schedule agent SERVER -> REQUEST"; $self->_put_event($CalendarId, lines => <assert_caldav_notified( { recipient => "test1\@example.com", is_update => JSON::false, method => 'REQUEST' }, { recipient => "test2\@example.com", is_update => JSON::false, method => 'REQUEST' }, ); xlog $self, "schedule agent CLIENT -> nothing"; $self->_put_event($CalendarId, lines => <assert_caldav_notified(); xlog $self, "schedule agent NONE -> nothing"; $self->_put_event($CalendarId, lines => <assert_caldav_notified(); }