Class TestEnvironment
Defined in File TestEnvironment.h
Class Documentation
-
class TestEnvironment
Public Functions
-
void SetTargetDbPath(const std::string &target_db_path)
Sets the path to the target database file.
- Parameters:
target_db_path – The path to the target database.
-
XdkDevice &GetXdkDevice()
Gets the XdkDevice instance.
- Throws:
ExpKitError – if the xdk kernel module is not available.
- Returns:
A reference to the XdkDevice instance.
-
TargetDb &GetTargetDb()
Gets the Target database instance (which contains all the information of the targets).
- Throws:
ExpKitError – if the target db path was not specified.
- Returns:
A reference to the TargetDb instance.
-
Target &GetTarget()
Gets the automatically detected Target instance.
- Throws:
ExpKitError – if auto-detection fails or the target DB path is not set.
- Returns:
A reference to the Target instance.
-
void SetTargetDbPath(const std::string &target_db_path)