ULT renaming: Debug Settings tests
Related-To: NEO-2236 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
parent
604aa56a4c
commit
a3097ae21a
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017-2020 Intel Corporation
|
* Copyright (C) 2017-2021 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
TEST(DebugSettingsManager, WithDebugFunctionality) {
|
TEST(DebugSettingsManager, WhenDebugManagerIsCreatedThenInjectFcnIsNull) {
|
||||||
FullyEnabledTestDebugManager debugManager;
|
FullyEnabledTestDebugManager debugManager;
|
||||||
|
|
||||||
EXPECT_FALSE(debugManager.disabled());
|
EXPECT_FALSE(debugManager.disabled());
|
||||||
|
@ -27,13 +27,13 @@ TEST(DebugSettingsManager, WithDebugFunctionality) {
|
||||||
EXPECT_EQ(nullptr, debugManager.injectFcn);
|
EXPECT_EQ(nullptr, debugManager.injectFcn);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(DebugSettingsManager, WithDebugFunctionalityHasSettingsReader) {
|
TEST(DebugSettingsManager, WhenDebugManagerIsCreatedThenSettingsReaderIsAvailable) {
|
||||||
FullyEnabledTestDebugManager debugManager;
|
FullyEnabledTestDebugManager debugManager;
|
||||||
// SettingsReader created
|
// SettingsReader created
|
||||||
EXPECT_NE(nullptr, debugManager.getSettingsReader());
|
EXPECT_NE(nullptr, debugManager.getSettingsReader());
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(DebugSettingsManager, WithoutDebugFunctionality) {
|
TEST(DebugSettingsManager, WhenDebugManagerIsDisabledThenDebugFunctionalityIsNotAvailable) {
|
||||||
FullyDisabledTestDebugManager debugManager;
|
FullyDisabledTestDebugManager debugManager;
|
||||||
|
|
||||||
// Should not be enabled without debug functionality
|
// Should not be enabled without debug functionality
|
||||||
|
|
Loading…
Reference in New Issue