aboutsummaryrefslogtreecommitdiff
path: root/src/armnnOnnxParser/test/ProtoxtFixture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnnOnnxParser/test/ProtoxtFixture.cpp')
-rw-r--r--src/armnnOnnxParser/test/ProtoxtFixture.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/armnnOnnxParser/test/ProtoxtFixture.cpp b/src/armnnOnnxParser/test/ProtoxtFixture.cpp
index 917f6f036b..067b440990 100644
--- a/src/armnnOnnxParser/test/ProtoxtFixture.cpp
+++ b/src/armnnOnnxParser/test/ProtoxtFixture.cpp
@@ -3,12 +3,11 @@
// SPDX-License-Identifier: MIT
//
-#include <boost/test/unit_test.hpp>
#include "armnnOnnxParser/IOnnxParser.hpp"
#include "ParserPrototxtFixture.hpp"
-BOOST_AUTO_TEST_SUITE(OnnxParser)
-
+TEST_SUITE("OnnxParser_PrototxtFixture")
+{
struct ProtoxtTestFixture : public armnnUtils::ParserPrototxtFixture<armnnOnnxParser::IOnnxParser>
{
ProtoxtTestFixture()
@@ -65,17 +64,17 @@ struct ProtoxtTestFixture : public armnnUtils::ParserPrototxtFixture<armnnOnnxPa
};
-BOOST_FIXTURE_TEST_CASE(ProtoxtTest, ProtoxtTestFixture)
+TEST_CASE_FIXTURE(ProtoxtTestFixture, "ProtoxtTest")
{
//TODO : add a test to check if the inputs and outputs are correctly inferred.
}
-BOOST_FIXTURE_TEST_CASE(ProtoxtTestWithBadInputs, ProtoxtTestFixture)
+TEST_CASE_FIXTURE(ProtoxtTestFixture, "ProtoxtTestWithBadInputs")
{
- // BOOST_CHECK_THROW(RunTest<4>({{ "InexistantInput" , {0.0, 1.0, 2.0, 3.0}}},
+ // CHECK_THROWS_AS(RunTest<4>({{ "InexistantInput" , {0.0, 1.0, 2.0, 3.0}}},
// {{ "InexistantOutput" , {0.0, 1.0, 2.0, 3.0}}}),
// armnn::InvalidArgumentException );
}
-BOOST_AUTO_TEST_SUITE_END()
+}