update services/core/test/unittest/profile_utils_test.cpp.

Signed-off-by: 王柏栋 <wangbaidong@huawei.com>
This commit is contained in:
王柏栋 2024-02-28 11:34:15 +00:00 committed by Gitee
parent 97c8c52712
commit a6a4838e30
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
* Copyright (c) 2023-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@ -13,7 +13,7 @@
* limitations under the License.
*/
#define private publi
#define private public
#define protected public
#include <string>
#include <vector>
@ -465,7 +465,6 @@ HWTEST_F(ProfileUtilsTest, DeviceProfileTranslateEntries001, TestSize.Level1)
deviceProfile.SetDeviceName("anything");
deviceProfile.SetManufactureName("anything");
deviceProfile.SetDeviceModel("anything");
deviceProfile.SetSerialNumberId("anything");
deviceProfile.SetStorageCapability(1);
deviceProfile.SetOsSysCap("anything");
deviceProfile.SetOsApiLevel(1);