-// Copyright (C) 2013-2016 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
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;
}