- SF#3560505: NetworkInterface's ::forIndex, etc. methods must select all

- Util::Win x64 ifdefs
- RowFromatter documentation correction
This commit is contained in:
Aleksandar Fabijanic
2012-08-22 01:18:33 +00:00
parent 71a055c81a
commit a77bfefd69
5 changed files with 19 additions and 7 deletions

View File

@@ -74,10 +74,12 @@ void WinConfigurationTest::testConfiguration()
assert (pReg->getInt("name1") == 1);
pReg->setString("name2", "value2");
assert (pReg->getString("name2") == "value2");
#if defined(POCO_HAVE_INT64)
pReg->setUInt64("name2", std::numeric_limits<UInt64>::max()); // overwrite should also change type
assert (pReg->getUInt64("name2") == std::numeric_limits<UInt64>::max());
pReg->setInt64("name2", std::numeric_limits<Int64>::min());
assert (pReg->getInt64("name2") == std::numeric_limits<Int64>::min());
#endif
assert (pReg->hasProperty("name1"));
assert (pReg->hasProperty("name2"));