aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/DynamicBackendTests.cpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-07-26 15:12:47 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-07-30 12:24:14 +0100
commit986c186468e6023b234c24bd10ed9687f9eea0da (patch)
tree0f78d3221922a5730f13d8348cc930a9d0a63351 /src/backends/backendsCommon/test/DynamicBackendTests.cpp
parent1a81630bd9e633150be51366b4a01f9e859f84a8 (diff)
downloadarmnn-986c186468e6023b234c24bd10ed9687f9eea0da.tar.gz
IVGCVSW-3555 Add unit tests for the dynamic backend utility functions
* Added a test library to exercise the utility functions that handle the shared objects Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: Ic8095febca2a46050831eb42f55a714f3ae3bfe3
Diffstat (limited to 'src/backends/backendsCommon/test/DynamicBackendTests.cpp')
-rw-r--r--src/backends/backendsCommon/test/DynamicBackendTests.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/backends/backendsCommon/test/DynamicBackendTests.cpp b/src/backends/backendsCommon/test/DynamicBackendTests.cpp
index 5104d0663d..30622b6b3b 100644
--- a/src/backends/backendsCommon/test/DynamicBackendTests.cpp
+++ b/src/backends/backendsCommon/test/DynamicBackendTests.cpp
@@ -7,6 +7,16 @@
BOOST_AUTO_TEST_SUITE(DynamicBackendTests)
+ARMNN_SIMPLE_TEST_CASE(OpenCloseHandle, OpenCloseHandleTestImpl);
+ARMNN_SIMPLE_TEST_CASE(CloseInvalidHandle, CloseInvalidHandleTestImpl);
+ARMNN_SIMPLE_TEST_CASE(OpenEmptyFileName, OpenEmptyFileNameTestImpl);
+ARMNN_SIMPLE_TEST_CASE(OpenNotExistingFile, OpenNotExistingFileTestImpl);
+ARMNN_SIMPLE_TEST_CASE(OpenNotSharedObjectFile, OpenNotSharedObjectTestImpl);
+ARMNN_SIMPLE_TEST_CASE(GetValidEntryPoint, GetValidEntryPointTestImpl);
+ARMNN_SIMPLE_TEST_CASE(GetNameMangledEntryPoint, GetNameMangledEntryPointTestImpl);
+ARMNN_SIMPLE_TEST_CASE(GetNoExternEntryPoint, GetNoExternEntryPointTestImpl);
+ARMNN_SIMPLE_TEST_CASE(GetNotExistingEntryPoint, GetNotExistingEntryPointTestImpl);
+
ARMNN_SIMPLE_TEST_CASE(BackendVersioning, BackendVersioningTestImpl);
BOOST_AUTO_TEST_SUITE_END()