diff --git a/Svc/FrameAccumulator/test/ut/FrameAccumulatorTester.cpp b/Svc/FrameAccumulator/test/ut/FrameAccumulatorTester.cpp index d9e6a6c069..899a5e3646 100644 --- a/Svc/FrameAccumulator/test/ut/FrameAccumulatorTester.cpp +++ b/Svc/FrameAccumulator/test/ut/FrameAccumulatorTester.cpp @@ -18,13 +18,11 @@ namespace Svc { FrameAccumulatorTester ::FrameAccumulatorTester() : FrameAccumulatorGTestBase("FrameAccumulatorTester", FrameAccumulatorTester::MAX_HISTORY_SIZE), component("FrameAccumulator") { + component.configure(this->mockDetector, 1, this->mallocator, 2048); this->initComponents(); this->connectPorts(); - component.configure(this->mockDetector, 1, this->mallocator, 2048); } -FrameAccumulatorTester ::~FrameAccumulatorTester() {} - // ---------------------------------------------------------------------- // Tests // ---------------------------------------------------------------------- diff --git a/Svc/FrameAccumulator/test/ut/FrameAccumulatorTester.hpp b/Svc/FrameAccumulator/test/ut/FrameAccumulatorTester.hpp index 2cf3738c98..14eb135769 100644 --- a/Svc/FrameAccumulator/test/ut/FrameAccumulatorTester.hpp +++ b/Svc/FrameAccumulator/test/ut/FrameAccumulatorTester.hpp @@ -35,7 +35,7 @@ class FrameAccumulatorTester : public FrameAccumulatorGTestBase { FrameAccumulatorTester(); //! Destroy object FrameAccumulatorTester - ~FrameAccumulatorTester(); + ~FrameAccumulatorTester() = default; public: // ---------------------------------------------------------------------- @@ -92,7 +92,7 @@ class FrameAccumulatorTester : public FrameAccumulatorGTestBase { // ---------------------------------------------------------------------- //! The component under test - FrameAccumulator component; + Svc::FrameAccumulator component; //! MockDetector is used to control the behavior of the component under test //! by controlling what the FrameDetector will report without needing to craft