Salome HOME
updated copyright message
[modules/shaper.git] / src / XAO / tests / TestUtils.hxx
index 593916c2279b34fa3ad76e4b8618a034765ee5ba..74e81e973bc4c4a955782c7885bdd2e527a9216d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2023  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
@@ -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;
         }