Skip to content

Commit

Permalink
Merge branch 'master' into coverity_scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Winter committed Nov 23, 2014
2 parents 9982252 + e72984b commit 59ba4bf
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/test/regression.c
Original file line number Diff line number Diff line change
Expand Up @@ -3568,8 +3568,6 @@ void test_utcoffset()
void test_attach()
{
icalcomponent *c;
icalproperty *p;
icalparameter *param;

static const char test_icalcomp_str[] =
"BEGIN:VEVENT\n"
Expand All @@ -3583,6 +3581,13 @@ void test_attach()
if (VERBOSE && c) printf("%s",icalcomponent_as_ical_string(c));

if (c) icalcomponent_free(c);
}

void test_attach_caldav()
{
icalcomponent *c;
icalproperty *p;
icalparameter *param;

static const char test_icalcomp_str_caldav[] =
"BEGIN:VEVENT\n"
Expand Down Expand Up @@ -3618,7 +3623,10 @@ void test_attach()

if (p) icalproperty_free(p);
if (c) icalcomponent_free(c);
}

void test_attach_url()
{
static const char test_icalcomp_str_attachwithurl[] =
"BEGIN:VALARM\r\n"
"ATTACH:foofile\r\n"
Expand Down Expand Up @@ -3887,6 +3895,8 @@ int main(int argc, char *argv[])
test_run("Create Components with vaargs", create_new_component_with_va_args, do_test, do_header);
test_run("Test Memory", test_memory, do_test, do_header);
test_run("Test Attachment", test_attach, do_test, do_header);
test_run("Test CalDAV Attachment", test_attach_caldav, do_test, do_header);
test_run("Test Attachment with URL", test_attach_url, do_test, do_header);
test_run("Test icalcalendar", test_calendar, do_test, do_header);
test_run("Test Dirset", test_dirset, do_test, do_header);
test_run("Test vCal to iCal conversion", test_vcal, do_test, do_header);
Expand Down

0 comments on commit 59ba4bf

Please sign in to comment.