00001 #ifdef __UTEST 00002 #ifndef DATAACCESSTEST 00003 #define DATAACCESSTEST 00004 00005 #include "DataAccess.hpp" 00006 00007 namespace ztt { namespace dcs { 00008 00009 class DataAccessTest { 00010 public: 00011 DataAccessTest(); 00012 00013 ~DataAccessTest(); 00014 00015 bool testConnectionPool(); 00016 00017 bool testConnection(); 00018 00019 bool testKillConnection(); 00020 00021 bool testgetDbInfoFromFile(); 00022 00023 bool testAll(); 00024 }; 00025 00026 }} 00027 00028 #endif 00029 #endif