MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / TestSplitHost

Function TestSplitHost

src/test/netbase_tests.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49bool static TestSplitHost(string test, string host, int port)
50{
51 string hostOut;
52 int portOut = -1;
53 SplitHostPort(test, portOut, hostOut);
54 return hostOut == host && port == portOut;
55}
56
57BOOST_AUTO_TEST_CASE(netbase_splithost)
58{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

SplitHostPortFunction · 0.85

Tested by

no test coverage detected