Salome HOME
Improve translations to French
[modules/shaper.git] / src / XAO / tests / TestUtils.hxx
index 593916c2279b34fa3ad76e4b8618a034765ee5ba..a5c8ff8780874ad7e05478578a019826d1a82c33 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2019  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -28,11 +28,10 @@ namespace XAO
     class TestUtils
     {
     public:
-        static std::string getTestFilePath(const std::string& fileName)
+        static std::string getTestFilePath(const std::string& filePath)
         {
-            std::string dataDir = getenv("GEOM_SRC_DIR");
-            dataDir += "/src/XAO/tests/data/";
-            dataDir += fileName;
+            std::string dataDir = getenv("DATA_DIR");
+            dataDir += filePath;
             return dataDir;
         }