aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/test/RefLayerSupportTests.cpp
diff options
context:
space:
mode:
authorDavid Monahan <david.monahan@arm.com>2020-04-16 10:01:56 +0100
committerDavid Monahan <david.monahan@arm.com>2020-04-20 12:20:18 +0100
commita8837bfcf45136f178a9884b7c6f6449b3e6ed41 (patch)
tree0fa2c4de3646d27f1029d5ebd2cf966c3005522c /src/backends/reference/test/RefLayerSupportTests.cpp
parent9b89e0a5e4398672c3b9423b02b3a9257e0ea95f (diff)
downloadarmnn-a8837bfcf45136f178a9884b7c6f6449b3e6ed41.tar.gz
IVGCVSW-4513 Remove boost/algorithm/string *
* Removed split, classification, trim, string, join, contains * Added StringUtils.hpp to replace the removed Boost String functionality Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I8aa938dc3942cb65c512cccb2c069da66aa24668
Diffstat (limited to 'src/backends/reference/test/RefLayerSupportTests.cpp')
-rw-r--r--src/backends/reference/test/RefLayerSupportTests.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backends/reference/test/RefLayerSupportTests.cpp b/src/backends/reference/test/RefLayerSupportTests.cpp
index f0c69f92cc..1d4b4a0f3a 100644
--- a/src/backends/reference/test/RefLayerSupportTests.cpp
+++ b/src/backends/reference/test/RefLayerSupportTests.cpp
@@ -14,7 +14,6 @@
#include <backendsCommon/test/IsLayerSupportedTestImpl.hpp>
#include <boost/test/unit_test.hpp>
-#include <boost/algorithm/string/trim.hpp>
#include <string>
@@ -231,9 +230,9 @@ BOOST_AUTO_TEST_CASE(IsLayerNotSupportedMeanDimensionsReference)
BOOST_CHECK(!result);
- boost::algorithm::trim(reasonIfUnsupported);
- BOOST_CHECK_EQUAL(reasonIfUnsupported,
- "Reference Mean: Expected 4 dimensions but got 2 dimensions instead, for the 'output' tensor.");
+ BOOST_CHECK(reasonIfUnsupported.find(
+ "Reference Mean: Expected 4 dimensions but got 2 dimensions instead, for the 'output' tensor.")
+ != std::string::npos);
}
BOOST_AUTO_TEST_SUITE_END()