35 #include <boost/test/unit_test.hpp> 36 #include <boost/algorithm/string/predicate.hpp> 59 BOOST_CHECK(boost::algorithm::ends_with(
te::core::FindInTerraLibPath(
"src/terralib/core/utils/Platform.cpp"),
"src/terralib/core/utils/Platform.cpp"));
90 BOOST_AUTO_TEST_SUITE_END()
TECOREEXPORT std::string GetAppDataLocation()
It returns the writable folder location to store application data applied to all users.
TECOREEXPORT std::string FindInTerraLibPath(const std::string &path)
Returns the path relative to a directory or file in the context of TerraLib.
TECOREEXPORT std::string GetAppLocalDataLocation()
It returns the writable folder location to store per user data.
TECOREEXPORT std::string GetUserDirectory()
Returns the system user home dir path.