chromium/services/preferences/tracked/pref_hash_store_impl_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.

#include "services/preferences/tracked/pref_hash_store_impl.h"

#include <string>

#include "base/values.h"
#include "services/preferences/tracked/dictionary_hash_store_contents.h"
#include "services/preferences/tracked/hash_store_contents.h"
#include "services/preferences/tracked/pref_hash_store_transaction.h"
#include "testing/gtest/include/gtest/gtest.h"

ValueState;

class PrefHashStoreImplTest : public testing::Test {};

TEST_F(PrefHashStoreImplTest, ComputeMac) {}

TEST_F(PrefHashStoreImplTest, ComputeSplitMacs) {}

TEST_F(PrefHashStoreImplTest, ComputeNullSplitMacs) {}

TEST_F(PrefHashStoreImplTest, AtomicHashStoreAndCheck) {}

TEST_F(PrefHashStoreImplTest, ImportExportOperations) {}

TEST_F(PrefHashStoreImplTest, SuperMACDisabled) {}

TEST_F(PrefHashStoreImplTest, SplitHashStoreAndCheck) {}

TEST_F(PrefHashStoreImplTest, EmptyAndNULLSplitDict) {}

// Test that the PrefHashStore returns TRUSTED_UNKNOWN_VALUE when checking for
// a split preference even if there is an existing atomic preference's hash
// stored. There is no point providing a migration path for preferences
// switching strategies after their initial release as split preferences are
// turned into split preferences specifically because the atomic hash isn't
// considered useful.
TEST_F(PrefHashStoreImplTest, TrustedUnknownSplitValueFromExistingAtomic) {}