mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
added Environment::nodeId()
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// CoreTest.cpp
|
||||
//
|
||||
// $Id: //poco/svn/Foundation/testsuite/src/CoreTest.cpp#2 $
|
||||
// $Id: //poco/1.3/Foundation/testsuite/src/CoreTest.cpp#4 $
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
@@ -143,6 +143,7 @@ void CoreTest::testEnvironment()
|
||||
std::cout << "OS Version: " << Environment::osVersion() << std::endl;
|
||||
std::cout << "OS Architecture: " << Environment::osArchitecture() << std::endl;
|
||||
std::cout << "Node Name: " << Environment::nodeName() << std::endl;
|
||||
std::cout << "Node ID: " << Environment::nodeId() << std::endl;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// PathTest.cpp
|
||||
//
|
||||
// $Id: //poco/svn/Foundation/testsuite/src/PathTest.cpp#2 $
|
||||
// $Id: //poco/1.3/Foundation/testsuite/src/PathTest.cpp#2 $
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
@@ -822,7 +822,7 @@ void PathTest::testParseWindows4()
|
||||
|
||||
try
|
||||
{
|
||||
p.parse("<EFBFBD>:\\", Path::PATH_WINDOWS);
|
||||
p.parse("~:\\", Path::PATH_WINDOWS);
|
||||
fail("bad path - must throw exception");
|
||||
}
|
||||
catch (PathSyntaxException&)
|
||||
|
||||
Reference in New Issue
Block a user