DebugVariables cleanup

- small cleanup
- files renaming to match convention

Change-Id: Iff9ed3a509001bcf6f154fc35f6d241ee9a968ae
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2018-10-26 14:13:04 +02:00
committed by sys_ocldev
parent ebe851e6d9
commit 6aa9b36a7b
10 changed files with 14 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ set(IGDRCL_SRCS_tests_helpers
${CMAKE_CURRENT_SOURCE_DIR}/string_to_hash_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/string_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/task_information_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/TestDebugVariables.inl
${CMAKE_CURRENT_SOURCE_DIR}/test_debug_variables.inl
${CMAKE_CURRENT_SOURCE_DIR}/timestamp_packet_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/uint16_sse4_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/unit_test_helper.h

View File

@@ -719,7 +719,7 @@ TEST(DebugSettingsManager, WithoutDebugFunctionality) {
bool isEqual = TestDebugFlagsChecker::isEqual(debugManager.flags.variableName.get(), defaultValue); \
EXPECT_TRUE(isEqual); \
}
#include "DebugVariables.inl"
#include "debug_variables.inl"
#undef DECLARE_DEBUG_VARIABLE
// test kernel dumping

View File

@@ -24,7 +24,7 @@ TEST(SettingsFileReader, givenTestFileWithDefaultValuesWhenTheyAreQueriedThenDef
compareSuccessful = (defaultValue == reader->getSetting(#variableName, defaultValue)); \
EXPECT_TRUE(compareSuccessful) << #variableName; \
debugVariableCount++;
#include "DebugVariables.inl"
#include "debug_variables.inl"
#undef DECLARE_DEBUG_VARIABLE
size_t mapCount = reader->getValueSettingsCount() + reader->getStringSettingsCount();
@@ -47,6 +47,6 @@ TEST(SettingsFileReader, GetSetting) {
EXPECT_TRUE(true); \
} \
}
#include "DebugVariables.inl"
#include "debug_variables.inl"
#undef DECLARE_DEBUG_VARIABLE
}

View File

@@ -62,7 +62,7 @@ TEST(SettingsFileReader, GetStringSettingFromFile) {
ASSERT_NE(nullptr, reader);
string retValue;
// StringTestKey is defined in file: unit_tests\helpers\TestDebugVariables.inl
// StringTestKey is defined in file: unit_tests\helpers\test_debug_variables.inl
string returnedStringValue = reader->getSetting("StringTestKey", retValue);
// "Test Value" is a value that should be read from file defined in stringTestPath member
@@ -76,7 +76,7 @@ TEST(SettingsFileReader, GetStringSettingFromFile) {
EXPECT_TRUE(true); \
} \
}
#include "unit_tests/helpers/TestDebugVariables.inl"
#include "unit_tests/helpers/test_debug_variables.inl"
#undef DECLARE_DEBUG_VARIABLE
}