Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/med.git] / src / INTERP_KERNELTest / TestInterpKernel.cxx
index 41501ea7e6f8b024e237621afa05e2f653c66df3..6272fd3e71f372e16f616847d7a16a1e5b18190c 100644 (file)
@@ -1,52 +1,62 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
 //
-//  This library is free software; you can redistribute it and/or
-//  modify it under the terms of the GNU Lesser General Public
-//  License as published by the Free Software Foundation; either
-//  version 2.1 of the License.
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
 //
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
 //
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 #include "CppUnitTest.hxx"
+#include "BBTreeTest.hxx"
+#include "ExprEvalInterpTest.hxx"
+#include "QuadraticPlanarInterpTest.hxx"
+#include "SingleElementPlanarTests.hxx"
+#include "TransformedTriangleIntersectTest.hxx"
 #include "TransformedTriangleTest.hxx"
 #include "UnitTetraIntersectionBaryTest.hxx"
-#include "TransformedTriangleIntersectTest.hxx"
-#include "MultiElementTetraTests.hxx"
-#include "SingleElementTetraTests.hxx"
+#include "UnitTetra3D2DIntersectionTest.hxx"
+
+#ifdef DISABLE_MICROMED
 #include "HexaTests.hxx"
-#include "BBTreeTest.hxx"
-#include "PointLocatorTest.hxx"
-#include "RemapperTest.hxx"
-#include "MultiElement2DTests.hxx"
-#include "SingleElementPlanarTests.hxx"
-#include "QuadraticPlanarInterpTest.hxx"
 #include "InterpolationOptionsTest.hxx"
+#include "MultiElement2DTests.hxx"
+#include "MultiElementTetraTests.hxx"
+#include "PointLocatorTest.hxx"
+#include "SingleElementTetraTests.hxx"
+#endif
+
 using namespace INTERP_TEST;
 
 //--- Registers the fixture into the 'registry'
 
-CPPUNIT_TEST_SUITE_REGISTRATION( HexaTests );
-CPPUNIT_TEST_SUITE_REGISTRATION( MultiElementTetraTests );
-CPPUNIT_TEST_SUITE_REGISTRATION( SingleElementTetraTests );
+CPPUNIT_TEST_SUITE_REGISTRATION( BBTreeTest);
+CPPUNIT_TEST_SUITE_REGISTRATION( ExprEvalInterpTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( QuadraticPlanarInterpTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( SingleElementPlanarTests );
 CPPUNIT_TEST_SUITE_REGISTRATION( TransformedTriangleIntersectTest );
 CPPUNIT_TEST_SUITE_REGISTRATION( TransformedTriangleTest );
 CPPUNIT_TEST_SUITE_REGISTRATION( UnitTetraIntersectionBaryTest );
-CPPUNIT_TEST_SUITE_REGISTRATION( BBTreeTest);
-CPPUNIT_TEST_SUITE_REGISTRATION( RemapperTest);
-CPPUNIT_TEST_SUITE_REGISTRATION( PointLocatorTest);
-CPPUNIT_TEST_SUITE_REGISTRATION( MultiElement2DTests );
-CPPUNIT_TEST_SUITE_REGISTRATION( SingleElementPlanarTests );
-CPPUNIT_TEST_SUITE_REGISTRATION( QuadraticPlanarInterpTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( UnitTetra3D2DIntersectionTest );
+
+#ifdef DISABLE_MICROMED
+CPPUNIT_TEST_SUITE_REGISTRATION( HexaTests );
 CPPUNIT_TEST_SUITE_REGISTRATION( InterpolationOptionsTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( MultiElement2DTests );
+CPPUNIT_TEST_SUITE_REGISTRATION( MultiElementTetraTests );
+CPPUNIT_TEST_SUITE_REGISTRATION( PointLocatorTest);
+CPPUNIT_TEST_SUITE_REGISTRATION( SingleElementTetraTests );
+#endif
 
 // --- generic Main program from KERNEL_SRC/src/Basics/Test