From df7fc2cd9c4f4f82ebe7ebcf8f8c53ee70f4dfb7 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Thu, 29 Jul 2021 01:50:34 +0200 Subject: [PATCH] WIP: insert delete --- conanfile.txt | 2 +- test/test_connection.cpp | 4 +++- test/test_transaction.cpp | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/conanfile.txt b/conanfile.txt index 8d9e042..c05c8a0 100644 --- a/conanfile.txt +++ b/conanfile.txt @@ -1,5 +1,5 @@ [requires] -caosdb/0.0.6 +caosdb/0.0.7 gtest/1.11.0 [generators] diff --git a/test/test_connection.cpp b/test/test_connection.cpp index 80675fc..ed1ca1f 100644 --- a/test/test_connection.cpp +++ b/test/test_connection.cpp @@ -110,7 +110,9 @@ TEST(test_connection, connection_ssl_authentication_error_wrong_credentials) { EXPECT_THROW_MESSAGE( connection.RetrieveVersionInfo(), AuthenticationError, - "The attempt to execute this transaction has not been executed at all because the authentication did not succeed. Original error: Authentication failed. Username or password wrong."); + "The attempt to execute this transaction has not been executed at all " + "because the authentication did not succeed. Original error: " + "Authentication failed. Username or password wrong."); } TEST(test_connection, connection_ssl_authentication_success) { diff --git a/test/test_transaction.cpp b/test/test_transaction.cpp index 72fb1a4..f24d7d5 100644 --- a/test/test_transaction.cpp +++ b/test/test_transaction.cpp @@ -18,8 +18,6 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. * */ -#include <iostream> -#include <memory> // for unique_ptr, allocator, __shar... #include "caosdb/connection.h" // for Connection, ConnectionManager #include "caosdb/entity.h" // for Entity, Messages, Message #include "caosdb/message_code.h" // for ENTITY_DOES_NOT_EXIST, Messag... @@ -29,6 +27,7 @@ #include "gtest/gtest-message.h" // for Message #include "gtest/gtest-test-part.h" // for TestPartResult, SuiteApiResolver #include "gtest/gtest_pred_impl.h" // for Test, EXPECT_EQ, AssertionResult +#include <memory> // for unique_ptr, allocator, __shar... namespace caosdb::transaction { using caosdb::entity::MessageCode; -- GitLab