#include "components/sync/nigori/nigori_storage_impl.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "components/os_crypt/sync/os_crypt_mocker.h"
#include "components/sync/protocol/nigori_local_data.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
namespace {
sync_pb::NigoriLocalData MakeSomeNigoriLocalData() { … }
class NigoriStorageImplTest : public testing::Test { … };
TEST_F(NigoriStorageImplTest, ShouldBeAbleToRestoreAfterWrite) { … }
TEST_F(NigoriStorageImplTest, ShouldReturnNulloptWhenFileNotExists) { … }
TEST_F(NigoriStorageImplTest, ShouldRemoveFile) { … }
}
}