ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
ctd::system::testUtils Namespace Reference

Functions

std::string GetResDir (const std::string &module_path, const std::string &res_dir="test/resource")
 Derives the "resource" directory from the current working point. More...
 
void SetRootEnvVars (const std::string &module_path, const std::string &res_dir="test/resource")
 Set the root environment variables: CFGROOT, INTROOT, DATAROOT. More...
 

Function Documentation

std::string ctd::system::testUtils::GetResDir ( const std::string &  module_path,
const std::string &  res_dir = "test/resource" 
)

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

Parameters
module_pathE.g.: "ifw/ctd/file".
void ctd::system::testUtils::SetRootEnvVars ( const std::string &  module_path,
const std::string &  res_dir = "test/resource" 
)

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