Browse Source

test: prepare for refactoring

skypjack 2 months ago
parent
commit
d14707ed3a

+ 1 - 1
test/lib/dispatcher/plugin/main.cpp

@@ -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;
 

+ 1 - 1
test/lib/dispatcher/shared/main.cpp

@@ -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;
 

+ 1 - 1
test/lib/emitter/plugin/main.cpp

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

+ 1 - 1
test/lib/emitter/shared/main.cpp

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

+ 1 - 1
test/lib/locator/plugin/main.cpp

@@ -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);

+ 1 - 1
test/lib/locator/shared/main.cpp

@@ -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);

+ 1 - 1
test/lib/meta/plugin/main.cpp

@@ -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));

+ 1 - 1
test/lib/meta/plugin_std/main.cpp

@@ -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));

+ 1 - 1
test/lib/meta/shared/main.cpp

@@ -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));

+ 1 - 1
test/lib/registry/plugin/main.cpp

@@ -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;
 

+ 1 - 1
test/lib/registry/shared/main.cpp

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

+ 1 - 1
test/lib/view/plugin/main.cpp

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

+ 1 - 1
test/lib/view/shared/main.cpp

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