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

WIP: consolidation

parent bcc0f659
No related branches found
No related tags found
1 merge request!12F consolidation
......@@ -172,6 +172,8 @@ TEST(test_entity, test_insert_entity) {
EXPECT_EQ(entity.GetRole(), Role::RECORD_TYPE);
EXPECT_EQ(entity.GetName(), "entity_name");
EXPECT_EQ(transaction.RequestToString(), "");
}
TEST(test_entity, test_insert_with_role) {
......@@ -309,4 +311,11 @@ TEST(test_entity, test_description) {
EXPECT_EQ(property.GetDescription(), "desc property");
EXPECT_EQ(parent.GetDescription(), "desc parent");
}
TEST(test_entity, test_role) {
Entity entity;
entity.SetRole(Role::RECORD_TYPE);
EXPECT_EQ(entity.GetRole(), Role::RECORD_TYPE);
}
} // namespace caosdb::entity
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