IVGCVSW-4340 Backend profiling: Add tests for Timeline functions
authorColm Donelan <Colm.Donelan@arm.com>
Thu, 13 Feb 2020 20:47:08 +0000 (20:47 +0000)
committerJim Flynn <jim.flynn@arm.com>
Mon, 17 Feb 2020 13:01:47 +0000 (13:01 +0000)
commitfcb802bf62a092806041785cd6081cb99c518527
tree58aa84ab59abeac9a31326691fbb490102f8e6fb
parentcab588ac45bf1c39832d8a278ee46db851c1b015
IVGCVSW-4340 Backend profiling: Add tests for Timeline functions

* Add tests for the timeline functions that are part of
  IBackendProfiling: GetSendTimelinePacket & GetProfilingGuidGenerator
* Modify MockBackendProfilingService to store a
  MockBackendProfilingContext shared pointer.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I99fc4b1da019858b9f29409cd59ef8f590c0d3a2
src/backends/backendsCommon/test/BackendProfilingTests.cpp
src/backends/backendsCommon/test/MockBackend.cpp
src/backends/backendsCommon/test/MockBackend.hpp