chromium/components/prefs/overlay_user_pref_store_unittest.cc

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

#include "components/prefs/overlay_user_pref_store.h"

#include <memory>

#include "base/test/task_environment.h"
#include "base/values.h"
#include "components/prefs/persistent_pref_store_unittest.h"
#include "components/prefs/pref_store_observer_mock.h"
#include "components/prefs/testing_pref_store.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

Mock;
StrEq;

namespace base {
namespace {

const char kBrowserWindowPlacement[] =;
const char kShowBookmarkBar[] =;
const char kSharedKey[] =;

const char* const regular_key =;
const char* const persistent_key =;
const char* const shared_key =;

}  // namespace

class OverlayUserPrefStoreTest : public testing::Test {};

TEST_F(OverlayUserPrefStoreTest, Observer) {}

TEST_F(OverlayUserPrefStoreTest, GetAndSet) {}

// Check that GetMutableValue does not return the dictionary of the underlay.
TEST_F(OverlayUserPrefStoreTest, ModifyDictionaries) {}

// Here we consider a global preference that is not overlayed.
TEST_F(OverlayUserPrefStoreTest, GlobalPref) {}

TEST_F(OverlayUserPrefStoreTest, GetValues) {}

TEST_F(OverlayUserPrefStoreTest, CommitPendingWriteWithCallback) {}

TEST_F(OverlayUserPrefStoreTest, HasReadErrorDelegate) {}

}  // namespace base