p≡p engine FORK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
859 B

#ifndef ENGINE_TEST_SUITE_H
#define ENGINE_TEST_SUITE_H
#include <cpptest-suite.h>
#include <string>
#include "pEpEngine.h"
using namespace std;
class EngineTestSuite : public Test::Suite {
public:
EngineTestSuite(string suitename, string test_home_dir);
protected:
PEP_SESSION session;
string test_home;
string prev_gpg_home;
string name;
virtual void setup();
virtual void tear_down();
void set_full_env();
void restore_full_env();
void initialise_test_home();
private:
static int util_delete_filepath(const char *filepath,
const struct stat *file_stat,
int ftw_info,
struct FTW * ftw_struct);
};
#endif