MCPcopy Create free account
hub / github.com/OISF/libhtp / TEST_F

Function TEST_F

test/test_utils.cpp:811–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

809};
810
811TEST_F(DecodingTest, DecodeUrlencodedInplace1_Identity) {
812 bstr *i = bstr_dup_c("/dest");
813 bstr *e = bstr_dup_c("/dest");
814 htp_tx_urldecode_params_inplace(tx, i);
815 ASSERT_TRUE(bstr_cmp(i, e) == 0);
816 bstr_free(e);
817 bstr_free(i);
818}
819
820TEST_F(DecodingTest, DecodeUrlencodedInplace2_Urlencoded) {
821 bstr *i = bstr_dup_c("/%64est");

Callers

nothing calls this directly

Tested by

no test coverage detected