|
enum class | SkipConfiguration { DEFAULT
, SKIPPED
, UNSKIPPED
} |
|
enum class | NetworkConfigMode { OFF
, AUTOMATIC
, DHCP
, STATIC
} |
|
|
| RuntimeConfig (const RuntimeConfig &)=delete |
|
bool | LoadConfig (const char *config_file_path, std::vector< std::string > &errors) |
|
bool | LoadConfigBuffer (const std::string &config_content, std::vector< std::string > &errors) |
|
bool | ApplyConfig (std::vector< std::shared_ptr< TestSuite > > &test_suites, std::vector< std::string > &errors) |
|
bool | enable_progress_log () const |
|
bool | disable_autorun () const |
|
bool | enable_autorun_immediately () const |
|
bool | enable_shutdown_on_completion () const |
|
bool | enable_pgraph_region_diff () const |
|
bool | skip_tests_by_default () const |
|
uint32_t | delay_milliseconds_between_tests () const |
|
uint32_t | ftp_server_ip () const |
|
uint16_t | ftp_server_port () const |
|
const std::string & | ftp_user () const |
|
const std::string & | ftp_password () const |
|
uint32_t | ftp_timeout_milliseconds () const |
|
NetworkConfigMode | network_config_mode () const |
|
uint32_t | static_ip () const |
|
uint32_t | static_gateway () const |
|
uint32_t | static_netmask () const |
|
uint32_t | static_dns_1 () const |
|
uint32_t | static_dns_2 () const |
|
const std::string & | output_directory_path () const |
|
|
static std::string | SanitizePath (const std::string &path) |
|
◆ ApplyConfig()
bool RuntimeConfig::ApplyConfig |
( |
std::vector< std::shared_ptr< TestSuite > > & |
test_suites, |
|
|
std::vector< std::string > & |
errors |
|
) |
| |
Processes the JSON config file at the given path and adjusts the given set of test suites. Returns false if parsing fails for any reason.
◆ LoadConfig()
bool RuntimeConfig::LoadConfig |
( |
const char * |
config_file_path, |
|
|
std::vector< std::string > & |
errors |
|
) |
| |
Loads the JSON config file from the given path.
- Parameters
-
config_file_path | - The path to the file containing the JSON config. |
errors | - Vector of strings into which any error messages will be placed. |
- Returns
- true on success, false on failure
◆ LoadConfigBuffer()
bool RuntimeConfig::LoadConfigBuffer |
( |
const std::string & |
config_content, |
|
|
std::vector< std::string > & |
errors |
|
) |
| |
Loads the JSON config file from the given string buffer.
- Parameters
-
config_content | - String containing the JSON config. |
errors | - Vector of strings into which any error messages will be placed. |
- Returns
- true on success, false on failure
The documentation for this class was generated from the following files: