libMesh
point_test.C
Go to the documentation of this file.
1 // Ignore unused parameter warnings coming from cppunit headers
2 #include <libmesh/ignore_warnings.h>
3 #include <cppunit/extensions/HelperMacros.h>
4 #include <cppunit/TestCase.h>
5 #include <libmesh/restore_warnings.h>
6 
7 #include <libmesh/point.h>
8 
9 #include "point_test.h"
10 
11 // THE CPPUNIT_TEST_SUITE_END macro expands to code that involves
12 // std::auto_ptr, which in turn produces -Wdeprecated-declarations
13 // warnings. These can be ignored in GCC as long as we wrap the
14 // offending code in appropriate pragmas. We can't get away with a
15 // single ignore_warnings.h inclusion at the beginning of this file,
16 // since the libmesh headers pull in a restore_warnings.h at some
17 // point. We also don't bother restoring warnings at the end of this
18 // file since it's not a header.
19 #include <libmesh/ignore_warnings.h>
20 
21 using namespace libMesh;
22 
23 class PointTest : public PointTestBase<Point> {
24 public:
25  CPPUNIT_TEST_SUITE( PointTest );
26 
27  POINTTEST
28 
29  CPPUNIT_TEST_SUITE_END();
30 };
31 
The libMesh namespace provides an interface to certain functionality in the library.
CPPUNIT_TEST_SUITE_REGISTRATION(PointTest)