diff options
Diffstat (limited to 'project2/xml/unittests/testxml.cpp')
-rw-r--r-- | project2/xml/unittests/testxml.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/project2/xml/unittests/testxml.cpp b/project2/xml/unittests/testxml.cpp index 4cedcb8..fe2911d 100644 --- a/project2/xml/unittests/testxml.cpp +++ b/project2/xml/unittests/testxml.cpp @@ -16,12 +16,12 @@ systembf(const char * fmt, const T & ... params) return system(stringbf(fmt, params...).c_str()); } -const boost::filesystem::path tmpdir = "/tmp/ut/project2.xml"; +const std::filesystem::path tmpdir = "/tmp/ut/project2.xml"; BOOST_AUTO_TEST_CASE( before ) { - boost::filesystem::remove_all(tmpdir); - boost::filesystem::create_directories(tmpdir); + std::filesystem::remove_all(tmpdir); + std::filesystem::create_directories(tmpdir); } BOOST_AUTO_TEST_CASE( rawview ) @@ -39,11 +39,11 @@ BOOST_AUTO_TEST_CASE( rawview ) BOOST_REQUIRE_EQUAL(0, systembf("diff -w --unified %s %s", out, rootDir / "expected" / "rawview.xml")); - boost::filesystem::remove_all(tmpdir); + std::filesystem::remove_all(tmpdir); } BOOST_AUTO_TEST_CASE( after ) { - boost::filesystem::remove_all(tmpdir); + std::filesystem::remove_all(tmpdir); } |