#include "components/data_sharing/internal/group_data_store.h"
#include <memory>
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace data_sharing {
namespace {
Eq;
UnorderedElementsAre;
class GroupDataStoreTest : public testing::Test { … };
TEST_F(GroupDataStoreTest, ShouldStoreAndGetGroupData) { … }
TEST_F(GroupDataStoreTest, ShouldDeleteSingleGroup) { … }
TEST_F(GroupDataStoreTest, ShouldDeleteMultipleGroups) { … }
TEST_F(GroupDataStoreTest, ShouldGetAllGroupIds) { … }
TEST_F(GroupDataStoreTest, ShouldPersistChanges) { … }
}
}