X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Ftests%2Fxestiacalendar_test.cpp;h=35e4a6a1da394e2f3feae9115bebe51fda03aa3b;hb=dad9f41a985c5e2658627fa1636f8562a6044d07;hp=c6a602f9a58621510b1a19f4fc8469feddf2d99e;hpb=92f76e70da98ebf857ba003bd5e14947c497082b;p=xestiacalendar%2F.git diff --git a/source/tests/xestiacalendar_test.cpp b/source/tests/xestiacalendar_test.cpp index c6a602f..35e4a6a 100644 --- a/source/tests/xestiacalendar_test.cpp +++ b/source/tests/xestiacalendar_test.cpp @@ -28,6 +28,7 @@ #include "xestiacalendar_icaleventsave.h" #include "xestiacalendar_icaltaskload.h" #include "xestiacalendar_icaljournalload.h" +#include "xestiacalendar_icaljournalsave.h" #include "xestiacalendar_icalfreebusyload.h" #include "xestiacalendar_icalfreebusysave.h" #include "xestiacalendar_icaltimezoneload.h" @@ -37,6 +38,7 @@ enum MenuOpts { TESTS_ICALLOADEVENT = 1, TESTS_ICALSAVEEVENT, TESTS_ICALLOADTODO, + TESTS_ICALSAVEJOURNAL, TESTS_ICALLOADJOURNAL, TESTS_ICALLOADFREEBUSY, TESTS_ICALSAVEFREEBUSY, @@ -67,6 +69,7 @@ void printmenu(){ 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_ICALSAVEJOURNAL << ". iCalendar Journal Component Save" << std::endl; std::cout << TESTS_ICALLOADFREEBUSY << ". iCalendar FreeBusy Component Load" << std::endl; std::cout << TESTS_ICALSAVEFREEBUSY << ". iCalendar FreeBusy Component Save" << std::endl; std::cout << TESTS_ICALLOADTIMEZONE << ". iCalendar Timezone Component Load" << std::endl; @@ -208,6 +211,11 @@ int main(int argc, char* argv[]){ ::testing::GTEST_FLAG(filter) = "iCalendarJournal*"; TestResult = RUN_ALL_TESTS(); break; + case TESTS_ICALSAVEJOURNAL: + printn("Running iCalendar Journal Component Save tests..."); + ::testing::GTEST_FLAG(filter) = "iCalendarSaveJournal*"; + TestResult = RUN_ALL_TESTS(); + break; case TESTS_ICALLOADFREEBUSY: printn("Running iCalendar Free Busy Component tests..."); ::testing::GTEST_FLAG(filter) = "iCalendarFreeBusy*";