| 1769 | } |
| 1770 | |
| 1771 | TEST(dmHttpClient, HostNotFound) |
| 1772 | { |
| 1773 | dmURI::Parts uri; |
| 1774 | dmURI::Parse("http://host_not_found", &uri); |
| 1775 | |
| 1776 | dmHttpClient::NewParams params; |
| 1777 | dmHttpClient::HClient client = dmHttpClient::New(¶ms, &uri); |
| 1778 | ASSERT_EQ((void*) 0, client); |
| 1779 | } |
| 1780 | |
| 1781 | TEST(dmHttpClient, ConnectionRefused) |
| 1782 | { |
nothing calls this directly
no test coverage detected