summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2014-11-23 11:39:56 -0500
committerAllen Winter <allen.winter@kdab.com>2014-11-23 11:39:56 -0500
commitae72fd7bf8d781b0fd5fdccd870b6018d02ffed4 (patch)
tree54ae2ec30b1857e9a455365d76e388d93c1d16d0
parent7c3181f4401ca56dda6edb66f1302c316708728d (diff)
downloadlibical-git-ae72fd7bf8d781b0fd5fdccd870b6018d02ffed4.tar.gz
src/test/regression.c - fix compile with MSVC
-rw-r--r--src/test/regression.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/regression.c b/src/test/regression.c
index 133ca39b..e18e1883 100644
--- a/src/test/regression.c
+++ b/src/test/regression.c
@@ -3581,6 +3581,10 @@ void test_attach()
if (c) icalcomponent_free(c);
+}
+
+void test_attach_url()
+{
static const char test_icalcomp_str_attachwithurl[] =
"BEGIN:VALARM\r\n"
"ATTACH:foofile\r\n"
@@ -3849,6 +3853,7 @@ 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 Attachment with URL", test_attach, 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);