public void InsertGoogleCalendarData() { var calendarTable = new GoogleCalendarTable(); var testEvent = new GoogleCalendarModel {id = _testMailId}; calendarTable.InsertRow(testEvent); Assert.IsNotNull(calendarTable.GetRow(_testMailId)); }
public void DeleteGoogleCalendarEvent() { var calendarTable = new GoogleCalendarTable(); calendarTable.DeleteRow(_testMailId); Assert.IsNull(calendarTable.GetRow(_testMailId)); }
public void GetCalendarEventsUser() { var calendarTable = new GoogleCalendarTable(); var allEvents = calendarTable.GetRecords(20, _testUsername); Assert.IsNotNull(allEvents); }
public void UpdateGoogleCalendarEvent() { var calendarTable = new GoogleCalendarTable(); var testEvent = new GoogleCalendarModel { id = _testMailId, summary = "Test Event WPF" }; calendarTable.InsertRow(testEvent); Assert.IsNotNull(calendarTable.GetRow(_testMailId).summary); }