#include "xestiacalendar_commonfunctions.h"
#include "xestiacalendar_populate.h"
#include "xestiacalendar_icaleventload.h"
+#include "xestiacalendar_icaleventsave.h"
#include "xestiacalendar_icaltaskload.h"
#include "xestiacalendar_icaljournalload.h"
#include "xestiacalendar_icalfreebusyload.h"
enum MenuOpts {
TESTS_ICALLOADEVENT = 1,
+ TESTS_ICALSAVEEVENT,
TESTS_ICALLOADTODO,
TESTS_ICALLOADJOURNAL,
TESTS_ICALLOADFREEBUSY,
std::cout << "Select an option:" << std::endl << std::endl;
std::cout << TESTS_ICALLOADEVENT << ". iCalendar Event Component Load" << std::endl;
+ std::cout << TESTS_ICALSAVEEVENT << ". iCalendar Event Component Save" << std::endl;
std::cout << TESTS_ICALLOADTODO << ". iCalendar Task Component Load" << std::endl;
std::cout << TESTS_ICALLOADJOURNAL << ". iCalendar Journal Component Load" << std::endl;
std::cout << TESTS_ICALLOADFREEBUSY << ". iCalendar FreeBusy Component Load" << std::endl;
::testing::GTEST_FLAG(filter) = "iCalendarEvent*";
TestResult = RUN_ALL_TESTS();
break;
+ case TESTS_ICALSAVEEVENT:
+ printn("Running iCalendar Event Component Save tests...");
+ ::testing::GTEST_FLAG(filter) = "iCalendarSaveEvent*";
+ TestResult = RUN_ALL_TESTS();
+ break;
case TESTS_ICALLOADTODO:
printn("Running iCalendar Task Component tests...");
::testing::GTEST_FLAG(filter) = "iCalendarTask*";