diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2019-09-06 12:28:35 +0100 |
---|---|---|
committer | Teresa Charlin <teresa.charlinreyes@arm.com> | 2019-09-12 12:39:49 +0000 |
commit | 9bab49686a091d61fd06a05bbf7286f559fdae3d (patch) | |
tree | 9a56bcbc3268c4f4792583aaccbdff4af688d4d3 /src/profiling/test/ProfilingTests.cpp | |
parent | 0280785b00cd84f14249d3545a15b93627acf57b (diff) | |
download | armnn-9bab49686a091d61fd06a05bbf7286f559fdae3d.tar.gz |
IVGCVSW-3580: Extend the IProfilingConnection to connect to a Socket
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Signed-off-by: Aron Virginas-Tar <aron.virginas-tar@arm.com>
Change-Id: I72e099ee00052f7a0907c055c7bff02c7d8fde86
Diffstat (limited to 'src/profiling/test/ProfilingTests.cpp')
-rw-r--r-- | src/profiling/test/ProfilingTests.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/profiling/test/ProfilingTests.cpp b/src/profiling/test/ProfilingTests.cpp index fe94092c7f..25fae6c478 100644 --- a/src/profiling/test/ProfilingTests.cpp +++ b/src/profiling/test/ProfilingTests.cpp @@ -10,9 +10,12 @@ #include "../Holder.hpp" #include "../Packet.hpp" #include "../PacketVersionResolver.hpp" +#include "../ProfilingService.hpp" #include "../ProfilingStateMachine.hpp" #include "../ProfilingUtils.hpp" -#include "../ProfilingService.hpp" +#include "../SocketProfilingConnection.hpp" + +#include <Runtime.hpp> #include <boost/test/unit_test.hpp> @@ -528,4 +531,10 @@ BOOST_AUTO_TEST_CASE(GetNextUidTest) BOOST_TEST(uid1 != uid2); } +BOOST_AUTO_TEST_CASE(CheckSocketProfilingConnection) +{ + // Check that creating a SocketProfilingConnection results in an exception as the Gator UDS doesn't exist. + BOOST_CHECK_THROW(new SocketProfilingConnection(), armnn::Exception); +} + BOOST_AUTO_TEST_SUITE_END() |