Skip to content
Snippets Groups Projects
Commit 6a82bb22 authored by florian's avatar florian
Browse files

MAINT: Add .clang-format from cpplib

parent 8797c768
No related branches found
No related tags found
1 merge request!3TST: Add Tests for insert and delete
Pipeline #11197 failed
......@@ -33,6 +33,7 @@
namespace caosdb::transaction {
using caosdb::entity::Entity;
using caosdb::entity::MessageCode;
using caosdb::entity::Parent;
class test_transaction : public ::testing::Test {
protected:
......@@ -163,7 +164,7 @@ TEST(test_transaction, insert_delete_with_parent) {
dynamic_cast<const UniqueResult &>(insert_transaction->GetResultSet());
const auto &inserted_rt = insert_result_set.GetEntity();
Entity rec;
rec.SetRole("Record");
rec.SetName("TestRec");
......@@ -210,7 +211,6 @@ TEST(test_transaction, insert_delete_with_parent) {
ASSERT_TRUE(rt_delete_status.IsTerminated());
ASSERT_FALSE(rt_delete_status.IsError());
}
// TODO(fspreck) Insert a Record with a parent and a Property. Check
......
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