EpIC 1.1.0
Monte Carlo generator for exclusive processes
Loading...
Searching...
No Matches
TestingService.h
1/*
2 * TestingService.h
3 *
4 * Created on: Feb 7, 2021
5 * Author: Pawel Sznajder (NCBJ)
6 */
7
8#ifndef SERVICES_TESTINGSERVICE_H_
9#define SERVICES_TESTINGSERVICE_H_
10
11#include <partons/BaseObject.h>
12#include <string>
13#include <vector>
14
15namespace EPIC {
16
26class TestingService : public PARTONS::BaseObject {
27
28public:
33
37 virtual ~TestingService();
38
42 bool runTest(bool stopIfFailed = true) const;
43
47 void registerModuleObject(const std::string &moduleName);
48
49private:
54
58 static TestingService *m_pInstance;
59
63 std::vector<std::string> m_modules;
64};
65
66} /* namespace EPIC */
67
68#endif /* SERVICES_TESTINGSERVICE_H_ */
Service used for automatic test of modules.
Definition: TestingService.h:26
virtual ~TestingService()
void registerModuleObject(const std::string &moduleName)
static TestingService * getInstance()
bool runTest(bool stopIfFailed=true) const