aboutsummaryrefslogtreecommitdiff
path: root/test/UtilsTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/UtilsTests.cpp')
-rw-r--r--test/UtilsTests.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/UtilsTests.cpp b/test/UtilsTests.cpp
index a11c8274..054c0719 100644
--- a/test/UtilsTests.cpp
+++ b/test/UtilsTests.cpp
@@ -11,9 +11,10 @@
#include <fstream>
#include <iomanip>
-#include <boost/format.hpp>
#include <armnn/INetwork.hpp>
+#include <Filesystem.hpp>
+
BOOST_AUTO_TEST_SUITE(UtilsTests)
using namespace android;
@@ -42,9 +43,7 @@ public:
// NOTE: the export now uses a time stamp to name the file so we
// can't predict ahead of time what the file name will be.
std::string timestamp = "dummy";
- m_FileName = boost::str(boost::format("%1%/%2%_networkgraph.dot")
- % m_RequestInputsAndOutputsDumpDir
- % timestamp);
+ m_FileName = m_RequestInputsAndOutputsDumpDir / (timestamp + "_networkgraph.dot");
}
// Teardown: delete the dump file regardless of the outcome of the tests.
@@ -96,8 +95,8 @@ public:
(std::istreambuf_iterator<char>()));
}
- std::string m_RequestInputsAndOutputsDumpDir;
- std::string m_FileName;
+ fs::path m_RequestInputsAndOutputsDumpDir;
+ fs::path m_FileName;
private:
std::ifstream m_FileStream;