]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XAO/tests/TestUtils.hxx
Salome HOME
Porting to SALOME 9.1.0.
[modules/shaper.git] / src / XAO / tests / TestUtils.hxx
index 593916c2279b34fa3ad76e4b8618a034765ee5ba..aa1f5d104ba3eb33044f77234de257af525926a5 100644 (file)
@@ -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;
         }