]> git.ipfire.org Git - thirdparty/squid.git/commit - src/event.h
Cleanup dependencies for testEvent unit test (#886)
authorAmos Jeffries <yadij@users.noreply.github.com>
Thu, 19 Aug 2021 04:56:04 +0000 (04:56 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 19 Aug 2021 06:39:26 +0000 (06:39 +0000)
commit1a51cf7272110fd6e36ef037c902119ee933cded
treee6bb0a1e6ae6300554c31b0ca149c270800bfdc4
parent61e38858f3109380a8e0bf4786546d8e930fe4c9
Cleanup dependencies for testEvent unit test (#886)

Many objects linked to the testEvent unit test were there for
legacy reasons and no longer needed.

Converting Event::dump() to Packable interface additionally
removes all dependency on the Store and StoreEntry API. Vastly
simplifying the complexity of the test setup and clarifying
(lack of) code coverage by this test.
src/Makefile.am
src/event.cc
src/event.h
src/tests/stub_event.cc
src/tests/testEvent.cc