From 8d405b265285c368df2e9cf1c14acee7532e0ee7 Mon Sep 17 00:00:00 2001 From: nancy.liao <huihui.liao@greentest.com.cn> Date: ćšć, 29 5æ 2025 18:14:38 +0800 Subject: [PATCH] Merge branch 'develop' of http://139.9.88.116:3000/r/module/open-license-manager into develop --- test/library/hw_identifier/hw_identifier_test.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/library/hw_identifier/hw_identifier_test.cpp b/test/library/hw_identifier/hw_identifier_test.cpp index 28db0c1..23ae22c 100644 --- a/test/library/hw_identifier/hw_identifier_test.cpp +++ b/test/library/hw_identifier/hw_identifier_test.cpp @@ -28,7 +28,7 @@ * Test get and set and compare hardware identifier data */ BOOST_AUTO_TEST_CASE(set_and_compare_data) { - array<uint8_t, HW_IDENTIFIER_PROPRIETARY_DATA> data = {0xFF, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42}; + array<uint8_t, HW_IDENTIFIER_PROPRIETARY_DATA> data = {0xFF, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42}; HwIdentifier pc_id; pc_id.set_data(data); data[0] = data[0] & 0x1f; @@ -38,7 +38,7 @@ * Test get and set and compare hardware identifier data */ BOOST_AUTO_TEST_CASE(compare_wrong_data) { - array<uint8_t, HW_IDENTIFIER_PROPRIETARY_DATA> data = {0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42}; + array<uint8_t, HW_IDENTIFIER_PROPRIETARY_DATA> data = {0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42}; HwIdentifier pc_id; pc_id.set_data(data); data[4] = 0; @@ -49,7 +49,7 @@ * Print a hardware identifier and read it from the same string, check the data matches */ BOOST_AUTO_TEST_CASE(print_and_read) { - array<uint8_t, HW_IDENTIFIER_PROPRIETARY_DATA> data = {0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42}; + array<uint8_t, HW_IDENTIFIER_PROPRIETARY_DATA> data = {0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42}; HwIdentifier pc_id; pc_id.set_data(data); pc_id.set_identification_strategy(LCC_API_HW_IDENTIFICATION_STRATEGY::STRATEGY_ETHERNET); -- Gitblit v1.9.1