-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016 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
//
#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;
-}
//================================================================================