11 #ifndef TEST_TESTENVIRONMENT_H_ 12 #define TEST_TESTENVIRONMENT_H_ 14 #include <boost/noncopyable.hpp> 15 #include <boost/scoped_ptr.hpp> 17 #include "eckit/config/LocalConfiguration.h" 32 return theTestEnvironment;
45 boost::scoped_ptr<const eckit::LocalConfiguration>
config_;
50 #endif // TEST_TESTENVIRONMENT_H_ TestEnvironment is a singleton that defines the unit testing enviroment.
static TestEnvironment & getInstance()
static const eckit::Configuration & config()
void setup(const eckit::Configuration &conf)
boost::scoped_ptr< const eckit::LocalConfiguration > config_