Skip to content

test case HttpClientTest.GetWithoutProxy failed #104

@yeshunping

Description

@yeshunping

[ RUN ] HttpClientTest.GetWithoutProxy
toft/net/http/http_client_test.cpp:64: Failure
Value of: client.Get("http://non-exist-domaon.test/world", &response, &error)
Actual: true
Expected: false
toft/net/http/http_client_test.cpp:65: Failure
Value of: error
Actual: 0
Expected: HttpClient::ERROR_FAIL_TO_RESOLVE_ADDRESS
Which is: 4
toft/net/http/http_client_test.cpp:66: Failure
Value of: client.GetErrorMessage(error)
Actual: "Success"
Expected: "Failed to resolve address"
[ FAILED ] HttpClientTest.GetWithoutProxy (717 ms)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions