mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 08:31:43 +02:00
renamed dir testfiles to data
This commit is contained in:
@@ -781,7 +781,7 @@ void JSONTest::testTemplate()
|
|||||||
std::string JSONTest::getTestFilesPath(const std::string& type)
|
std::string JSONTest::getTestFilesPath(const std::string& type)
|
||||||
{
|
{
|
||||||
std::ostringstream ostr;
|
std::ostringstream ostr;
|
||||||
ostr << "testfiles/" << type << '/';
|
ostr << "data/" << type << '/';
|
||||||
std::string validDir(ostr.str());
|
std::string validDir(ostr.str());
|
||||||
Poco::Path pathPattern(validDir);
|
Poco::Path pathPattern(validDir);
|
||||||
if (Poco::File(pathPattern).exists())
|
if (Poco::File(pathPattern).exists())
|
||||||
@@ -791,7 +791,7 @@ std::string JSONTest::getTestFilesPath(const std::string& type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ostr.str("");
|
ostr.str("");
|
||||||
ostr << "/JSON/testsuite/testfiles/" << type << '/';
|
ostr << "/JSON/testsuite/data/" << type << '/';
|
||||||
validDir = Poco::Environment::get("POCO_BASE") + ostr.str();
|
validDir = Poco::Environment::get("POCO_BASE") + ostr.str();
|
||||||
pathPattern = validDir;
|
pathPattern = validDir;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user