mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
test: Add config helper utility (Fixes #45364)
This commit is contained in:
22
src/common/utils/TestConfigHelper.h
Normal file
22
src/common/utils/TestConfigHelper.h
Normal 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
|
||||
Reference in New Issue
Block a user