mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
[traffic] Introduce test mode for traffic manager
Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
@@ -98,11 +98,22 @@ class Loader;
|
||||
/// build version for screenshots.
|
||||
//#define FIXED_LOCATION
|
||||
|
||||
/**
|
||||
* @brief Initialization parameters for the framework.
|
||||
*
|
||||
* `FrameworkParams` is intended for parameters which are hardcoded rather than read from a
|
||||
* configuration. It allows test cases to run on a tailored configuration.
|
||||
*/
|
||||
struct FrameworkParams
|
||||
{
|
||||
bool m_enableDiffs = true;
|
||||
size_t m_numSearchAPIThreads = 1;
|
||||
|
||||
/**
|
||||
* @brief Whether the traffic manager should start in test mode.
|
||||
*/
|
||||
bool m_trafficTestMode = false;
|
||||
|
||||
FrameworkParams() = default;
|
||||
FrameworkParams(bool enableDiffs)
|
||||
: m_enableDiffs(enableDiffs)
|
||||
|
||||
Reference in New Issue
Block a user