mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-25 06:36:37 +01:00
Use clout instead of clog
This commit is contained in:
@@ -31,6 +31,7 @@ using Poco::Path;
|
|||||||
using Poco::PathSyntaxException;
|
using Poco::PathSyntaxException;
|
||||||
using Poco::Environment;
|
using Poco::Environment;
|
||||||
using std::clog;
|
using std::clog;
|
||||||
|
using std::cout;
|
||||||
using std::endl;
|
using std::endl;
|
||||||
|
|
||||||
|
|
||||||
@@ -1238,7 +1239,7 @@ void PathTest::testParseVMS4()
|
|||||||
assertTrue (p[0] == "foo");
|
assertTrue (p[0] == "foo");
|
||||||
assertTrue (!p.isDirectory());
|
assertTrue (!p.isDirectory());
|
||||||
assertTrue (p.isFile());
|
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.toString(Path::PATH_VMS) == "[foo]bar.txt;5");
|
||||||
assertTrue (p.version() == "5");
|
assertTrue (p.version() == "5");
|
||||||
|
|
||||||
@@ -1300,7 +1301,7 @@ void PathTest::testParseGuess()
|
|||||||
assertTrue (p.getDevice() == "foo");
|
assertTrue (p.getDevice() == "foo");
|
||||||
assertTrue (!p.isDirectory());
|
assertTrue (!p.isDirectory());
|
||||||
assertTrue (p.isFile());
|
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.toString(Path::PATH_VMS) == "foo:bar.txt;5");
|
||||||
assertTrue (p.version() == "5");
|
assertTrue (p.version() == "5");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user