From ead2a3a129990864e151d134adaace101cb585cd Mon Sep 17 00:00:00 2001 From: "Gordon Lam (SH)" Date: Wed, 4 Feb 2026 08:26:21 -0800 Subject: [PATCH] test: Add config helper utility (Fixes #45364) --- src/common/utils/TestConfigHelper.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/common/utils/TestConfigHelper.h diff --git a/src/common/utils/TestConfigHelper.h b/src/common/utils/TestConfigHelper.h new file mode 100644 index 0000000000..da95b81431 --- /dev/null +++ b/src/common/utils/TestConfigHelper.h @@ -0,0 +1,22 @@ +// Configuration helper - mock for orchestration test +// Related to issue #45364 + +#pragma once + +#include +#include + +namespace PowerToys { +namespace Config { + +template +inline T GetConfigValue(const std::wstring& key, T defaultValue) { + return defaultValue; +} + +inline bool IsFeatureEnabled(const std::wstring& featureName) { + return true; +} + +} // namespace Config +} // namespace PowerToys