MCPcopy Create free account
hub / github.com/apache/impala / TEST

Function TEST

be/src/util/coding-util-test.cc:100–104  ·  view source on GitHub ↗

Test URL encoding. Check that the values that are put in are the same that come out.

Source from the content-addressed store, hash-verified

98// Test URL encoding. Check that the values that are put in are the
99// same that come out.
100TEST(UrlCodingTest, Basic) {
101 string input = "ABCDEFGHIJKLMNOPQRSTUWXYZ1234567890~!@#$%^&*()<>?,./:\";'{}|[]\\_+-=";
102 TestUrl(input, "", false);
103 TestUrl(input, "", true);
104}
105
106TEST(UrlCodingTest, HiveExceptions) {
107 TestUrl(" +", " +", true);

Callers

nothing calls this directly

Calls 7

Base64DecodeBufLenFunction · 0.85
TestUrlFunction · 0.70
TestBase64Function · 0.70
EscapeForHtmlFunction · 0.70
dataMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected