#include <stddef.h>
#include <memory>
#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/ref_counted.h"
#include "base/test/task_environment.h"
#include "base/values.h"
#include "components/value_store/leveldb_value_store.h"
#include "components/value_store/value_store_test_suite.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/leveldatabase/src/include/leveldb/db.h"
#include "third_party/leveldatabase/src/include/leveldb/write_batch.h"
namespace value_store {
namespace {
const char kDatabaseUMAClientName[] = …;
ValueStore* Param(const base::FilePath& file_path) { … }
}
INSTANTIATE_TEST_SUITE_P(…);
class LeveldbValueStoreUnitTest : public testing::Test { … };
TEST_F(LeveldbValueStoreUnitTest, RestoreKeyTest) { … }
TEST_F(LeveldbValueStoreUnitTest, RestoreDoesMinimumNecessary) { … }
TEST_F(LeveldbValueStoreUnitTest, RestoreFullDatabase) { … }
}