mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 20:59:45 +01:00
see CHANGELOG
- added Poco::istring (case-insensitive string) and Poco::isubstr (case-insensitive substring search) - improved SQLite execute() return (affected rows) value - added SQLite sys.dual (in-memory system table) - applied SF Patch #120: The ExpireLRUCache does not compile with a tuple as key on Visual Studio 2010 - fixed SF Bug #599: JSON::Array and JSON::Object size() member can implicitly lose precision - fixed SF Bug #602: iterating database table rows not correct if no data in table - fixed SF Bug #603: count() is missing in HashMap - fixed GH #23: JSON::Object::stringify throw BadCastException - fixed GH #16: NetworkInterface::firstAddress() should not throw on unconfigured interfaces - Android compile/build support (by Rangel Reale) - TypeHandler::prepare() now takes const-reference
This commit is contained in:
@@ -150,6 +150,11 @@ void NetworkInterfaceTest::testForAddress()
|
||||
{
|
||||
NetworkInterface ifc = NetworkInterface::forAddress(it->second.firstAddress(IPAddress::IPv4));
|
||||
assert (ifc.firstAddress(IPAddress::IPv4) == it->second.firstAddress(IPAddress::IPv4));
|
||||
|
||||
IPAddress addr(IPAddress::IPv4);
|
||||
assert (addr.isWildcard());
|
||||
it->second.firstAddress(addr, IPAddress::IPv4);
|
||||
assert (!addr.isWildcard());
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -159,6 +164,11 @@ void NetworkInterfaceTest::testForAddress()
|
||||
fail ("must throw");
|
||||
}
|
||||
catch (NotFoundException&) { }
|
||||
|
||||
IPAddress addr(IPAddress::IPv4);
|
||||
assert (addr.isWildcard());
|
||||
it->second.firstAddress(addr, IPAddress::IPv4);
|
||||
assert (addr.isWildcard());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user