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