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

Merge branch 'f-extended-c' into f-consolidation

parents 5e8082c5 306b6c2c
No related branches found
No related tags found
1 merge request!9F consolidation
Pipeline #12191 passed
This commit is part of merge request !9. Comments created here will be created in the context of that merge request.
...@@ -328,6 +328,7 @@ TEST_F(test_transaction, insert_delete_with_property) { ...@@ -328,6 +328,7 @@ TEST_F(test_transaction, insert_delete_with_property) {
const auto &retrieved_rt = rt_retrieve_results.at(0); const auto &retrieved_rt = rt_retrieve_results.at(0);
EXPECT_EQ(inserted_rt.GetId(), retrieved_rt.GetId()); EXPECT_EQ(inserted_rt.GetId(), retrieved_rt.GetId());
EXPECT_EQ(rt.GetName(), retrieved_rt.GetName()); EXPECT_EQ(rt.GetName(), retrieved_rt.GetName());
EXPECT_EQ(rt.GetDescription(), retrieved_rt.GetDescription());
EXPECT_EQ(retrieved_rt.GetProperties().size(), 1); EXPECT_EQ(retrieved_rt.GetProperties().size(), 1);
const auto &retrieved_prop_rt = retrieved_rt.GetProperties().at(0); const auto &retrieved_prop_rt = retrieved_rt.GetProperties().at(0);
...@@ -420,6 +421,7 @@ TEST_F(test_transaction, test_multi_retrieve) { ...@@ -420,6 +421,7 @@ TEST_F(test_transaction, test_multi_retrieve) {
// Exists so should be fine ... // Exists so should be fine ...
EXPECT_FALSE(result_set.at(1).HasErrors()); EXPECT_FALSE(result_set.at(1).HasErrors());
// ... but this does not
EXPECT_EQ(result_set.at(2).GetId(), "22"); EXPECT_EQ(result_set.at(2).GetId(), "22");
EXPECT_TRUE(result_set.at(2).HasErrors()); EXPECT_TRUE(result_set.at(2).HasErrors());
EXPECT_EQ(result_set.at(2).GetErrors().at(0).GetCode(), EXPECT_EQ(result_set.at(2).GetErrors().at(0).GetCode(),
...@@ -529,9 +531,7 @@ TEST_F(test_transaction, test_query) { ...@@ -529,9 +531,7 @@ TEST_F(test_transaction, test_query) {
std::cout << "Executing count query ..." << std::endl; std::cout << "Executing count query ..." << std::endl;
count_query_trans->Execute(); count_query_trans->Execute();
// No result set in a count query // No result set in a count query
std::cout << "Checking count query result set..." << std::endl;
EXPECT_EQ(count_query_trans->GetResultSet().size(), 0); EXPECT_EQ(count_query_trans->GetResultSet().size(), 0);
std::cout << "Checking count query result ..." << std::endl;
EXPECT_EQ(count_query_trans->GetCountResult(), 1); EXPECT_EQ(count_query_trans->GetCountResult(), 1);
} }
......
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