chromium/google_apis/drive/drive_api_url_generator_unittest.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "google_apis/drive/drive_api_url_generator.h"

#include <stddef.h>
#include <stdint.h>

#include "google_apis/common/test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/url_util.h"

namespace google_apis {
namespace {
// The URLs used for production may be different for Chromium OS and Chrome
// OS, so use testing base urls.
const char kBaseUrlForTesting[] =;
const char kBaseThumbnailUrlForTesting[] =;
}  // namespace

class DriveApiUrlGeneratorTest : public testing::Test {};

// Make sure the hard-coded urls are returned.
TEST_F(DriveApiUrlGeneratorTest, GetAboutGetUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetFilesGetUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetFilesInsertUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetFilePatchUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetFilesCopyUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetFilesListUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetFilesDeleteUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetFilesTrashUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetChangesListUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetChildrenInsertUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetChildrenDeleteUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetInitiateUploadNewFileUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetInitiateUploadExistingFileUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetMultipartUploadNewFileUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GetMultipartUploadExistingFileUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GenerateDownloadFileUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GeneratePermissionsInsertUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GenerateThumbnailUrl) {}

TEST_F(DriveApiUrlGeneratorTest, BatchUploadUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GenerateTeamDriveListUrl) {}

TEST_F(DriveApiUrlGeneratorTest, GeneraeStartPageTokenUrl) {}

}  // namespace google_apis