From 079123b5c4c25a453ba4d3c6ffa1b5f9f39c5dad Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周六, 21 3月 2020 20:57:47 +0800 Subject: [PATCH] update docs --- test/library/hw_identifier/hw_identifier_test.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/library/hw_identifier/hw_identifier_test.cpp b/test/library/hw_identifier/hw_identifier_test.cpp index 1e0062c..28db0c1 100644 --- a/test/library/hw_identifier/hw_identifier_test.cpp +++ b/test/library/hw_identifier/hw_identifier_test.cpp @@ -52,11 +52,11 @@ array<uint8_t, HW_IDENTIFIER_PROPRIETARY_DATA> data = {0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42}; HwIdentifier pc_id; pc_id.set_data(data); - pc_id.set_identification_strategy(LCC_API_IDENTIFICATION_STRATEGY::STRATEGY_ETHERNET); + pc_id.set_identification_strategy(LCC_API_HW_IDENTIFICATION_STRATEGY::STRATEGY_ETHERNET); string pc_id_str = pc_id.print(); cout << pc_id_str << endl; const HwIdentifier id2(pc_id_str); - BOOST_CHECK_MESSAGE(id2.get_identification_strategy() == LCC_API_IDENTIFICATION_STRATEGY::STRATEGY_ETHERNET, + BOOST_CHECK_MESSAGE(id2.get_identification_strategy() == LCC_API_HW_IDENTIFICATION_STRATEGY::STRATEGY_ETHERNET, "Strategy decoded correctly"); BOOST_CHECK_MESSAGE(id2.data_match(data), "Data deserialized correctly"); } -- Gitblit v1.9.1