X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Ftests%2Fxestiacalendar_test.cpp;h=646db15239c020d66372b284c2e9b978723e7683;hb=d96e685e29d26a6d923c1c33358e66e7ad9daeac;hp=e3e2bed1999458a4825c8b2c2d4dc285305ff46f;hpb=6e26afc98c0656bbd2ffed756b826d986b97c0bf;p=xestiacalendar%2F.git diff --git a/source/tests/xestiacalendar_test.cpp b/source/tests/xestiacalendar_test.cpp index e3e2bed..646db15 100644 --- a/source/tests/xestiacalendar_test.cpp +++ b/source/tests/xestiacalendar_test.cpp @@ -25,6 +25,7 @@ #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" @@ -33,6 +34,7 @@ enum MenuOpts { TESTS_ICALLOADEVENT = 1, + TESTS_ICALSAVEEVENT, TESTS_ICALLOADTODO, TESTS_ICALLOADJOURNAL, TESTS_ICALLOADFREEBUSY, @@ -60,6 +62,7 @@ void printmenu(){ 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; @@ -187,6 +190,11 @@ int main(int argc, char* argv[]){ ::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*";