testGetAllbyHostnameSubnet4(*getCfgHosts(), *getCfgHosts());
}
+// This test verifies that HostMgr returns all reservations for the specified
+// hostname and DHCPv6 subnet. The reservations are defined in the server's
+// configuration.
+TEST_F(HostMgrTest, getAllbyHostnameSubnet6) {
+ testGetAllbyHostnameSubnet6(*getCfgHosts(), *getCfgHosts());
+}
+
// This test verifies that HostMgr returns all reservations for the specified
// hostname and DHCPv6 subnet. The reservations are defined in the server's
// configuration.
/// @param hostname hostname in lower case.
///
/// @return Lease collection (may be empty if no IPv4 lease found).
- virtual Lease4Collection getLeases4(const std::string& hostname) const {
+ virtual Lease4Collection getLeases4(const std::string&) const {
return (Lease4Collection());
}
/// @param hostname hostname in lower case.
///
/// @return Lease collection (may be empty if no IPv6 lease found).
- virtual Lease6Collection getLeases6(const std::string& hostname) const {
+ virtual Lease6Collection getLeases6(const std::string&) const {
return (Lease6Collection());
}