40aa43588d
This test just checks a default-constructed BNetworkAddress and a BNetworkAddress that has had its Unset method invoked are in the same state. It also compares against a BNetworkAddress that has been constructed with the AF_INET family. In BeOS R5 this worked because you could construct a BNetworkAddress with nullptr for the host parameter, but in Haiku this this leads to Unset() being invoked. So BNetworkAddress(AF_INET, NULL) is the same as a default-constructed BNetworkAddress object. This patch just changes the test to construct the BNetworkAddress used for comparison with a valid host using the IPv4 loopback address instead. Change-Id: Id890110cfa1f3c40a630f9005e2a390e25f6baae Reviewed-on: https://review.haiku-os.org/c/haiku/+/2388 Reviewed-by: waddlesplash <waddlesplash@gmail.com> |
||
---|---|---|
.. | ||
add-ons | ||
apps | ||
kits | ||
libs | ||
misc | ||
servers | ||
system | ||
ExampleTest.cpp | ||
ExampleTest.h | ||
ExampleTestAddon.cpp | ||
Jamfile | ||
qemu-boot-test | ||
UnitTester.cpp | ||
UnitTester.h | ||
UnitTester.rdef |