Salome HOME
6th step : Remove the additional MEDLoader level from MEDLoader.
[tools/medcoupling.git] / src / ParaMEDMEMTest / ParaMEDMEMTest.cxx
index 4a18a8c08525c23c0615c61ab79e3be1ec4ad2cb..2da61c8e72d421935d865f3d3e61cd44195682d9 100644 (file)
@@ -18,6 +18,7 @@
 //
 
 #include "ParaMEDMEMTest.hxx"
+#include "TestInterpKernelUtils.hxx"
 #include <cppunit/TestAssert.h>
 
 #include <sstream>
 #include <unistd.h>
 #endif
 
-std::string ParaMEDMEMTest::getResourceFile( const std::string& filename )
-{
-  std::string resourceFile = "";
-
-  if ( getenv("MEDTOOL_ROOT_DIR") ) {
-    // use MEDTOOL_ROOT_DIR env.var
-    resourceFile = getenv("MEDTOOL_ROOT_DIR");
-    resourceFile += "/share/resources/med/";
-  }
-  else {
-    resourceFile = get_current_dir_name();
-    resourceFile += "/../../resources/";
-  }
-
-  resourceFile += filename;
-  return resourceFile;
-}
 
 
 //================================================================================