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

Function TEST

engine/dlib/src/test/test_httpclient.cpp:1771–1779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1769}
1770
1771TEST(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(&params, &uri);
1778 ASSERT_EQ((void*) 0, client);
1779}
1780
1781TEST(dmHttpClient, ConnectionRefused)
1782{

Callers

nothing calls this directly

Calls 15

GetLastSocketResultFunction · 0.85
dmSnPrintfFunction · 0.85
ProxyAddRequestFunction · 0.85
TlsProtocolRequestFunction · 0.85
MakeLocalProxyUrlFunction · 0.85
ParseFunction · 0.50
NewFunction · 0.50
GetFunction · 0.50
DeleteFunction · 0.50

Tested by

no test coverage detected