11 #ifndef TEST_TESTENVIRONMENT_H_
12 #define TEST_TESTENVIRONMENT_H_
16 #include <boost/noncopyable.hpp>
18 #include "eckit/config/LocalConfiguration.h"
33 return theTestEnvironment;
36 void setup(
const eckit::Configuration & conf) {
37 config_.reset(
new eckit::LocalConfiguration(conf));
46 std::unique_ptr<const eckit::Configuration>
config_;
TestEnvironment is a singleton that defines the unit testing enviroment.
static const eckit::Configuration & config()
void setup(const eckit::Configuration &conf)
static TestEnvironment & getInstance()
std::unique_ptr< const eckit::Configuration > config_