chromium/chrome/enterprise_companion/enterprise_companion_service_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 "chrome/enterprise_companion/enterprise_companion_service.h"

#include <memory>

#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/scoped_refptr.h"
#include "base/run_loop.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "chrome/enterprise_companion/dm_client.h"
#include "chrome/enterprise_companion/enterprise_companion_status.h"
#include "chrome/enterprise_companion/event_logger.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace enterprise_companion {

namespace {

class MockDMClient final : public DMClient {};

class MockEventLoggerManager : public EventLoggerManager {};

}  // namespace

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

TEST_F(EnterpriseCompanionServiceTest, Shutdown) {}

TEST_F(EnterpriseCompanionServiceTest, FetchPoliciesSuccess) {}

TEST_F(EnterpriseCompanionServiceTest, FetchPoliciesRegistrationFail) {}

TEST_F(EnterpriseCompanionServiceTest, FetchPoliciesFail) {}

}  // namespace enterprise_companion