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

Method SetUp

test/test_utils.cpp:788–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786protected:
787
788 virtual void SetUp() {
789 testing::Test::SetUp();
790
791 cfg = htp_config_create();
792 connp = htp_connp_create(cfg);
793 htp_connp_open(connp, "127.0.0.1", 32768, "127.0.0.1", 80, NULL);
794 tx = htp_connp_tx_create(connp);
795 }
796
797 virtual void TearDown() {
798 htp_connp_destroy_all(connp);

Callers

nothing calls this directly

Calls 4

htp_config_createFunction · 0.85
htp_connp_createFunction · 0.85
htp_connp_openFunction · 0.85
htp_connp_tx_createFunction · 0.85

Tested by

no test coverage detected