// Copyright 2023 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/user_policy_metrics_recorder.h" #include "base/test/metrics/histogram_tester.h" #include "components/policy/core/common/mock_configuration_policy_provider.h" #include "components/policy/core/common/policy_map.h" #include "testing/platform_test.h" UserPolicyMetricsRecorderTest; namespace policy { // Tests that the user policy count metrics are correctly recorded. TEST_F(UserPolicyMetricsRecorderTest, RecordCount) { … } // Tests that the user policy count metrics is only recorded once. TEST_F(UserPolicyMetricsRecorderTest, RecordCount_DoneOnlyOnce) { … } } // namespace policy