IVGCVSW-3991 Make Descriptor objects comparable and refactor LayerVisitor tests
authorAron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Tue, 15 Oct 2019 16:35:36 +0000 (17:35 +0100)
committerÁron Virginás-Tar <aron.virginas-tar@arm.com>
Wed, 16 Oct 2019 09:39:56 +0000 (09:39 +0000)
commit6fe5247f8997a04edfdd7c974c96a0a086ef3ab5
tree52d6cc314797f7bf138a0b2d81491543e05b6900
parent20bea0071d507772e303eb6f1c476bf1feac9be5
IVGCVSW-3991 Make Descriptor objects comparable and refactor LayerVisitor tests

* Implemented operator==() for Descriptor structs
* Refactored TestNameAndDescriptorLayerVisitor to eliminate code duplication
  by using templates and taking advantage of the fact that descriptor objects
  can now all be compared the same way using ==
* Cleaned up TestNameOnlylayerVisitor by moving all test cases for layers
  that require a descriptor to TestNameAndDescriptorLayerVisitor

Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: Iee38b04d68d34a5f4ec7e5790de39ecb7ab0fb80
include/armnn/Descriptors.hpp
src/armnn/Descriptors.cpp
src/armnn/test/TestNameAndDescriptorLayerVisitor.cpp
src/armnn/test/TestNameAndDescriptorLayerVisitor.hpp
src/armnn/test/TestNameOnlyLayerVisitor.cpp
src/armnn/test/TestNameOnlyLayerVisitor.hpp