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