OpenMesh
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
unittests_common.hh
1 #ifndef INCLUDE_UNITTESTS_COMMON_HH
2 #define INCLUDE_UNITTESTS_COMMON_HH
3 
4 #include <gtest/gtest.h>
5 #include <OpenMesh/Core/IO/MeshIO.hh>
6 
7 #include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
8 
10 };
11 
13 
14 /*
15  * Simple test setting.
16  */
17 
18 class OpenMeshBase : public testing::Test {
19 
20  protected:
21 
22  // This function is called before each test is run
23  virtual void SetUp() {
24 
25  // Do some initial stuff with the member data here...
26  }
27 
28  // This function is called after all tests are through
29  virtual void TearDown() {
30 
31  // Do some final stuff with the member data here...
32  }
33 
34  // This member will be accessible in all tests
35  Mesh mesh_;
36 };
37 
38 #endif // INCLUDE GUARD

acg pic Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .