11 #ifndef TEST_INTERFACE_OBSAUXCOVARIANCE_H_ 12 #define TEST_INTERFACE_OBSAUXCOVARIANCE_H_ 16 #define BOOST_TEST_NO_MAIN 17 #define BOOST_TEST_ALTERNATIVE_INIT_API 18 #define BOOST_TEST_DYN_LINK 19 #include <boost/test/unit_test.hpp> 21 #include <boost/noncopyable.hpp> 22 #include <boost/scoped_ptr.hpp> 24 #include "eckit/config/Configuration.h" 39 return theObsAuxCovarianceFixture;
48 boost::scoped_ptr<const eckit::LocalConfiguration>
conf_;
57 boost::scoped_ptr<Covariance_> bias(
new Covariance_(Test_::config()));
58 BOOST_CHECK(bias.get());
61 BOOST_CHECK(!bias.get());
81 boost::unit_test::test_suite * ts = BOOST_TEST_SUITE(
"interface/ObsAuxCovariance");
83 ts->add(BOOST_TEST_CASE(&testConstructor<MODEL>));
85 boost::unit_test::framework::master_test_suite().add(ts);
93 #endif // TEST_INTERFACE_OBSAUXCOVARIANCE_H_
void register_tests() const
static ObsAuxCovarianceFixture< MODEL > & getInstance()
~ObsAuxCovarianceFixture()
std::string testid() const
static const eckit::Configuration & config()
ObsAuxCovarianceFixture()
static const eckit::Configuration & config()
virtual ~ObsAuxCovariance()
boost::scoped_ptr< const eckit::LocalConfiguration > conf_