MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / TestGetIPAddress

Function TestGetIPAddress

src/twtest/unixfsservices_t.cpp:171–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void TestGetIPAddress()
172{
173 uint32 ipaddr;
174 bool success = iFSServices::GetInstance()->GetIPAddress(ipaddr);
175 if (!success)
176 skip("GetIPAddress test skipped, usually caused by hostname/IP configuration problems");
177
178 TEST("GetIPAddress() did not throw");
179}
180
181void TestGetExecutableFilename()
182{

Callers

nothing calls this directly

Calls 2

skipFunction · 0.85
GetIPAddressMethod · 0.45

Tested by

no test coverage detected