00001
00002
00003
00004
00005
00006
00007
00008 #ifndef incTEST_BASE
00009 #define incTEST_BASE
00010
00011
00012 #include <string>
00013
00014 namespace ph {
00015 namespace common {
00016 class object_base;
00017 };
00018 };
00019
00020 namespace persist_test {
00021
00022 class test_base
00023 {
00024 public:
00025 test_base(const std::string &infile, const std::string &matchfile) :
00026 _infile(infile), _matchfile(matchfile)
00027 {};
00028 virtual ~test_base() {};
00029
00030 void dotest();
00031
00032 virtual void write_output(ph::common::object_base *obj,
00033 const std::string &matchfile) = 0;
00034
00035 private:
00036 std::string _infile;
00037 std::string _matchfile;
00038 };
00039
00040 };
00041
00042 #endif // incTEST_BASE