From 186efecfd2fb3d40599fc59fb15267881fdc5673 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Wed, 10 Nov 2021 03:13:37 +0100 Subject: [PATCH] Update ccaosdb --- test/test_ccaosdb.cpp | 6 ++---- test/test_connection.cpp | 4 ++-- test/test_transaction.cpp | 6 ++---- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/test/test_ccaosdb.cpp b/test/test_ccaosdb.cpp index dfc9e4e..f8e9278 100644 --- a/test/test_ccaosdb.cpp +++ b/test/test_ccaosdb.cpp @@ -22,17 +22,15 @@ #include "caosdb/message_code.h" // for ENTITY_DOES_NOT_EXIST #include "caosdb/status_code.h" // for GO_ON, StatusCode #include "ccaosdb.h" // for caosdb_connection_... -#include <boost/filesystem/operations.hpp> // for remove -#include <boost/filesystem/path.hpp> // for path -#include <boost/filesystem/path_traits.hpp> // for filesystem #include <cstring> // for strcmp +#include <filesystem> // for remove #include <gtest/gtest-message.h> // for Message #include <gtest/gtest-test-part.h> // for TestPartResult #include <gtest/gtest_pred_impl.h> // for EXPECT_EQ, TestInfo #include <iostream> // for operator<<, endl #include <string> // for allocator, string -namespace fs = boost::filesystem; +namespace fs = std::filesystem; class test_ccaosdb : public ::testing::Test { protected: fs::path test_upload_file_1; diff --git a/test/test_connection.cpp b/test/test_connection.cpp index 4b321dd..6e0839e 100644 --- a/test/test_connection.cpp +++ b/test/test_connection.cpp @@ -18,7 +18,6 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. * */ -#include "boost/filesystem/path.hpp" // for path #include "caosdb/authentication.h" // for PlainPasswordAuthenticator #include "caosdb/certificate_provider.h" // for PemFileCertificateProvider #include "caosdb/configuration.h" // for InsecureConnectionConfigura... @@ -28,7 +27,8 @@ #include "caosdb/info.h" // for VersionInfo #include "caosdb/utility.h" // for get_env_fallback #include "caosdb_test_utility.h" // for EXPECT_THROW_MESSAGE -#include "gtest/gtest_pred_impl.h" // NOLINT TODO how to fix this? for Test, TestInfo, TEST, EXPEC... +#include <filesystem> // for path +#include <gtest/gtest_pred_impl.h> // NOLINT TODO how to fix this? for Test, TestInfo, TEST, EXPEC... #include <gtest/gtest-message.h> // for Message #include <gtest/gtest-test-part.h> // for SuiteApiResolver, TestPartR... #include <memory> // for allocator, unique_ptr, __sh... diff --git a/test/test_transaction.cpp b/test/test_transaction.cpp index 6f3e105..171e22f 100644 --- a/test/test_transaction.cpp +++ b/test/test_transaction.cpp @@ -29,11 +29,9 @@ #include "caosdb/transaction.h" // for Entity, Transaction #include "caosdb/transaction_status.h" // for TransactionStatus #include "caosdb/value.h" // for Value -#include <boost/filesystem/operations.hpp> // for remove -#include <boost/filesystem/path.hpp> // for path -#include <boost/filesystem/path_traits.hpp> // for filesystem #include <cstddef> // for size_t #include <cstdint> // for int64_t, int32_t +#include <filesystem> // for path #include <gtest/gtest-message.h> // for Message #include <gtest/gtest-test-part.h> // for TestPartResult #include <gtest/gtest_pred_impl.h> // for AssertionResult @@ -45,7 +43,7 @@ #include <string> // for string, operator+ #include <vector> // for vector, operator!= -namespace fs = boost::filesystem; +namespace fs = std::filesystem; namespace caosdb::transaction { using caosdb::entity::AtomicDataType; using caosdb::entity::Entity; -- GitLab