IVGCVSW-7828 Add an Optional TensorInfo to InputSlot

 * Updated calls to use the new function
   From:
   GetInputSlot(n).GetConnection()->GetTensorInfo();
   To:
   GetInputSlot(n).GetTensorInfo();
 * Added UnitTests

Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I43184cc05e4472011b9347aaa820eb8deb1cd4a0
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a4199fe..60fbaaa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -577,6 +577,7 @@
         src/armnn/test/FlowControl.cpp
         src/armnn/test/GraphTests.cpp
         src/armnn/test/InstrumentTests.cpp
+        src/armnn/test/LayerTests.cpp
         src/armnn/test/InferOutputTests.cpp
         src/armnn/test/InferOutputTests.hpp
         src/armnn/test/ModelAccuracyCheckerTest.cpp