Enhanced some test descriptions

This commit is contained in:
2026-07-06 16:06:09 +02:00
parent 89b795c488
commit 06f6166f05
5 changed files with 43 additions and 43 deletions
+3 -3
View File
@@ -59,7 +59,7 @@ private:
};
} // namespace
TEST_CASE("object_cache: acquire_proxy returns the same proxy instance across threads", "[object][cache][threadsafe]") {
TEST_CASE("ObjectCache: acquire_proxy returns the same proxy instance across threads", "[object][cache][threadsafe]") {
matador::utils::message_bus bus;
matador::object::object_cache cache(bus);
const matador::utils::identifier id{123};
@@ -91,7 +91,7 @@ TEST_CASE("object_cache: acquire_proxy returns the same proxy instance across th
}
}
TEST_CASE("object_cache: attach_entity makes is_loaded/get_entity reflect presence", "[object][cache]") {
TEST_CASE("ObjectCache: attach_entity makes is_loaded/get_entity reflect presence", "[object][cache]") {
matador::utils::message_bus bus;
matador::object::object_cache cache(bus);
const matador::utils::identifier id{42};
@@ -110,7 +110,7 @@ TEST_CASE("object_cache: attach_entity makes is_loaded/get_entity reflect presen
REQUIRE(got->name == "hans");
}
TEST_CASE("object_cache: erase invalidates existing proxies", "[object][cache]") {
TEST_CASE("ObjectCache: erase invalidates existing proxies", "[object][cache]") {
matador::utils::message_bus bus;
matador::object::object_cache cache(bus);
const matador::utils::identifier id{9};
+1 -1
View File
@@ -7,7 +7,7 @@
#include "../test/models/author.hpp"
#include "../test/models/book.hpp"
TEST_CASE("Generate object from type", "[object][generate]") {
TEST_CASE("Object: Generate object from type", "[object][generate]") {
using namespace matador;
object::repository repo;
auto result = repo.attach<test::author>("authors");