mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 15:01:15 +02:00
renamed dir testfiles to data
This commit is contained in:
parent
5ff5d24fb3
commit
c7de652ec9
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user