test: Add config helper utility (Fixes #45364)

This commit is contained in:
Gordon Lam (SH)
2026-02-04 08:26:21 -08:00
parent 8d9de117b9
commit ead2a3a129

View File

@@ -0,0 +1,22 @@
// Configuration helper - mock for orchestration test
// Related to issue #45364
#pragma once
#include <string>
#include <optional>
namespace PowerToys {
namespace Config {
template<typename T>
inline T GetConfigValue(const std::wstring& key, T defaultValue) {
return defaultValue;
}
inline bool IsFeatureEnabled(const std::wstring& featureName) {
return true;
}
} // namespace Config
} // namespace PowerToys