aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/test/PredicateResult.hpp
diff options
context:
space:
mode:
authorSadik Armagan <sadik.armagan@arm.com>2021-11-24 15:47:28 +0000
committerSadik Armagan <sadik.armagan@arm.com>2021-12-14 11:02:41 +0000
commita097d2a0ed8e30d5aaf6d29ec18d0c39201b7b67 (patch)
tree947e587bc42d07f52c55b155308b5ea5bd3ebacd /src/armnn/test/PredicateResult.hpp
parentbc14881a76699dd942e94265116da68a6466455e (diff)
downloadarmnn-a097d2a0ed8e30d5aaf6d29ec18d0c39201b7b67.tar.gz
IVGCVSW-6453 'Move the ArmNN Test Utils code to a physically separate directory'
* Created include/armnnTestUtils directory * Moved Arm NN test utils files into armnnTestUtils directory Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I03ac54c645c41c52650c4c03b6a58fb1481fef5d
Diffstat (limited to 'src/armnn/test/PredicateResult.hpp')
-rw-r--r--src/armnn/test/PredicateResult.hpp45
1 files changed, 3 insertions, 42 deletions
diff --git a/src/armnn/test/PredicateResult.hpp b/src/armnn/test/PredicateResult.hpp
index a344c8e3ad..8edf8b1180 100644
--- a/src/armnn/test/PredicateResult.hpp
+++ b/src/armnn/test/PredicateResult.hpp
@@ -2,47 +2,8 @@
// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
-#pragma once
-#include <sstream>
+#include <armnnTestUtils/PredicateResult.hpp>
-namespace armnn
-{
-
-class PredicateResult
-{
-public:
- explicit PredicateResult(bool result)
- : m_Result(result)
- {}
-
- PredicateResult(const PredicateResult& predicateResult)
- : m_Result(predicateResult.m_Result)
- , m_Message(predicateResult.m_Message.str())
- {}
-
- void SetResult(bool newResult)
- {
- m_Result = newResult;
- }
-
- std::stringstream& Message()
- {
- return m_Message;
- }
-
- bool operator!() const
- {
- return !m_Result;
- }
-
- void operator=(PredicateResult otherPredicateResult)
- {
- otherPredicateResult.m_Result = m_Result;
- }
-
- bool m_Result;
- std::stringstream m_Message;
-};
-
-} // namespace armnn \ No newline at end of file
+#pragma message("src/armnn/test/PredicateResult.hpp has been deprecated, it is due for removal in 22.08 release." \
+ " Please use public interface include/armnnTestUtils/PredicateResult.hpp") \ No newline at end of file