Go to the documentation of this file.00001 #ifndef CondTools_DQM_TestBase_h
00002 #define CondTools_DQM_TestBase_h
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include <string>
00013 #include "CoralKernel/Context.h"
00014 #include "CoralBase/MessageStream.h"
00015
00016 namespace coral {
00017 class IConnection;
00018 class ISession;
00019 }
00020
00021 class TestBase {
00022 public:
00023 TestBase();
00024 virtual ~TestBase();
00025 virtual void run() = 0;
00026 void setVerbosityLevel( coral::MsgLevel level ) ;
00027 protected:
00028 coral::ISession* connect( const std::string& connectionString,
00029 const std::string& user,
00030 const std::string& password );
00031
00032 private:
00033 coral::IConnection* m_connection;
00034 };
00035
00036 #endif