#include "google_apis/calendar/calendar_api_requests.h"
#include <string>
#include <vector>
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "google_apis/calendar/calendar_api_response_types.h"
#include "google_apis/common/dummy_auth_service.h"
#include "google_apis/common/request_sender.h"
#include "google_apis/common/test_util.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "net/test/embedded_test_server/http_request.h"
#include "net/test/embedded_test_server/http_response.h"
#include "net/test/embedded_test_server/request_handler_util.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "services/network/test/test_shared_url_loader_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace google_apis {
namespace calendar {
namespace {
const char kTestCalendarColorId[] = …;
const char kTestPrimaryCalendarColorId[] = …;
const char kTestPrimaryCalendarSummary[] = …;
const char kTestUserAgent[] = …;
}
class CalendarApiRequestsTest : public testing::Test { … };
TEST_F(CalendarApiRequestsTest, GetCalendarListRequest) { … }
TEST_F(CalendarApiRequestsTest, GetEventListRequest) { … }
TEST_F(CalendarApiRequestsTest,
GetEventListRequestWithDefaultOptionalParameters) { … }
TEST_F(CalendarApiRequestsTest,
GetEventListRequestWithExtraParametersAndAttachments) { … }
TEST_F(CalendarApiRequestsTest, GetEventListRequestWithAttachments) { … }
}
}