Skip to content
Snippets Groups Projects
Verified Commit 429ddd35 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Fix unit tests

parent f6cbbf67
Branches
Tags
3 merge requests!42Release 0.2.0,!39F remove boost rdep,!34F grpc f acm
Pipeline #19212 passed with warnings
Pipeline: caosdb-cppinttest

#19213

    ...@@ -707,7 +707,9 @@ public: ...@@ -707,7 +707,9 @@ public:
    : static_cast<ProtoDataType *>(nullptr)) { : static_cast<ProtoDataType *>(nullptr)) {
    properties.wrapped = this->wrapped->mutable_properties(); properties.wrapped = this->wrapped->mutable_properties();
    parents.wrapped = this->wrapped->mutable_parents(); parents.wrapped = this->wrapped->mutable_parents();
    if(this->wrapped->has_file_descriptor()) {
    file_descriptor.wrapped = this->wrapped->mutable_file_descriptor(); file_descriptor.wrapped = this->wrapped->mutable_file_descriptor();
    }
    }; };
    explicit inline Entity(EntityResponse *response) : Entity(response->mutable_entity()) { explicit inline Entity(EntityResponse *response) : Entity(response->mutable_entity()) {
    this->errors.wrapped->Swap(response->mutable_errors()); this->errors.wrapped->Swap(response->mutable_errors());
    ......
    ...@@ -25,15 +25,9 @@ ...@@ -25,15 +25,9 @@
    #include "caosdb/entity/v1/main.pb.h" // for DataType, Ato... #include "caosdb/entity/v1/main.pb.h" // for DataType, Ato...
    #include "caosdb/logging.h" // for CAOSDB_LOG_DEBUG #include "caosdb/logging.h" // for CAOSDB_LOG_DEBUG
    #include "caosdb/protobuf_helper.h" // for CAOSDB_DEBUG_... #include "caosdb/protobuf_helper.h" // for CAOSDB_DEBUG_...
    #include <boost/log/core/record.hpp> // for record
    #include <boost/log/detail/attachable_sstream_buf.hpp> // for basic_ostring...
    #include <boost/log/sources/record_ostream.hpp> // for operator<<
    #include <boost/preprocessor/seq/limits/enum_256.hpp> // for BOOST_PP_SEQ_...
    #include <boost/preprocessor/seq/limits/size_256.hpp> // for BOOST_PP_SEQ_...
    #include <gtest/gtest-message.h> // for Message #include <gtest/gtest-message.h> // for Message
    #include <gtest/gtest-test-part.h> // for TestPartResult, SuiteApi... #include <gtest/gtest-test-part.h> // for TestPartResult, SuiteApi...
    #include <gtest/gtest_pred_impl.h> // for AssertionResult, Test #include <gtest/gtest_pred_impl.h> // for AssertionResult, Test
    #include <iosfwd> // for streamsize
    #include <map> // for map, operator!= #include <map> // for map, operator!=
    #include <string> // for allocator #include <string> // for allocator
    #include <utility> // for pair #include <utility> // for pair
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment