ATLAS Offline Software
Loading...
Searching...
No Matches
UnitTestDir.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef ROOT_CORE_UTILS_UNIT_TEST_DIR_HH
8#define ROOT_CORE_UTILS_UNIT_TEST_DIR_HH
9
12
13
14
15#include <string>
16
17namespace RCU
18{
20 {
21 //
22 // public interface
23 //
24
29 public:
30 UnitTestDir (const std::string& package, const std::string& name);
31
32
34 public:
35 UnitTestDir (const UnitTestDir&) = delete;
37
38
41 public:
42 ~UnitTestDir ();
43
44
47 public:
48 const std::string& path () const;
49
50
53 public:
54 bool cleanup () const;
55 void cleanup (bool val_cleanup);
56
57
58
59 //
60 // private interface
61 //
62
64 private:
65 std::string m_path;
66 private:
68 };
69}
70
71#endif
UnitTestDir(const UnitTestDir &)=delete
rationale: deleted to avoid copying
const std::string & path() const
description: the path to the directory guarantee: no-fail
UnitTestDir & operator=(const UnitTestDir &)=delete
UnitTestDir(const std::string &package, const std::string &name)
effects: standard constructor guarantee: strong failures: out of memory failures: directory creation ...
~UnitTestDir()
effects: standard destructor guarantee: no-fail
std::string m_path
description: members directly corresponding to accessors
Definition UnitTestDir.h:65
bool cleanup() const
description: whether we clean up on completion guarantee: no-fail
This module defines a variety of assert style macros.
Definition Assert.cxx:23