11 #ifndef TEST_INTERFACE_GEOMETRY_H_    12 #define TEST_INTERFACE_GEOMETRY_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 theGeometryFixture;
    48   boost::scoped_ptr<const eckit::LocalConfiguration> 
conf_;
    56   BOOST_CHECK(geom.get());
    59   BOOST_CHECK(!geom.get());
    68   boost::scoped_ptr<Geometry_> other(
new Geometry_(*geom));
    69   BOOST_CHECK(other.get());
    72   BOOST_CHECK(!other.get());
    74   BOOST_CHECK(geom.get());
    87     boost::unit_test::test_suite * ts = BOOST_TEST_SUITE(
"interface/Geometry");
    89     ts->add(BOOST_TEST_CASE(&testConstructor<MODEL>));
    90     ts->add(BOOST_TEST_CASE(&testCopyConstructor<MODEL>));
    92     boost::unit_test::framework::master_test_suite().add(ts);
   100 #endif  // TEST_INTERFACE_GEOMETRY_H_ 
static const eckit::Configuration & config()
 
void register_tests() const
 
std::string testid() const
 
static const eckit::Configuration & getConfig()
 
void testCopyConstructor()
 
boost::scoped_ptr< const eckit::LocalConfiguration > conf_
 
static GeometryFixture< MODEL > & getInstance()