MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / TEST_P

Function TEST_P

tests/unit/test_httpcommon.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14struct UrlEscapeTest: testing::TestWithParam<std::tuple<std::string, std::string>> {};
15
16TEST_P(UrlEscapeTest, Run) {
17 const auto &[input, expected] = GetParam();
18 ASSERT_EQ(http::url_escape(input), expected);
19}
20
21INSTANTIATE_TEST_SUITE_P(
22 UrlEscapeTests,

Callers

nothing calls this directly

Calls 4

url_escapeFunction · 0.85
url_get_hostFunction · 0.85
download_fileFunction · 0.85
appdataFunction · 0.50

Tested by

no test coverage detected