From: Tom Peters (thopeter) Date: Tue, 28 Jun 2022 17:05:00 +0000 (+0000) Subject: Pull request #3487: http2_inspect: unit tests depending on REG_TEST X-Git-Tag: 3.1.33.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f76e4a76628ff31939d4c02c982ff8585eb879db;p=thirdparty%2Fsnort3.git Pull request #3487: http2_inspect: unit tests depending on REG_TEST Merge in SNORT/snort3 from ~THOPETER/snort3:nhttp165 to master Squashed commit of the following: commit d3b038594dc5118c6114f29a998f8c71aa4518f1 Author: Tom Peters Date: Mon Jun 27 15:57:42 2022 -0400 http2_inspect: unit tests depending on REG_TEST --- diff --git a/src/service_inspectors/http2_inspect/test/http2_hpack_int_decode_test.cc b/src/service_inspectors/http2_inspect/test/http2_hpack_int_decode_test.cc index 975a3c090..a0455f054 100644 --- a/src/service_inspectors/http2_inspect/test/http2_hpack_int_decode_test.cc +++ b/src/service_inspectors/http2_inspect/test/http2_hpack_int_decode_test.cc @@ -51,7 +51,6 @@ TEST_GROUP(http2_hpack_int_decode_success) void teardown() override { CHECK(inf.none_found() == true); - CHECK(events.none_found() == true); delete decode; } }; @@ -319,7 +318,6 @@ TEST(http2_hpack_int_decode_leading_zeros, leading_zeros) CHECK(res == 31); CHECK(bytes_processed == 3); CHECK(local_inf.get_raw(0) == (1<> base) & std::bitset(0xFFFFFFFFFFFFFFFF)).to_ulong(); } -#endif private: std::bitset infractions = 0;