From 26d81200f1bf75f2bf373e7c52c96aa4bd06adf7 Mon Sep 17 00:00:00 2001 From: Olga Kiseleva Date: Thu, 16 Jan 2025 20:05:00 +0100 Subject: [PATCH] [code style] Align header guards in "tools/tests"folder (#1135) --- tools/tests/common/analytic_fixture.hpp | 6 +++--- tools/tests/common/analytic_mask_fixture.hpp | 6 +++--- tools/tests/common/check_result.hpp | 6 +++--- tools/tests/common/common_defs.hpp | 6 +++--- tools/tests/common/execution_wrapper.hpp | 6 +++--- tools/tests/common/job_helper.hpp | 6 +++--- tools/tests/common/operation_test.hpp | 6 +++--- tools/tests/common/run_operation.hpp | 6 +++--- tools/tests/common/test_cases.hpp | 6 +++--- tools/tests/common/test_name_format.hpp | 6 +++--- tools/tests/common/test_sources.hpp | 6 +++--- tools/tests/cross_tests/base_crc_test_fixture.hpp | 6 +++--- tools/tests/cross_tests/base_cross_test_fixture.hpp | 6 +++--- tools/tests/cross_tests/canned_test_cases.hpp | 6 +++--- tools/tests/cross_tests/crc32_test_cases.hpp | 6 +++--- tools/tests/cross_tests/deflate_test_cases.hpp | 6 +++--- tools/tests/cross_tests/huffman_only_test_cases.hpp | 6 +++--- .../algorithmic_tests/low_level_api/ta_ll_common.hpp | 6 +++--- .../bad_argument_tests/low_level_api/tb_ll_common.hpp | 6 +++--- .../low_level_api/base_analytic_negative_test_fixure.hpp | 6 +++--- .../functional/negative_tests/low_level_api/tn_common.hpp | 6 +++--- tools/tests/functional/unit_tests/algorithmic/t_common.hpp | 6 +++--- .../fuzzing/low-level-api/deflate_canned_dict_fuzz_test.hpp | 4 ++++ .../low-level-api/deflate_canned_nodict_fuzz_test.hpp | 4 ++++ .../tests/fuzzing/low-level-api/deflate_dict_fuzz_test.hpp | 3 +++ .../fuzzing/low-level-api/deflate_nodict_fuzz_test.hpp | 4 ++++ .../fuzzing/low-level-api/deflate_static_dict_fuzz_test.hpp | 3 +++ .../low-level-api/deflate_static_nodict_fuzz_test.hpp | 3 +++ tools/tests/fuzzing/low-level-api/filter_op_fuzz_test.hpp | 3 +++ tools/tests/thread_tests/tt_common.hpp | 6 +++--- 30 files changed, 93 insertions(+), 69 deletions(-) diff --git a/tools/tests/common/analytic_fixture.hpp b/tools/tests/common/analytic_fixture.hpp index 0a3b9eb0a..67e3f3da6 100644 --- a/tools/tests/common/analytic_fixture.hpp +++ b/tools/tests/common/analytic_fixture.hpp @@ -9,8 +9,8 @@ * Tests */ -#ifndef QPL_TEST_ANALYTICS_FIXTURE_HPP -#define QPL_TEST_ANALYTICS_FIXTURE_HPP +#ifndef QPL_TOOLS_TESTS_COMMON_ANALYTICS_FIXTURE_HPP +#define QPL_TOOLS_TESTS_COMMON_ANALYTICS_FIXTURE_HPP #include @@ -211,4 +211,4 @@ class AnalyticFixture }; } // namespace qpl::test -#endif //QPL_TEST_ANALYTICS_FIXTURE_HPP +#endif //QPL_TOOLS_TESTS_COMMON_ANALYTICS_FIXTURE_HPP diff --git a/tools/tests/common/analytic_mask_fixture.hpp b/tools/tests/common/analytic_mask_fixture.hpp index 9f4e678a7..83a46dfdc 100644 --- a/tools/tests/common/analytic_mask_fixture.hpp +++ b/tools/tests/common/analytic_mask_fixture.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TEST_ANALYTICS_MASK_FIXTURE_HPP -#define QPL_TEST_ANALYTICS_MASK_FIXTURE_HPP +#ifndef QPL_TOOLS_TESTS_COMMON_ANALYTICS_MASK_FIXTURE_HPP +#define QPL_TOOLS_TESTS_COMMON_ANALYTICS_MASK_FIXTURE_HPP #include "analytic_fixture.hpp" @@ -56,4 +56,4 @@ class AnalyticMaskFixture : public AnalyticFixture { }; } // namespace qpl::test -#endif //QPL_TEST_ANALYTICS_MASK_FIXTURE_HPP +#endif //QPL_TOOLS_TESTS_COMMON_ANALYTICS_MASK_FIXTURE_HPP diff --git a/tools/tests/common/check_result.hpp b/tools/tests/common/check_result.hpp index e08ae9065..5e0755b22 100644 --- a/tools/tests/common/check_result.hpp +++ b/tools/tests/common/check_result.hpp @@ -9,8 +9,8 @@ * Middle Layer API (private C++ API) */ -#ifndef QPL_TESTS_TESTS_COMMON_CHECK_RESULT_HPP_ -#define QPL_TESTS_TESTS_COMMON_CHECK_RESULT_HPP_ +#ifndef QPL_TOOLS_TESTS_COMMON_CHECK_RESULT_HPP +#define QPL_TOOLS_TESTS_COMMON_CHECK_RESULT_HPP #include #include @@ -116,4 +116,4 @@ static inline testing::AssertionResult compare_crc32_field(const qpl_job* job_pt return testing::AssertionSuccess(); } -#endif //QPL_TESTS_TESTS_COMMON_CHECK_RESULT_HPP_ +#endif //QPL_TOOLS_TESTS_COMMON_CHECK_RESULT_HPP diff --git a/tools/tests/common/common_defs.hpp b/tools/tests/common/common_defs.hpp index 5bde062cb..fbcba0c8e 100644 --- a/tools/tests/common/common_defs.hpp +++ b/tools/tests/common/common_defs.hpp @@ -4,12 +4,12 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TESTS_COMMON_COMMON_DEFS_HPP_ -#define QPL_TESTS_COMMON_COMMON_DEFS_HPP_ +#ifndef QPL_TOOLS_TESTS_COMMON_COMMON_DEFS_HPP +#define QPL_TOOLS_TESTS_COMMON_COMMON_DEFS_HPP // Required for PF testing. // Based on the value, we choose to swap out the pages // in src-1/src-2 (READ PF) or dst (WRITE PF). typedef enum { READ_SRC_1_PAGE_FAULT, READ_SRC_2_PAGE_FAULT, WRITE_PAGE_FAULT } PageFaultType; -#endif // QPL_TESTS_COMMON_COMMON_DEFS_HPP_ +#endif // QPL_TOOLS_TESTS_COMMON_COMMON_DEFS_HPP diff --git a/tools/tests/common/execution_wrapper.hpp b/tools/tests/common/execution_wrapper.hpp index 353f7a003..1b746f93c 100644 --- a/tools/tests/common/execution_wrapper.hpp +++ b/tools/tests/common/execution_wrapper.hpp @@ -9,8 +9,8 @@ * Test API (private C++ API) */ -#ifndef QPL_TESTS_COMMON_EXECUTION_WRAPPER_HPP_ -#define QPL_TESTS_COMMON_EXECUTION_WRAPPER_HPP_ +#ifndef QPL_TOOLS_TESTS_COMMON_EXECUTION_WRAPPER_HPP +#define QPL_TOOLS_TESTS_COMMON_EXECUTION_WRAPPER_HPP #include "qpl/qpl.h" @@ -30,4 +30,4 @@ static inline auto run_job_api(qpl_job* job_ptr) { } } // namespace qpl::test -#endif //QPL_TESTS_COMMON_EXECUTION_WRAPPER_HPP_ +#endif //QPL_TOOLS_TESTS_COMMON_EXECUTION_WRAPPER_HPP diff --git a/tools/tests/common/job_helper.hpp b/tools/tests/common/job_helper.hpp index 0b3ee3c48..ac4845ddb 100644 --- a/tools/tests/common/job_helper.hpp +++ b/tools/tests/common/job_helper.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_JOB_HELPER_HPP -#define QPL_JOB_HELPER_HPP +#ifndef QPL_TOOLS_TESTS_COMMON_JOB_HELPER_HPP +#define QPL_TOOLS_TESTS_COMMON_JOB_HELPER_HPP #include "qpl/qpl.h" @@ -23,4 +23,4 @@ static inline auto is_two_source_filtering(qpl_job* const job_ptr) { } // namespace qpl::test::job_helper -#endif // QPL_JOB_HELPER_HPP +#endif // QPL_TOOLS_TESTS_COMMON_JOB_HELPER_HPP diff --git a/tools/tests/common/operation_test.hpp b/tools/tests/common/operation_test.hpp index f87fc2166..836436f66 100644 --- a/tools/tests/common/operation_test.hpp +++ b/tools/tests/common/operation_test.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TEST_OPERATION_TEST -#define QPL_TEST_OPERATION_TEST +#ifndef QPL_TOOLS_TESTS_OMMON_OPERATION_TEST_HPP +#define QPL_TOOLS_TESTS_OMMON_OPERATION_TEST_HPP #include "qpl/qpl.h" @@ -136,4 +136,4 @@ class ReferenceFixture : public JobFixture { GTEST_TEST_(test_suite, test_name, fixture, testing::internal::GetTypeId()) } // namespace qpl::test -#endif //QPL_TEST_OPERATION_TEST +#endif //QPL_TOOLS_TESTS_OMMON_OPERATION_TEST_HPP diff --git a/tools/tests/common/run_operation.hpp b/tools/tests/common/run_operation.hpp index b710cd93e..d35f31e25 100644 --- a/tools/tests/common/run_operation.hpp +++ b/tools/tests/common/run_operation.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TOOLS_TESTS_COMMON_RUN_OPERATION_HPP_ -#define QPL_TOOLS_TESTS_COMMON_RUN_OPERATION_HPP_ +#ifndef QPL_TOOLS_TESTS_COMMON_RUN_OPERATION_HPP +#define QPL_TOOLS_TESTS_COMMON_RUN_OPERATION_HPP #include "qpl/qpl.h" @@ -62,4 +62,4 @@ qpl_status run_expand_op(qpl_path_t execution_path); } // namespace qpl::test -#endif // QPL_TOOLS_TESTS_COMMON_RUN_OPERATION_HPP_ +#endif //QPL_TOOLS_TESTS_COMMON_RUN_OPERATION_HPP diff --git a/tools/tests/common/test_cases.hpp b/tools/tests/common/test_cases.hpp index 6006b46f5..1bcf9d2ce 100644 --- a/tools/tests/common/test_cases.hpp +++ b/tools/tests/common/test_cases.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TEST_TEST_CASE_HPP -#define QPL_TEST_TEST_CASE_HPP +#ifndef QPL_TOOLS_TESTS_COMMON_TEST_CASES_HPP +#define QPL_TOOLS_TESTS_COMMON_TEST_CASES_HPP #include #include @@ -238,4 +238,4 @@ class ReferenceFixtureWithTestCases new testing::internal::TestFactoryImpl); \ void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::RunSingleIteration() -#endif //QPL_TEST_TEST_CASE_HPP +#endif //QPL_TOOLS_TESTS_COMMON_TEST_CASES_HPP diff --git a/tools/tests/common/test_name_format.hpp b/tools/tests/common/test_name_format.hpp index 047c298ab..479406a54 100644 --- a/tools/tests/common/test_name_format.hpp +++ b/tools/tests/common/test_name_format.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TESTS_COMMON_TEST_NAME_FORMAT_HPP_ -#define QPL_TESTS_COMMON_TEST_NAME_FORMAT_HPP_ +#ifndef QPL_TOOLS_TESTS_COMMON_TEST_NAME_FORMAT_HPP +#define QPL_TOOLS_TESTS_COMMON_TEST_NAME_FORMAT_HPP #define QPL_SUITE_NAME(type, api, tested_entity) type##_##api##_##tested_entity @@ -13,4 +13,4 @@ #define QPL_UNIT_SUITE_NAME(type, tested_entity) QPL_SUITE_NAME(type, unit_api, tested_entity) -#endif //QPL_TESTS_COMMON_TEST_NAME_FORMAT_HPP_ +#endif //QPL_TOOLS_TESTS_COMMON_TEST_NAME_FORMAT_HPP diff --git a/tools/tests/common/test_sources.hpp b/tools/tests/common/test_sources.hpp index 976d9a70a..927fdb55f 100644 --- a/tools/tests/common/test_sources.hpp +++ b/tools/tests/common/test_sources.hpp @@ -9,8 +9,8 @@ * Tests */ -#ifndef QPL_TESTS_COMMON_TEST_SOURCES_HPP_ -#define QPL_TESTS_COMMON_TEST_SOURCES_HPP_ +#ifndef QPL_TOOLS_TESTS_COMMON_TEST_SOURCES_HPP +#define QPL_TOOLS_TESTS_COMMON_TEST_SOURCES_HPP #include #include @@ -99,4 +99,4 @@ class AnalyticCountersStream : public AnalyticStream { } // namespace qpl::test -#endif //QPL_TESTS_COMMON_TEST_SOURCES_HPP_ +#endif //QPL_TOOLS_TESTS_COMMON_TEST_SOURCES_HPP diff --git a/tools/tests/cross_tests/base_crc_test_fixture.hpp b/tools/tests/cross_tests/base_crc_test_fixture.hpp index 9d554fe41..3fac337ed 100644 --- a/tools/tests/cross_tests/base_crc_test_fixture.hpp +++ b/tools/tests/cross_tests/base_crc_test_fixture.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TESTS_CRC_TESTS_BASE_CRC_TEST_FIXTURE_HPP_ -#define QPL_TESTS_CRC_TESTS_BASE_CRC_TEST_FIXTURE_HPP_ +#ifndef QPL_TOOLS_TESTS_CROSS_TESTS_BASE_CRC_TEST_FIXTURE_HPP +#define QPL_TOOLS_TESTS_CROSS_TESTS_BASE_CRC_TEST_FIXTURE_HPP #include @@ -59,4 +59,4 @@ class BaseCRCTestFixture : public testing::Test { } // namespace qpl::test -#endif //QPL_TESTS_CRC_TESTS_BASE_CRC_TEST_FIXTURE_HPP_ +#endif //QPL_TOOLS_TESTS_CROSS_TESTS_BASE_CRC_TEST_FIXTURE_HPP diff --git a/tools/tests/cross_tests/base_cross_test_fixture.hpp b/tools/tests/cross_tests/base_cross_test_fixture.hpp index efa2c64c3..2fe6c3e79 100644 --- a/tools/tests/cross_tests/base_cross_test_fixture.hpp +++ b/tools/tests/cross_tests/base_cross_test_fixture.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TESTS_CROSS_TESTS_BASE_CROSS_TEST_FIXTURE_HPP_ -#define QPL_TESTS_CROSS_TESTS_BASE_CROSS_TEST_FIXTURE_HPP_ +#ifndef QPL_TOOLS_TESTS_CROSS_TESTS_BASE_CROSS_TEST_FIXTURE_HPP +#define QPL_TOOLS_TESTS_CROSS_TESTS_BASE_CROSS_TEST_FIXTURE_HPP #include @@ -60,4 +60,4 @@ class BaseCrossTestFixture : public testing::Test { } // namespace qpl::test -#endif //QPL_TESTS_CROSS_TESTS_BASE_CROSS_TEST_FIXTURE_HPP_ +#endif //QPL_TOOLS_TESTS_CROSS_TESTS_BASE_CROSS_TEST_FIXTURE_HPP diff --git a/tools/tests/cross_tests/canned_test_cases.hpp b/tools/tests/cross_tests/canned_test_cases.hpp index a47c74ce4..a3234d7bf 100644 --- a/tools/tests/cross_tests/canned_test_cases.hpp +++ b/tools/tests/cross_tests/canned_test_cases.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_CANNED_TEST_CASES_HPP_ -#define QPL_CANNED_TEST_CASES_HPP_ +#ifndef QPL_TOOLS_TESTS_CROSS_TESTS_CANNED_TEST_CASES_HPP +#define QPL_TOOLS_TESTS_CROSS_TESTS_CANNED_TEST_CASES_HPP // tool_common #include "source_provider.hpp" @@ -20,4 +20,4 @@ struct SimpleCannedOneChuckTestCase { std::ostream& operator<<(std::ostream& os, const SimpleCannedOneChuckTestCase& test_case); } // namespace qpl::test -#endif //QPL_CANNED_TEST_CASES_HPP_ +#endif //QPL_TOOLS_TESTS_CROSS_TESTS_CANNED_TEST_CASES_HPP diff --git a/tools/tests/cross_tests/crc32_test_cases.hpp b/tools/tests/cross_tests/crc32_test_cases.hpp index e7df77fd5..dc91406eb 100644 --- a/tools/tests/cross_tests/crc32_test_cases.hpp +++ b/tools/tests/cross_tests/crc32_test_cases.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_CRC32_TEST_CASES_HPP_ -#define QPL_CRC32_TEST_CASES_HPP_ +#ifndef QPL_TOOLS_TESTS_CROSS_TESTS_CRC32_TEST_CASES_HPP +#define QPL_TOOLS_TESTS_CROSS_TESTS_CRC32_TEST_CASES_HPP // tool_common #include "source_provider.hpp" @@ -22,4 +22,4 @@ struct SimpleCRC32TestCase { std::ostream& operator<<(std::ostream& os, const SimpleCRC32TestCase& test_case); } // namespace qpl::test -#endif //QPL_CRC32_TEST_CASES_HPP_ +#endif //QPL_TOOLS_TESTS_CROSS_TESTS_CRC32_TEST_CASES_HPP diff --git a/tools/tests/cross_tests/deflate_test_cases.hpp b/tools/tests/cross_tests/deflate_test_cases.hpp index 00b541243..e2d820768 100644 --- a/tools/tests/cross_tests/deflate_test_cases.hpp +++ b/tools/tests/cross_tests/deflate_test_cases.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_DEFLATE_TEST_CASES_HPP_ -#define QPL_DEFLATE_TEST_CASES_HPP_ +#ifndef QPL_TOOLS_TESTS_CROSS_TESTS_DEFLATE_TEST_CASES_HPP +#define QPL_TOOLS_TESTS_CROSS_TESTS_DEFLATE_TEST_CASES_HPP // tool_common #include "source_provider.hpp" @@ -25,4 +25,4 @@ struct SimpleDeflateTestCase { std::ostream& operator<<(std::ostream& os, const SimpleDeflateTestCase& test_case); } // namespace qpl::test -#endif //QPL_DEFLATE_TEST_CASES_HPP_ +#endif //QPL_TOOLS_TESTS_CROSS_TESTS_DEFLATE_TEST_CASES_HPP diff --git a/tools/tests/cross_tests/huffman_only_test_cases.hpp b/tools/tests/cross_tests/huffman_only_test_cases.hpp index c56aeace1..065b03e8e 100644 --- a/tools/tests/cross_tests/huffman_only_test_cases.hpp +++ b/tools/tests/cross_tests/huffman_only_test_cases.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_HUFFMAN_ONLY_TEST_CASES_HPP_ -#define QPL_HUFFMAN_ONLY_TEST_CASES_HPP_ +#ifndef QPL_TOOLS_TESTS_CROSS_TESTS_HUFFMAN_ONLY_TEST_CASES_HPP +#define QPL_TOOLS_TESTS_CROSS_TESTS_HUFFMAN_ONLY_TEST_CASES_HPP // tool_common #include "source_provider.hpp" @@ -21,4 +21,4 @@ struct SimpleHuffmanOnlyTestCase { std::ostream& operator<<(std::ostream& os, const SimpleHuffmanOnlyTestCase& test_case); } // namespace qpl::test -#endif //QPL_HUFFMAN_ONLY_TEST_CASES_HPP_ +#endif //QPL_TOOLS_TESTS_CROSS_TESTS_HUFFMAN_ONLY_TEST_CASES_HPP diff --git a/tools/tests/functional/algorithmic_tests/low_level_api/ta_ll_common.hpp b/tools/tests/functional/algorithmic_tests/low_level_api/ta_ll_common.hpp index 39b77b291..f4f90d705 100644 --- a/tools/tests/functional/algorithmic_tests/low_level_api/ta_ll_common.hpp +++ b/tools/tests/functional/algorithmic_tests/low_level_api/ta_ll_common.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TESTS_FUNCTIONAL_ALGORITHMIC_TESTS_LOW_LEVEL_API_COMMON_H_ -#define QPL_TESTS_FUNCTIONAL_ALGORITHMIC_TESTS_LOW_LEVEL_API_COMMON_H_ +#ifndef QPL_TOOLS_TESTS_FUNCTIONAL_ALGORITHMIC_TESTS_LOW_LEVEL_API_TA_LLCOMMON_HPP +#define QPL_TOOLS_TESTS_FUNCTIONAL_ALGORITHMIC_TESTS_LOW_LEVEL_API_TA_LLCOMMON_HPP // tests_common #include "check_result.hpp" @@ -21,4 +21,4 @@ #define QPL_LOW_LEVEL_API_ALGORITHMIC_TEST_TC(operation, test, test_fixture) \ QPL_TEST_TC_(ta##_c_api_##operation, test, test_fixture, testing::internal::GetTypeId()) -#endif //QPL_TESTS_FUNCTIONAL_ALGORITHMIC_TESTS_LOW_LEVEL_API_COMMON_H_ +#endif //QPL_TOOLS_TESTS_FUNCTIONAL_ALGORITHMIC_TESTS_LOW_LEVEL_API_TA_LLCOMMON_HPP diff --git a/tools/tests/functional/bad_argument_tests/low_level_api/tb_ll_common.hpp b/tools/tests/functional/bad_argument_tests/low_level_api/tb_ll_common.hpp index 170967722..81d6386b5 100644 --- a/tools/tests/functional/bad_argument_tests/low_level_api/tb_ll_common.hpp +++ b/tools/tests/functional/bad_argument_tests/low_level_api/tb_ll_common.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TESTS_FUNCTIONAL_BADARG_TESTS_LOW_LEVEL_API_COMMON_H_ -#define QPL_TESTS_FUNCTIONAL_BADARG_TESTS_LOW_LEVEL_API_COMMON_H_ +#ifndef QPL_TOOLS_TESTS_FUNCTIONAL_BAD_ARGUMENT_TESTS_LOW_LEVEL_API_TB_LL_COMMON_HPP +#define QPL_TOOLS_TESTS_FUNCTIONAL_BAD_ARGUMENT_TESTS_LOW_LEVEL_API_TB_LL_COMMON_HPP #include #include @@ -374,4 +374,4 @@ static inline void check_source_size_not_enough_to_hold_num_input_elements(qpl_j << "Fail on: provided number of elements does not fit into the source size"; } -#endif //QPL_TESTS_FUNCTIONAL_BADARG_TESTS_LOW_LEVEL_API_COMMON_H_ +#endif //QPL_TOOLS_TESTS_FUNCTIONAL_BAD_ARGUMENT_TESTS_LOW_LEVEL_API_TB_LL_COMMON_HPP diff --git a/tools/tests/functional/negative_tests/low_level_api/base_analytic_negative_test_fixure.hpp b/tools/tests/functional/negative_tests/low_level_api/base_analytic_negative_test_fixure.hpp index f6c864c9e..5ac84ce9f 100644 --- a/tools/tests/functional/negative_tests/low_level_api/base_analytic_negative_test_fixure.hpp +++ b/tools/tests/functional/negative_tests/low_level_api/base_analytic_negative_test_fixure.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TESTS_NEGATIVE_TESTS_BASE_ANALYTIC_NEGATIVE_TEST_FIXTURE_HPP_ -#define QPL_TESTS_NEGATIVE_TESTS_BASE_ANALYTIC_NEGATIVE_TEST_FIXTURE_HPP_ +#ifndef QPL_TOOLS_TESTS_FUNCTIONAL_NEGATIVE_TESTS_LOW_LEVEL_API_BASE_ANALYTIC_NEGATIVE_TEST_FIXTURE_HPP +#define QPL_TOOLS_TESTS_FUNCTIONAL_NEGATIVE_TESTS_LOW_LEVEL_API_BASE_ANALYTIC_NEGATIVE_TEST_FIXTURE_HPP #include "tn_common.hpp" @@ -183,4 +183,4 @@ class BaseAnalyticsNegativeTestFixture : public JobFixture { ASSERT_TRUE(ValidateCompressedInputErrorHandling()); \ } } // namespace qpl::test -#endif //QPL_TESTS_NEGATIVE_TESTS_BASE_ANALYTIC_NEGATIVE_TEST_FIXTURE_HPP_ +#endif //QPL_TOOLS_TESTS_FUNCTIONAL_NEGATIVE_TESTS_LOW_LEVEL_API_BASE_ANALYTIC_NEGATIVE_TEST_FIXTURE_HPP diff --git a/tools/tests/functional/negative_tests/low_level_api/tn_common.hpp b/tools/tests/functional/negative_tests/low_level_api/tn_common.hpp index 69f70f7c8..bdd81b82b 100644 --- a/tools/tests/functional/negative_tests/low_level_api/tn_common.hpp +++ b/tools/tests/functional/negative_tests/low_level_api/tn_common.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TESTS_FUNCTIONAL_NEGATIVE_TESTS_LOW_LEVEL_API_COMMON_H_ -#define QPL_TESTS_FUNCTIONAL_NEGATIVE_TESTS_LOW_LEVEL_API_COMMON_H_ +#ifndef QPL_TOOLS_TESTS_FUNCTIONAL_NEGATIVE_TESTS_LOW_LEVEL_API_TN_COMMON_HPP +#define QPL_TOOLS_TESTS_FUNCTIONAL_NEGATIVE_TESTS_LOW_LEVEL_API_TN_COMMON_HPP #include "gtest/gtest.h" @@ -18,4 +18,4 @@ #define QPL_LOW_LEVEL_API_NEGATIVE_TEST(test_suite_name, test_name) GTEST_TEST(tn_c_api_##test_suite_name, test_name) -#endif //QPL_TESTS_FUNCTIONAL_NEGATIVE_TESTS_LOW_LEVEL_API_COMMON_H_ +#endif //QPL_TOOLS_TESTS_FUNCTIONAL_NEGATIVE_TESTS_LOW_LEVEL_API_TN_COMMON_HPP diff --git a/tools/tests/functional/unit_tests/algorithmic/t_common.hpp b/tools/tests/functional/unit_tests/algorithmic/t_common.hpp index 147322fce..ba6448855 100644 --- a/tools/tests/functional/unit_tests/algorithmic/t_common.hpp +++ b/tools/tests/functional/unit_tests/algorithmic/t_common.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TESTS_FUNCTIONAL_UNIT_TESTS_API_COMMON_H_ -#define QPL_TESTS_FUNCTIONAL_UNIT_TESTS_API_COMMON_H_ +#ifndef QPL_TOOLS_TESTS_FUNCTIONAL_UNIT_TESTS_ALGORITMIC_T_COMMON_HPP +#define QPL_TOOLS_TESTS_FUNCTIONAL_UNIT_TESTS_ALGORITMIC_T_COMMON_HPP #include "gtest/gtest.h" @@ -17,4 +17,4 @@ #define QPL_UNIT_API_BAD_ARGUMENT_TEST(entity, test) TEST(QPL_UNIT_SUITE_NAME(tb, entity), test) -#endif //QPL_TESTS_FUNCTIONAL_UNIT_TESTS_API_COMMON_H_ +#endif //QPL_TOOLS_TESTS_FUNCTIONAL_UNIT_TESTS_ALGORITMIC_T_COMMON_HPP diff --git a/tools/tests/fuzzing/low-level-api/deflate_canned_dict_fuzz_test.hpp b/tools/tests/fuzzing/low-level-api/deflate_canned_dict_fuzz_test.hpp index fec694b44..6f0083d9b 100644 --- a/tools/tests/fuzzing/low-level-api/deflate_canned_dict_fuzz_test.hpp +++ b/tools/tests/fuzzing/low-level-api/deflate_canned_dict_fuzz_test.hpp @@ -3,6 +3,8 @@ * * SPDX-License-Identifier: MIT ******************************************************************************/ +#ifndef QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_CANNED_DICT_FUZZ_TEST_HPP +#define QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_CANNED_DICT_FUZZ_TEST_HPP #include #include @@ -113,3 +115,5 @@ static inline int deflate_canned_dict_fuzz(const uint8_t* Data, size_t Size, qpl return 0; } + +#endif //QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_CANNED_DICT_FUZZTEST_HPP diff --git a/tools/tests/fuzzing/low-level-api/deflate_canned_nodict_fuzz_test.hpp b/tools/tests/fuzzing/low-level-api/deflate_canned_nodict_fuzz_test.hpp index fd31e2124..228f05cbe 100644 --- a/tools/tests/fuzzing/low-level-api/deflate_canned_nodict_fuzz_test.hpp +++ b/tools/tests/fuzzing/low-level-api/deflate_canned_nodict_fuzz_test.hpp @@ -3,6 +3,8 @@ * * SPDX-License-Identifier: MIT ******************************************************************************/ +#ifndef QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_CANNED_NODICT_FUZZ_TEST_HPP +#define QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_CANNED_NODICT_FUZZ_TEST_HPP #include #include @@ -94,3 +96,5 @@ static inline int deflate_canned_nodict_fuzz(const uint8_t* Data, size_t Size, return 0; } + +#endif //QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_CANNED_NODICT_FUZZ_TEST_HPP diff --git a/tools/tests/fuzzing/low-level-api/deflate_dict_fuzz_test.hpp b/tools/tests/fuzzing/low-level-api/deflate_dict_fuzz_test.hpp index c22f1f326..d37fd396c 100644 --- a/tools/tests/fuzzing/low-level-api/deflate_dict_fuzz_test.hpp +++ b/tools/tests/fuzzing/low-level-api/deflate_dict_fuzz_test.hpp @@ -3,6 +3,8 @@ * * SPDX-License-Identifier: MIT ******************************************************************************/ +#ifndef QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_DICT_FUZZ_TEST_HPP +#define QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_DICT_FUZZ_TEST_HPP #include #include @@ -111,3 +113,4 @@ static inline int deflate_dict_fuzz(const uint8_t* Data, size_t Size, uint32_t c return 0; } +#endif //QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_DICT_FUZZ_TEST_HPP diff --git a/tools/tests/fuzzing/low-level-api/deflate_nodict_fuzz_test.hpp b/tools/tests/fuzzing/low-level-api/deflate_nodict_fuzz_test.hpp index 34afcf81f..1fa8fe8f1 100644 --- a/tools/tests/fuzzing/low-level-api/deflate_nodict_fuzz_test.hpp +++ b/tools/tests/fuzzing/low-level-api/deflate_nodict_fuzz_test.hpp @@ -3,6 +3,8 @@ * * SPDX-License-Identifier: MIT ******************************************************************************/ +#ifndef QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_NODICT_FUZZ_TEST_HPP +#define QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_NODICT_FUZZ_TEST_HPP #include #include @@ -64,3 +66,5 @@ static inline int deflate_nodict_fuzz(const uint8_t* Data, size_t Size, uint32_t return 0; } + +#endif //QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_NODICT_FUZZ_TEST_HPP diff --git a/tools/tests/fuzzing/low-level-api/deflate_static_dict_fuzz_test.hpp b/tools/tests/fuzzing/low-level-api/deflate_static_dict_fuzz_test.hpp index 4cd8789af..d908e01ce 100644 --- a/tools/tests/fuzzing/low-level-api/deflate_static_dict_fuzz_test.hpp +++ b/tools/tests/fuzzing/low-level-api/deflate_static_dict_fuzz_test.hpp @@ -3,6 +3,8 @@ * * SPDX-License-Identifier: MIT ******************************************************************************/ +#ifndef QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_STATIC_DICT_FUZZ_TEST_HPP +#define QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_STATIC_DICT_FUZZ_TEST_HPP #include #include @@ -117,3 +119,4 @@ static inline int deflate_static_dict_fuzz(const uint8_t* Data, size_t Size, qpl return 0; } +#endif //QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_STATIC_DICT_FUZZ_TEST_HPP diff --git a/tools/tests/fuzzing/low-level-api/deflate_static_nodict_fuzz_test.hpp b/tools/tests/fuzzing/low-level-api/deflate_static_nodict_fuzz_test.hpp index d4cd4be4a..e01b2ab28 100644 --- a/tools/tests/fuzzing/low-level-api/deflate_static_nodict_fuzz_test.hpp +++ b/tools/tests/fuzzing/low-level-api/deflate_static_nodict_fuzz_test.hpp @@ -3,6 +3,8 @@ * * SPDX-License-Identifier: MIT ******************************************************************************/ +#ifndef QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_STATIC_NODICT_FUZZ_TEST_HPP +#define QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_STATIC_NODICT_FUZZ_TEST_HPP #include #include @@ -94,3 +96,4 @@ static inline int deflate_static_nodict_fuzz(const uint8_t* Data, size_t Size, return 0; } +#endif //QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_DEFLATE_STATIC_NODICT_FUZZ_TEST_HPP diff --git a/tools/tests/fuzzing/low-level-api/filter_op_fuzz_test.hpp b/tools/tests/fuzzing/low-level-api/filter_op_fuzz_test.hpp index 4fc1b5280..92571ba4b 100644 --- a/tools/tests/fuzzing/low-level-api/filter_op_fuzz_test.hpp +++ b/tools/tests/fuzzing/low-level-api/filter_op_fuzz_test.hpp @@ -3,6 +3,8 @@ * * SPDX-License-Identifier: MIT ******************************************************************************/ +#ifndef QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_FILTER_OP_FUZZ_TEST_HPP +#define QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_FILTER_OP_FUZZ_TEST_HPP #include #include @@ -233,3 +235,4 @@ static inline int expand_test_case(const uint8_t* data_ptr, size_t size, qpl_par return 0; } +#endif //QPL_TOOLS_TESTS_FUZZING_LOW_LEVEL_API_FILTER_OP_FUZZ_TEST_HPP diff --git a/tools/tests/thread_tests/tt_common.hpp b/tools/tests/thread_tests/tt_common.hpp index 9ecf92cc3..ef79c0548 100644 --- a/tools/tests/thread_tests/tt_common.hpp +++ b/tools/tests/thread_tests/tt_common.hpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ -#ifndef QPL_TESTS_FUNCTIONAL_STRESS_THREAD_TESTS_LOW_LEVEL_API_COMMON_H_ -#define QPL_TESTS_FUNCTIONAL_STRESS_THREAD_TESTS_LOW_LEVEL_API_COMMON_H_ +#ifndef QPL_TOOLS_TESTS_THREAD_TESTS_TT_COMMON_HPP +#define QPL_TOOLS_TESTS_THREAD_TESTS_TT_COMMON_HPP // tests_common #include "check_result.hpp" @@ -14,4 +14,4 @@ #define QPL_LOW_LEVEL_API_ALGORITHMIC_TEST(operation, test) TEST(QPL_LOW_LEVEL_SUITE_NAME(tt, operation), test) -#endif //QPL_TESTS_FUNCTIONAL_STRESS_THREAD_TESTS_LOW_LEVEL_API_COMMON_H_ +#endif //QPL_TOOLS_TESTS_THREAD_TESTS_TT_COMMON_HPP