diff options
author | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2020-04-01 16:51:23 +0100 |
---|---|---|
committer | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2020-04-06 09:06:01 +0100 |
commit | ac2770a4bb6461bfbddec928bb6208f26f898f02 (patch) | |
tree | c72f67f648b7aca2f4bccf69b05d185bf5f9ccad /src/profiling/test/ProfilingTestUtils.cpp | |
parent | 7ee5d2c3b3cee5a924ed6347fef613ee07b5aca7 (diff) | |
download | armnn-ac2770a4bb6461bfbddec928bb6208f26f898f02.tar.gz |
IVGCVSW-4485 Remove Boost assert
* Change boost assert to armnn assert
* Change include file to armnn assert
* Fix ARMNN_ASSERT_MSG issue with multiple conditions
* Change BOOST_ASSERT to BOOST_TEST where appropriate
* Remove unused include statements
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I5d0fa3a37b7c1c921216de68f0073aa34702c9ff
Diffstat (limited to 'src/profiling/test/ProfilingTestUtils.cpp')
-rw-r--r-- | src/profiling/test/ProfilingTestUtils.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/profiling/test/ProfilingTestUtils.cpp b/src/profiling/test/ProfilingTestUtils.cpp index 8de69f14ec..5c63b54b8f 100644 --- a/src/profiling/test/ProfilingTestUtils.cpp +++ b/src/profiling/test/ProfilingTestUtils.cpp @@ -31,7 +31,7 @@ void VerifyTimelineHeaderBinary(const unsigned char* readableData, unsigned int& offset, uint32_t packetDataLength) { - BOOST_ASSERT(readableData); + ARMNN_ASSERT(readableData); // Utils unsigned int uint32_t_size = sizeof(uint32_t); @@ -60,7 +60,7 @@ void VerifyTimelineLabelBinaryPacketData(Optional<ProfilingGuid> guid, const unsigned char* readableData, unsigned int& offset) { - BOOST_ASSERT(readableData); + ARMNN_ASSERT(readableData); // Utils unsigned int uint32_t_size = sizeof(uint32_t); @@ -101,7 +101,7 @@ void VerifyTimelineEventClassBinaryPacketData(ProfilingGuid guid, const unsigned char* readableData, unsigned int& offset) { - BOOST_ASSERT(readableData); + ARMNN_ASSERT(readableData); // Utils unsigned int uint32_t_size = sizeof(uint32_t); @@ -127,7 +127,7 @@ void VerifyTimelineRelationshipBinaryPacketData(ProfilingRelationshipType relati const unsigned char* readableData, unsigned int& offset) { - BOOST_ASSERT(readableData); + ARMNN_ASSERT(readableData); uint32_t relationshipTypeUint = 0; switch (relationshipType) @@ -205,7 +205,7 @@ void VerifyTimelineEntityBinaryPacketData(Optional<ProfilingGuid> guid, const unsigned char* readableData, unsigned int& offset) { - BOOST_ASSERT(readableData); + ARMNN_ASSERT(readableData); // Utils unsigned int uint32_t_size = sizeof(uint32_t); @@ -238,7 +238,7 @@ void VerifyTimelineEventBinaryPacket(Optional<uint64_t> timestamp, const unsigned char* readableData, unsigned int& offset) { - BOOST_ASSERT(readableData); + ARMNN_ASSERT(readableData); // Utils unsigned int uint32_t_size = sizeof(uint32_t); |