5 #include <nx/kit/ini_config.h> 8 namespace vms_server_plugins {
11 namespace error_reporting {
17 NX_INI_FLAG(
false, enableOutput,
"");
19 NX_INI_FLAG(
false, errorOnPushCompressedFrame,
20 "Produce an error on pushCompressedFrame() every 100 frames.");
25 NX_INI_FLAG(
false, returnIncorrectIntegrationManifest,
26 "Return incorrect Integration manifest.");
27 NX_INI_FLAG(
false, returnIncorrectEngineManifest,
28 "Return incorrect Engine manifest.");
29 NX_INI_FLAG(
false, returnIncorrectDeviceAgentManifest,
30 "Return incorrect DeviceAgent manifest.");
35 NX_INI_FLAG(
false, returnNullOnEngineCreation,
36 "Return null instead of Engine instance on initialization.");
37 NX_INI_FLAG(
false, returnErrorOnEngineCreation,
38 "Return an error instead of Engine instance on initialization.");
39 NX_INI_FLAG(
false, returnErrorOnDeviceAgentCreation,
40 "Return an error instead of DeviceAgent instance on initialization.");
41 NX_INI_FLAG(
false, returnNullOnDeviceAgentCreation,
42 "Return null pointer instead of DeviceAgent instance on initialization.");
44 static constexpr
const char* kNoError =
"noError";
45 static constexpr
const char* kErrorInsteadOfSettingsResponse =
46 "errorInsteadOfSettingsResponse";
47 static constexpr
const char* kSettingsResponseWithError =
"settingsResponseWithError";
52 NX_INI_STRING(kNoError, returnErrorFromEngineSetSettings,
53 "Return an Error from Engine on setSettings().\n" 54 "String value \"noError\": No error.\n" 55 "String value \"errorInsteadOfSettingsResponse\": Return an error instead of Settings " 56 "Response from the Engine on setting Settings.\n" 57 "String value \"settingsResponseWithError\": Return Settings Response containing an error " 58 "from the Engine on setting Settings.");
61 NX_INI_STRING(kNoError, returnErrorFromEngineActiveSettingChange,
62 "Return an Error from Engine on setting Active Settings.\n" 63 "String value \"noError\": No error.\n" 64 "String value \"errorInsteadOfSettingsResponse\": Return an error instead of Settings " 65 "Response from Engine on setting Active Settings.\n" 66 "String value \"settingsResponseWithError\": Return Settings Response containing an error " 67 "from Engine on setting Active Settings.");
70 NX_INI_STRING(kNoError, returnErrorFromEngineOnGetIntegrationSideSettings,
71 "Return an Error from Engine on setting Integration-side Settings.\n" 72 "String value \"noError\": No error.\n" 73 "String value \"errorInsteadOfSettingsResponse\": Return an error instead of Settings " 74 "Response from Engine's Integration-side Settings.\n" 75 "String value \"settingsResponseWithError\": Return Settings Response containing an error " 76 "from Engine's Integration-side Settings.");
81 NX_INI_STRING(kNoError, returnErrorFromDeviceAgentSetSettings,
82 "Return an Error from DeviceAgent on setting Settings.\n" 83 "String value \"noError\": No error.\n" 84 "String value \"errorInsteadOfSettingsResponse\": Return an error instead of Settings " 85 "Response from DeviceAgent on setting Settings.\n" 86 "String value \"settingsResponseWithError\": Return Settings Response containing an error " 87 "from DeviceAgent on setting Settings.");
90 NX_INI_STRING(kNoError, returnErrorFromDeviceAgentActiveSettingChange,
91 "Return an Error from DeviceAgent on setting Active Settings.\n" 92 "String value \"noError\": No error.\n" 93 "String value \"errorInsteadOfSettingsResponse\": Return an error instead of Settings " 94 "Response from DeviceAgent on setting Active Settings." 95 "String value \"settingsResponseWithError\": Return Settings Response containing an error " 96 "from DeviceAgent on setting Active Settings.");
98 NX_INI_STRING(kNoError, returnErrorFromDeviceAgentOnGetIntegrationSideSettings,
99 "Return an Error from DeviceAgent on setting Integration-side Settings.\n" 100 "String value \"noError\": No error.\n" 101 "String value \"errorInsteadOfSettingsResponse\": Return an error instead of Settings " 102 "Response from DeviceAgent's Integration-side Settings.\n" 103 "String value \"settingsResponseWithError\": Return Settings Response containing an error " 104 "from DeviceAgent's Integration-side Settings.");
Definition: ini_config.h:77
Definition: stub_analytics_plugin_error_reporting_ini.h:13
static TestIni & ini()
Definition: ini_config_ut.cpp:69
Definition: apple_utils.h:6
IniConfig(const char *iniFile)
Definition: ini_config.cpp:541
void reload()
Definition: ini_config.cpp:589