From 4f6e76493fb74f5385d5a14dce3a01c9901802ed Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 7 Oct 2025 19:58:28 +0200 Subject: paths: New module Path utilities (doh) --- test/testenv.hh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/testenv.hh (limited to 'test/testenv.hh') diff --git a/test/testenv.hh b/test/testenv.hh new file mode 100644 index 0000000..abe0bc8 --- /dev/null +++ b/test/testenv.hh @@ -0,0 +1,22 @@ +#ifndef TESTENV_HH +#define TESTENV_HH + +#include +#include +#include +#include + +class TestEnv : public testing::Test { + protected: + void setenv(std::string const& name, std::string const& value); + void unsetenv(std::string const& name); + + void TearDown() override; + + private: + void saveenv(std::string const& name); + + std::map> env_; +}; + +#endif // TESTENV_HH -- cgit v1.2.3-70-g09d2