aboutsummaryrefslogtreecommitdiff
path: root/framework/Macros.h
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-07-18 14:37:35 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:16:42 +0100
commitb7c2a99f847d3baef1710be5cf34f978514101dd (patch)
tree83d6c6ed83aacf0fea2a4f08c7b39350af4fab0a /framework/Macros.h
parent0c34fe29c298057091d48cde332cb60bb14efee1 (diff)
downloadComputeLibrary-b7c2a99f847d3baef1710be5cf34f978514101dd.tar.gz
COMPMID-415: Cleanup framework
Change-Id: Ibd5a95a8337ac96bdc1b61af29efa430b4abe2b6 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/80938 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'framework/Macros.h')
-rw-r--r--framework/Macros.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/framework/Macros.h b/framework/Macros.h
index 8c5afe9304..f5b22b461a 100644
--- a/framework/Macros.h
+++ b/framework/Macros.h
@@ -24,13 +24,10 @@
#ifndef ARM_COMPUTE_TEST_FRAMEWORK_MACROS
#define ARM_COMPUTE_TEST_FRAMEWORK_MACROS
-#include "Exceptions.h"
#include "Framework.h"
#include "Registrars.h"
#include "TestCase.h"
-#include <sstream>
-
//
// TEST SUITE MACROS
//
@@ -218,30 +215,4 @@
//
// TEST CASE MACROS END
//
-
-#define ARM_COMPUTE_ASSERT_EQUAL(x, y) \
- do \
- { \
- const auto &_x = (x); \
- const auto &_y = (y); \
- if(_x != _y) \
- { \
- std::stringstream msg; \
- msg << "Assertion " << _x << " != " << _y << " failed."; \
- throw arm_compute::test::framework::TestError(msg.str()); \
- } \
- } while(false)
-
-#define ARM_COMPUTE_EXPECT_EQUAL(x, y) \
- do \
- { \
- const auto &_x = (x); \
- const auto &_y = (y); \
- if(_x != _y) \
- { \
- std::stringstream msg; \
- msg << "Expectation " << _x << " != " << _y << " failed."; \
- arm_compute::test::framework::Framework::get().log_failed_expectation(msg.str()); \
- } \
- } while(false)
#endif /* ARM_COMPUTE_TEST_FRAMEWORK_MACROS */