From: Steve Brokenshire Date: Sun, 17 Jan 2016 09:51:04 +0000 (+0000) Subject: Added CommonFunctions tests. X-Git-Tag: release-0.02~777 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=e90dd267514ed8cd75cd93c1f3cf176ad7641e1a;p=xestiacalendar%2F.git Added CommonFunctions tests. --- 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