IVGCVSW-4118 Fix long unit test execution
authorColm Donelan <Colm.Donelan@arm.com>
Fri, 29 Nov 2019 09:10:59 +0000 (09:10 +0000)
committerMatteo Martincigh <matteo.martincigh@arm.com>
Fri, 29 Nov 2019 11:37:17 +0000 (11:37 +0000)
commit2ba48d251d0fe4dca214497ac33283106ca0973b
treed92ca2462e1853ac116dc8dd26c7c3afac4103c6
parente011d20f279e6e67e899bc6930b0266fc357bc1c
IVGCVSW-4118 Fix long unit test execution

 * Reduced sleep_for timings
 * Removed duplicate SendStreamMetaDataPacket.
 * Modified SendCounterPacket::WaitForPacketSent to use wait_for
 * Modified SendCounterPacket::Send WaitingForAck to use wait_for
 * Added destructor to StreamRedirector.
 * Added method SendCounterPacketTests::HasWrittenData
 * Restructured many tests in ProfilingTests.

Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I55c59cac6674ac40a1056a5302a997d5da9e9d91
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
src/profiling/ConnectionAcknowledgedCommandHandler.cpp
src/profiling/ProfilingService.hpp
src/profiling/SendCounterPacket.cpp
src/profiling/SendCounterPacket.hpp
src/profiling/test/ProfilingGuidTest.cpp
src/profiling/test/ProfilingTests.cpp
src/profiling/test/ProfilingTests.hpp
src/profiling/test/SendCounterPacketTests.cpp
src/profiling/test/SendCounterPacketTests.hpp