From e90dd267514ed8cd75cd93c1f3cf176ad7641e1a Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 17 Jan 2016 09:51:04 +0000 Subject: [PATCH] Added CommonFunctions tests. --- source/tests/xestiacalendar_commonfunctions.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 source/tests/xestiacalendar_commonfunctions.h diff --git a/source/tests/xestiacalendar_commonfunctions.h b/source/tests/xestiacalendar_commonfunctions.h new file mode 100644 index 0000000..74f0125 --- /dev/null +++ b/source/tests/xestiacalendar_commonfunctions.h @@ -0,0 +1,8 @@ +#include "../common/file.h" + +TEST(CommonFunctions, FileTests){ + + ASSERT_EQ(false, FileExists("iCalendarEvent-Missing.vcf")); + ASSERT_EQ(true, FileExists("iCalendarEvent-InvalidPermissions.vcf")); + +} \ No newline at end of file -- 2.39.5