ATLAS Offline Software
Loading...
Searching...
No Matches
UnitTestConfig.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef EVENT_LOOP__UNIT_TEST_CONFIG_H
9#define EVENT_LOOP__UNIT_TEST_CONFIG_H
10
12
13#include <EventLoop/Global.h>
15#include <memory>
16
17namespace EL
18{
26
28 {
34 public:
35 std::shared_ptr<Driver> m_driver;
36
37
41 public:
42 virtual ~UnitTestConfig () noexcept = default;
43
44
52 public:
53 virtual std::unique_ptr<SH::DiskWriter>
54 make_file_writer (const std::string& name) const;
55
56
62 public:
63 virtual void setupJob (Job& job) const;
64 };
65}
66
67#endif
Definition Job.h:51
STL class.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition PrunDriver.h:15
STL namespace.
a class describing how to run the jobs for driver unit tests
std::shared_ptr< Driver > m_driver
the driver being tested
virtual void setupJob(Job &job) const
apply extra job configuration parameters
virtual ~UnitTestConfig() noexcept=default
virtual destructor for virtual base class
virtual std::unique_ptr< SH::DiskWriter > make_file_writer(const std::string &name) const
create a file write for the given file