1/*
2 * Copyright (c) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16#include <cstdlib>
17#include <gtest/gtest.h>
18#include <string>
19
20#include "key_utils.h"
21
22using namespace testing::ext;
23using namespace std;
24
25namespace OHOS {
26namespace Security {
27namespace CodeSign {
28
29class KeyEnableUtilsTest : public testing::Test {
30public:
31    KeyEnableUtilsTest() {};
32    virtual ~KeyEnableUtilsTest() {};
33    static void SetUpTestCase() {};
34    static void TearDownTestCase() {};
35    void SetUp() {};
36    void TearDown() {};
37};
38
39/**
40 * @tc.name: KeyEnableUtilsTest_0001
41 * @tc.desc: check status of device
42 * @tc.type: Func
43 * @tc.require: issueI8FCGF
44 */
45HWTEST_F(KeyEnableUtilsTest, KeyEnableUtilsTest_0001, TestSize.Level0)
46{
47    EXPECT_EQ(IsRdDevice(), true);
48}
49} // namespace CodeSign
50} // namespace Security
51} // namespace OHOS
52