chromium/chrome/browser/media/media_engagement_preloaded_list_unittest.cc

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

#include "chrome/browser/media/media_engagement_preloaded_list.h"

#include <utility>

#include "base/files/file_path.h"
#include "base/path_service.h"
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/test/base/testing_profile.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/origin.h"

namespace {

// Generated files are re-homed to the package root.
const base::FilePath kTestDataPath =;

// This sample data is auto generated at build time.
const base::FilePath kSampleDataPath =;

const base::FilePath kMissingFilePath =;

const base::FilePath kBadFormatFilePath =;

const base::FilePath kEmptyFilePath =;

const base::FilePath kFileReadFailedPath =;

base::FilePath GeneratedTestDataRoot() {}

}  // namespace

class MediaEngagementPreloadedListTest : public ::testing::Test {};

TEST_F(MediaEngagementPreloadedListTest, CheckOriginIsPresent) {}

TEST_F(MediaEngagementPreloadedListTest, LoadMissingFile) {}

TEST_F(MediaEngagementPreloadedListTest, LoadFileReadFailed) {}

TEST_F(MediaEngagementPreloadedListTest, LoadBadFormatFile) {}

TEST_F(MediaEngagementPreloadedListTest, LoadEmptyFile) {}

TEST_F(MediaEngagementPreloadedListTest, CheckOriginIsPresent_UnsecureSchemes) {}