#include "components/supervised_user/core/browser/family_link_user_log_record.h"
#include <memory>
#include "base/test/task_environment.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/safe_search_api/fake_url_checker_client.h"
#include "components/signin/public/base/consent_level.h"
#include "components/signin/public/identity_manager/account_capabilities_test_mutator.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/signin/public/identity_manager/identity_test_environment.h"
#include "components/supervised_user/core/browser/supervised_user_preferences.h"
#include "components/supervised_user/core/browser/supervised_user_service.h"
#include "components/supervised_user/core/browser/supervised_user_url_filter.h"
#include "components/supervised_user/core/common/pref_names.h"
#include "components/supervised_user/test_support/supervised_user_url_filter_test_utils.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace supervised_user {
namespace {
constexpr char kChildEmail[] = …;
}
class FamilyLinkUserLogRecordTest : public ::testing::Test { … };
TEST_F(FamilyLinkUserLogRecordTest, SignedOutIsUnsupervised) { … }
TEST_F(FamilyLinkUserLogRecordTest, CapabilitiesUnknownDefault) { … }
TEST_F(FamilyLinkUserLogRecordTest, SupervisionEnabledByUser) { … }
TEST_F(FamilyLinkUserLogRecordTest, SupervisionEnabledByPolicy) { … }
TEST_F(FamilyLinkUserLogRecordTest, NotSupervised) { … }
TEST_F(FamilyLinkUserLogRecordTest, SignedOutHasNoWebFilter) { … }
TEST_F(FamilyLinkUserLogRecordTest, NotSupervisedHasNoWebFilter) { … }
TEST_F(FamilyLinkUserLogRecordTest, SupervisedWithMatureSitesFilter) { … }
TEST_F(FamilyLinkUserLogRecordTest, SupervisedWithAllowAllFilter) { … }
TEST_F(FamilyLinkUserLogRecordTest, SupervisedWithCertainSitesFilter) { … }
}