ATLAS Offline Software
StorageSvc_BasicFunctionality/TestDriver.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TESTDRIVER_H
6 #define TESTDRIVER_H
7 
8 #include "StorageSvc/DbType.h"
9 
10 #include <vector>
11 #include <string>
12 
13 class TestDriver {
14 public:
17  void loadLibraries( const std::vector<std::string>& libraries );
18  void testWriting();
19  void testReading();
20 
21  // default values for this test
22  std::string m_filename = "BF.pool_test.root";
23  std::string m_objContainerName = "MyObjContainer";
24  std::string m_strContainerName = "MyString";
25  int m_nObjects = 10;
26 
27  pool::DbType m_storageType = pool::ROOTTREE_StorageType;
28  bool m_commitEveryRow = false;
29 
30 };
31 
32 #endif
TestDriver::loadLibraries
void loadLibraries(const std::vector< std::string > &libraries)
TestDriver::m_commitEveryRow
bool m_commitEveryRow
Definition: StorageSvc_BasicFunctionality/TestDriver.h:28
TestDriver
Definition: StorageSvc_AuxStore/TestDriver.h:11
DbType.h
TestDriver::TestDriver
TestDriver()
TestDriver::testWriting
void testWriting()
pool::DbType
Definition: DbType.h:31
TestDriver::m_storageType
pool::DbType m_storageType
Definition: StorageSvc_BasicFunctionality/TestDriver.h:27
TestDriver::m_strContainerName
std::string m_strContainerName
Definition: StorageSvc_BasicFunctionality/TestDriver.h:24
TestDriver::testReading
void testReading()
TestDriver::m_nObjects
int m_nObjects
Definition: StorageSvc_BasicFunctionality/TestDriver.h:25
TestDriver::~TestDriver
~TestDriver()
TestDriver::m_objContainerName
std::string m_objContainerName
Definition: StorageSvc_BasicFunctionality/TestDriver.h:23
TestDriver::m_filename
std::string m_filename
Definition: StorageSvc_BasicFunctionality/TestDriver.h:22