MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / TEST

Function TEST

tests/unit-tests/dds/DCPS/NetworkAddress.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using namespace OpenDDS::DCPS;
13
14TEST(dds_DCPS_NetworkAddress, DefaultConstructor)
15{
16 const NetworkAddress sa;
17 EXPECT_EQ(sa.get_port_number(), 0);
18 EXPECT_EQ(sa, NetworkAddress());
19 EXPECT_FALSE(sa);
20 EXPECT_TRUE(!sa);
21}
22
23TEST(dds_DCPS_NetworkAddress, AddrConstructorDefault)
24{

Callers

nothing calls this directly

Calls 13

is_more_localFunction · 0.85
get_port_numberMethod · 0.80
to_addrMethod · 0.80
set_port_numberMethod · 0.80
addr_bytes_equalMethod · 0.80
is_anyMethod · 0.80
is_loopbackMethod · 0.80
is_multicastMethod · 0.80
is_privateMethod · 0.80
is_uniquelocalMethod · 0.80
is_linklocalMethod · 0.80
is_sitelocalMethod · 0.80

Tested by

no test coverage detected