From 8e227b6ca18e4b45ee0faa0530b809822d7d4281 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sat, 23 Jan 2016 14:40:21 +0000 Subject: [PATCH] Added unit tests for CALSCALE to iCalendarEvent/BaseObjectVerifyTests --- source/tests/xestiacalendar_icaleventload.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tests/xestiacalendar_icaleventload.h b/source/tests/xestiacalendar_icaleventload.h index e3498e2..674ebcf 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -39,6 +39,11 @@ TEST(iCalendarEvent, BaseObjectVerifyTests){ ASSERT_EQ("REQUEST", TestEvent.MethodData); ASSERT_EQ("EXAMPLE=DATA", TestEvent.MethodTokens); + // Tests for CALSCALE. + + ASSERT_EQ("GREGORIAN", TestEvent.CalendarScaleData); + ASSERT_EQ("MORE=YES", TestEvent.CalendarScaleTokens); + } TEST(iCalendarEvent, ObjectDataTests){ -- 2.39.5