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