chromium/components/supervised_user/core/browser/supervised_user_capabilities_unittest.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/supervised_user/core/browser/supervised_user_capabilities.h"

#include "base/test/task_environment.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 "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace supervised_user {
namespace {
constexpr char kEmail[] =;

class MockSupervisedUserCapabilitiesObserver
    : SupervisedUserCapabilitiesObserver {};

}  // namespace

class SupervisedUserCapabilitiesTest : public ::testing::Test {};

TEST_F(SupervisedUserCapabilitiesTest,
       SignedOutUserNotSubjectToParentalControls) {}

TEST_F(SupervisedUserCapabilitiesTest,
       SignedInAdultNotSubjectToParentalControls) {}

TEST_F(SupervisedUserCapabilitiesTest, SignedInChildSubjectToParentalControls) {}

TEST_F(SupervisedUserCapabilitiesTest,
       SignedInUnknownIsSubjectToParentalControls) {}

// ChromeOS does not support sign-out in tests.
#if !BUILDFLAG(IS_CHROMEOS)
TEST_F(SupervisedUserCapabilitiesTest,
       SignOutTriggersIsSubjectToParentalControlsUpdate) {}
#endif

}  // namespace supervised_user