test: prepare for refactoring

This commit is contained in:
skypjack
2025-12-22 16:40:11 +01:00
parent b157dfbf86
commit d14707ed3a
13 changed files with 13 additions and 13 deletions

View File

@@ -7,7 +7,7 @@
#include "../../../common/boxed_type.h"
#include "../../../common/listener.h"
TEST(Lib, Dispatcher) {
TEST(Dispatcher, Plugin) {
entt::dispatcher dispatcher;
test::listener<test::boxed_int> listener;

View File

@@ -7,7 +7,7 @@
#include "../../../common/listener.h"
#include "lib.h"
TEST(Lib, Dispatcher) {
TEST(Dispatcher, Shared) {
entt::dispatcher dispatcher;
test::listener<test::boxed_int> listener;

View File

@@ -6,7 +6,7 @@
#include "../../../common/boxed_type.h"
#include "../../../common/emitter.h"
TEST(Lib, Emitter) {
TEST(Emitter, Plugin) {
test::emitter emitter;
int value{};

View File

@@ -5,7 +5,7 @@
#include "../../../common/emitter.h"
#include "lib.h"
TEST(Lib, Emitter) {
TEST(Emitter, Shared) {
test::emitter emitter;
int value{};

View File

@@ -6,7 +6,7 @@
#include "../../../common/boxed_type.h"
#include "userdata.h"
TEST(Lib, Locator) {
TEST(Locator, Plugin) {
entt::locator<test::boxed_int>::emplace().value = 4;
ASSERT_EQ(entt::locator<test::boxed_int>::value().value, 4);

View File

@@ -4,7 +4,7 @@
#include "../../../common/boxed_type.h"
#include "lib.h"
TEST(Lib, Locator) {
TEST(Locator, Shared) {
entt::locator<test::boxed_int>::emplace().value = 4;
ASSERT_EQ(entt::locator<test::boxed_int>::value().value, 4);

View File

@@ -9,7 +9,7 @@
#include <entt/meta/resolve.hpp>
#include "userdata.h"
TEST(Lib, Meta) {
TEST(Meta, Plugin) {
using namespace entt::literals;
ASSERT_FALSE(entt::resolve("boxed_int"_hs));

View File

@@ -9,7 +9,7 @@
#include <entt/meta/resolve.hpp>
#include "userdata.h"
TEST(Lib, Meta) {
TEST(Meta, PluginStd) {
using namespace entt::literals;
ASSERT_FALSE(entt::resolve("boxed_int"_hs));

View File

@@ -9,7 +9,7 @@
#include "../../../common/empty.h"
#include "lib.h"
TEST(Lib, Meta) {
TEST(Meta, Shared) {
using namespace entt::literals;
ASSERT_FALSE(entt::resolve("boxed_int"_hs));

View File

@@ -9,7 +9,7 @@
#include "../../../common/boxed_type.h"
#include "../../../common/empty.h"
TEST(Lib, Registry) {
TEST(Registry, Plugin) {
constexpr auto count = 3;
entt::registry registry;

View File

@@ -8,7 +8,7 @@
#include "../../../common/empty.h"
#include "lib.h"
TEST(Lib, Registry) {
TEST(Registry, Shared) {
constexpr auto count = 3;
entt::registry registry;

View File

@@ -4,7 +4,7 @@
#include <cr.h>
#include "../types.h"
TEST(Lib, View) {
TEST(View, Plugin) {
view_type view{};
cr_plugin ctx;

View File

@@ -3,7 +3,7 @@
#include "../types.h"
#include "lib.h"
TEST(Lib, View) {
TEST(View, Shared) {
view_type view{};
const void *storage = filter(view);