fixed SystemConfigurationTest

This commit is contained in:
Guenter Obiltschnig 2015-03-11 22:30:36 +01:00
parent f5c49f0d94
commit 302f2f24d3

View File

@ -84,10 +84,11 @@ void SystemConfigurationTest::testKeys()
pConf->keys("system", keys);
#if defined(POCO_VXWORKS)
assert (keys.size() == 10);
assert (keys.size() == 15);
#else
assert (keys.size() == 11);
assert (keys.size() == 16);
#endif
assert (std::find(keys.begin(), keys.end(), "osName") != keys.end());
assert (std::find(keys.begin(), keys.end(), "osVersion") != keys.end());
assert (std::find(keys.begin(), keys.end(), "osArchitecture") != keys.end());
@ -95,7 +96,12 @@ void SystemConfigurationTest::testKeys()
assert (std::find(keys.begin(), keys.end(), "nodeId") != keys.end());
assert (std::find(keys.begin(), keys.end(), "currentDir") != keys.end());
assert (std::find(keys.begin(), keys.end(), "homeDir") != keys.end());
assert (std::find(keys.begin(), keys.end(), "configHomeDir") != keys.end());
assert (std::find(keys.begin(), keys.end(), "cacheHomeDir") != keys.end());
assert (std::find(keys.begin(), keys.end(), "dataHomeDir") != keys.end());
assert (std::find(keys.begin(), keys.end(), "tempHomeDir") != keys.end());
assert (std::find(keys.begin(), keys.end(), "tempDir") != keys.end());
assert (std::find(keys.begin(), keys.end(), "configDir") != keys.end());
assert (std::find(keys.begin(), keys.end(), "dateTime") != keys.end());
#if !defined(POCO_VXWORKS)
assert (std::find(keys.begin(), keys.end(), "pid") != keys.end());