ifw-core 7.0.0
 
Loading...
Searching...
No Matches
ifw::core::utils::base::testutils Namespace Reference

Functions

std::string GetResDir (const std::string &module_path, const std::string &test_res_dir)
 Derives the "resource" directory from the current working point.
 
void SetRootEnvVars (const std::string &module_path, const std::string &test_res_dir, const std::vector< std::string > &cfgpath_dirs)
 Set the root environment variables: CFGPATH, INTROOT, DATAROOT.
 

Function Documentation

◆ GetResDir()

std::string ifw::core::utils::base::testutils::GetResDir ( const std::string & module_path,
const std::string & test_res_dir )

Derives the "resource" directory from the current working point.

Parameters
module_pathE.g.: "ifw-hl/</utils/file".

◆ SetRootEnvVars()

void ifw::core::utils::base::testutils::SetRootEnvVars ( const std::string & module_path,
const std::string & test_res_dir,
const std::vector< std::string > & cfgpath_dirs )

Set the root environment variables: CFGPATH, INTROOT, DATAROOT.