| 73 | } |
| 74 | |
| 75 | bool static TestSplitHost(std::string test, std::string host, int port) |
| 76 | { |
| 77 | std::string hostOut; |
| 78 | int portOut = -1; |
| 79 | SplitHostPort(test, portOut, hostOut); |
| 80 | return hostOut == host && port == portOut; |
| 81 | } |
| 82 | |
| 83 | BOOST_AUTO_TEST_CASE(netbase_splithost) |
| 84 | { |
no test coverage detected