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

WIP: insert delete

parent 16ae5462
No related branches found
No related tags found
1 merge request!3TST: Add Tests for insert and delete
Pipeline #10844 failed
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
[requires]
caosdb/0.0.6
caosdb/0.0.7
gtest/1.11.0
[generators]
......
......@@ -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) {
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment