Use clout instead of clog

This commit is contained in:
Francis ANDRE 2018-06-01 13:55:47 +02:00
parent 7e1fcf5875
commit d1beb204d7

View File

@ -31,6 +31,7 @@ using Poco::Path;
using Poco::PathSyntaxException;
using Poco::Environment;
using std::clog;
using std::cout;
using std::endl;
@ -1238,7 +1239,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;
cout << "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");
@ -1300,7 +1301,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;
cout << "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");