]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Fix compilation errors on Windows platform.
authorrnv <rnv@opencascade.com>
Tue, 25 Feb 2014 14:30:21 +0000 (18:30 +0400)
committerrnv <rnv@opencascade.com>
Tue, 25 Feb 2014 14:30:50 +0000 (18:30 +0400)
src/INTERP_KERNELTest/CppUnitTest.hxx
src/INTERP_KERNELTest/ThreeDSurfProjectionTest.cxx
src/INTERP_KERNELTest/ThreeDSurfProjectionTest.hxx

index 465f4a794c2f1a79541d569b6249bd72c84e489d..99c4d0ec1756f53bfd648468e144228540b55787 100644 (file)
 
 #include <cppunit/extensions/HelperMacros.h>
 
+#include "InterpKernelTestExport.hxx"
+
 /**
  * \brief Class tested by TestBogusClass : not very useful
  */
-class BogusClass {
+class INTERPKERNELTEST_EXPORT BogusClass {
   friend class TestBogusClass;
 
 public:
@@ -41,7 +43,7 @@ private:
  * \brief Class used to figure out CppUnit : not very useful
  *
  */
-class TestBogusClass : public CppUnit::TestFixture
+class INTERPKERNELTEST_EXPORT TestBogusClass : public CppUnit::TestFixture
 {
 
   CPPUNIT_TEST_SUITE( TestBogusClass );
index 5d66b9d19344267e12c6020698d341fddf64dd4e..41d340cee8ef531ee6cf5700d40b77e6015c8b45 100644 (file)
@@ -24,6 +24,8 @@ class MyMeshType
 {
 public:
   static const int MY_SPACEDIM=3;
+  static const int MY_MESHDIM=3;
+  static const INTERP_KERNEL::NumberingPolicy My_numPol=INTERP_KERNEL::ALL_C_MODE;
   typedef int MyConnType;
 };
 
index f344cd92da668798e1981faa6f454e57095ce5e8..a47e3e138cd20aec50e9a604120191ae67079b0e 100644 (file)
 
 #include <cppunit/extensions/HelperMacros.h>
 
+#include "InterpKernelTestExport.hxx"
+
 namespace INTERP_TEST 
 {
   /**
    * \brief Class dedicated of the test of the preprocessing of 3D surf cells before performing invoking 2D algorithms.
    */
-  class ThreeDSurfProjectionTest : public CppUnit::TestFixture
+  class INTERPKERNELTEST_EXPORT ThreeDSurfProjectionTest : public CppUnit::TestFixture
   {
     CPPUNIT_TEST_SUITE( ThreeDSurfProjectionTest );
     CPPUNIT_TEST ( test1 );