Skip to content
Snippets Groups Projects
Commit 0115f88b authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Merge branch 'dev' into f-full-c

parents 7cab60be 76366852
No related branches found
No related tags found
1 merge request!15ENH: Allow insert/update/delete and files in Extern C
Pipeline #12417 passed
Pipeline: caosdb-cppinttest

#12422

    ......@@ -345,7 +345,8 @@ public:
    *
    * A client may request the current status at any time via GetStatus().
    *
    * Use WaitForIt() to join the back-ground execution of this transaction.
    * Use WaitForIt() to join the back-ground execution of this transaction, otherwise the behaviour
    * of getting the ResultSet is undefined.
    */
    auto ExecuteAsynchronously() noexcept -> StatusCode;
    ......@@ -353,7 +354,8 @@ public:
    * Join the background execution and return the status when the execution
    * terminates.
    *
    * Use this after ExecuteAsynchronously().
    * Use this after ExecuteAsynchronously(), otherwise the TransactionStatus still remains
    * EXECUTING.
    */
    [[nodiscard]] auto WaitForIt() const noexcept -> TransactionStatus;
    ......
    ......@@ -172,6 +172,12 @@ TEST_F(test_ccaosdb, test_entity) {
    EXPECT_FALSE(*is_list);
    EXPECT_FALSE(*is_ref);
    caosdb_entity_entity_set_datatype(&entity, "Person", true, true);
    caosdb_entity_entity_get_datatype(&entity, &out, is_ref, is_list);
    EXPECT_EQ(strcmp(out, "Person"), 0);
    EXPECT_TRUE(*is_list);
    EXPECT_TRUE(*is_ref);
    caosdb_entity_entity_set_unit(&entity, "m");
    caosdb_entity_entity_get_unit(&entity, &out);
    EXPECT_EQ(strcmp(out, "m"), 0);
    ......
    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