Add log clog << "p.toString(Path::PATH_VMS)=" <<

p.toString(Path::PATH_VMS);
This commit is contained in:
Francis ANDRE 2018-06-01 07:27:43 +02:00
parent e48eb75272
commit 3a0447521c

View File

@ -30,6 +30,8 @@
using Poco::Path;
using Poco::PathSyntaxException;
using Poco::Environment;
using std::clog;
using std::endl;
PathTest::PathTest(const std::string& name): CppUnit::TestCase(name)
@ -1236,6 +1238,7 @@ void PathTest::testParseVMS4()
assertTrue (p[0] == "foo");
assertTrue (!p.isDirectory());
assertTrue (p.isFile());
clog << "p.toString(Path::PATH_VMS)=" << p.toString(Path::PATH_VMS) << endl;
assertTrue (p.toString(Path::PATH_VMS) == "[foo]bar.txt;5");
assertTrue (p.version() == "5");
@ -1297,6 +1300,7 @@ void PathTest::testParseGuess()
assertTrue (p.getDevice() == "foo");
assertTrue (!p.isDirectory());
assertTrue (p.isFile());
clog << "p.toString(Path::PATH_VMS)=" << p.toString(Path::PATH_VMS) << endl;
assertTrue (p.toString(Path::PATH_VMS) == "foo:bar.txt;5");
assertTrue (p.version() == "5");