chromium/components/policy/core/common/cloud/cloud_policy_service_unittest.cc

// Copyright 2012 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/policy/core/common/cloud/cloud_policy_service.h"

#include <memory>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "components/policy/core/common/cloud/mock_cloud_policy_client.h"
#include "components/policy/core/common/cloud/mock_cloud_policy_service.h"
#include "components/policy/core/common/cloud/mock_cloud_policy_store.h"
#include "components/policy/proto/device_management_backend.pb.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

em;

_;

namespace policy {

constexpr auto kTestReason =;

class CloudPolicyServiceTest : public testing::Test {};

MATCHER_P(ProtoMatches, proto, std::string()) {}

TEST_F(CloudPolicyServiceTest, PolicyUpdateSuccess) {}

TEST_F(CloudPolicyServiceTest, PolicyUpdateClientFailure) {}

TEST_F(CloudPolicyServiceTest, RefreshPolicySuccess) {}

TEST_F(CloudPolicyServiceTest, RefreshPolicyNotRegistered) {}

TEST_F(CloudPolicyServiceTest, RefreshPolicyClientError) {}

TEST_F(CloudPolicyServiceTest, RefreshPolicyStoreError) {}

TEST_F(CloudPolicyServiceTest, RefreshPolicyConcurrent) {}

TEST_F(CloudPolicyServiceTest, StoreAlreadyInitialized) {}

TEST_F(CloudPolicyServiceTest, StoreLoadAfterCreation) {}

TEST_F(CloudPolicyServiceTest, ReportValidationResult) {}

TEST_F(CloudPolicyServiceTest, ReportValidationResultWrongSignature) {}

}  // namespace policy