chromium/chrome/browser/media/router/discovery/access_code/access_code_cast_pref_updater_impl_unittest.cc

// Copyright 2022 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/router/discovery/access_code/access_code_cast_pref_updater_impl.h"

#include "base/json/json_reader.h"
#include "base/json/values_util.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "base/time/time.h"
#include "base/values.h"
#include "chrome/browser/media/router/discovery/access_code/access_code_cast_feature.h"
#include "chrome/browser/media/router/discovery/access_code/access_code_media_sink_util.h"
#include "chrome/browser/media/router/test/provider_test_helpers.h"
#include "chrome/browser/web_applications/web_app_constants.h"
#include "chrome/common/pref_names.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "components/webapps/common/web_app_id.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/browser_task_environment.h"
#include "services/preferences/public/cpp/dictionary_value_update.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media_router {

class AccessCodeCastPrefUpdaterImplTest : public testing::Test {};

TEST_F(AccessCodeCastPrefUpdaterImplTest, TestUpdateDevicesDictRecorded) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest, TestUpdateDevicesDictOverwrite) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest, TestUpdateDeviceAddedTimeDict) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest,
       TestUpdateDeviceAddedTimeDictOverwrite) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest,
       TestGetMediaSinkInternalValueBySinkId) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest, TestRemoveSinkIdFromDevicesDict) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest,
       TestRemoveSinkIdFromDeviceAddedTimeDict) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest, TestGetDeviceAddedTime) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest, TestClearDevicesDict) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest, TestClearDeviceAddedTimeDict) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest, TestUpdateDevicesDictIdenticalIPs) {}

TEST_F(AccessCodeCastPrefUpdaterImplTest, TestUpdateDevicesDictDifferentIPs) {}

}  // namespace media_router