7 #ifndef _FCITX_UTILS_TESTING_H_ 8 #define _FCITX_UTILS_TESTING_H_ 13 #include <fcitx-utils/fcitxutils_export.h> 54 FCITXUTILS_EXPORT
void 56 const std::vector<std::string> &addonDirs,
57 const std::vector<std::string> &dataDirs);
59 FCITXUTILS_EXPORT
void 60 setupTestingEnvironmentPath(
const std::filesystem::path &testBinaryDir,
61 const std::vector<std::filesystem::path> &addonDirs,
62 const std::vector<std::filesystem::path> &dataDirs);
66 #endif // _FCITX_UTILS_TESTING_H_
void setupTestingEnvironment(const std::string &testBinaryDir, const std::vector< std::string > &addonDirs, const std::vector< std::string > &dataDirs)
Set corresponding environment variable to make sure fcitx can be run properly for testing...