mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 06:56:41 +02:00
Add log clog << "p.toString(Path::PATH_VMS)=" <<
p.toString(Path::PATH_VMS);
This commit is contained in:
parent
e48eb75272
commit
3a0447521c
@ -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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user