xref: /aosp_15_r20/external/cronet/base/enterprise_util_mac_unittest.mm (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1// Copyright 2020 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "base/enterprise_util.h"
6
7#include "testing/gtest/include/gtest/gtest.h"
8
9namespace base {
10
11TEST(EnterpriseUtilMacTest, IsDeviceRegisteredWithManagementSmokeTest) {
12  MacDeviceManagementState state = IsDeviceRegisteredWithManagement();
13
14  EXPECT_NE(MacDeviceManagementState::kFailureAPIUnavailable, state);
15  EXPECT_NE(MacDeviceManagementState::kFailureUnableToParseResult, state);
16}
17
18}  // namespace base
19