瀏覽代碼

test: minor changes

Michele Caini 2 年之前
父節點
當前提交
0128cbb4f3
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      test/entt/entity/group.cpp
  2. 2 2
      test/entt/entity/registry.cpp
  3. 1 1
      test/entt/entity/storage_entity.cpp

+ 1 - 1
test/entt/entity/group.cpp

@@ -1634,7 +1634,7 @@ TEST(OwningGroup, Storage) {
     ASSERT_EQ(group.storage<const float>(), nullptr);
     ASSERT_EQ(group.storage<const float>(), nullptr);
 }
 }
 
 
-ENTT_DEBUG_TEST(OwningGroup, Overlapping) {
+ENTT_DEBUG_TEST(OwningGroupDeathTest, Overlapping) {
     entt::registry registry;
     entt::registry registry;
     registry.group<char>(entt::get<int>, entt::exclude<double>);
     registry.group<char>(entt::get<int>, entt::exclude<double>);
 
 

+ 2 - 2
test/entt/entity/registry.cpp

@@ -1277,7 +1277,7 @@ TEST(Registry, CleanPartialOwningGroupViewAfterRemoveAndClear) {
     ASSERT_EQ(group.size(), 0u);
     ASSERT_EQ(group.size(), 0u);
 }
 }
 
 
-ENTT_DEBUG_TEST(Registry, NestedGroups) {
+ENTT_DEBUG_TEST(RegistryDeathTest, NestedGroups) {
     entt::registry registry;
     entt::registry registry;
     registry.group<int, double>(entt::get<char>);
     registry.group<int, double>(entt::get<char>);
 
 
@@ -1287,7 +1287,7 @@ ENTT_DEBUG_TEST(Registry, NestedGroups) {
     ASSERT_DEATH((registry.group<int, double>()), "");
     ASSERT_DEATH((registry.group<int, double>()), "");
 }
 }
 
 
-ENTT_DEBUG_TEST(Registry, ConflictingGroups) {
+ENTT_DEBUG_TEST(RegistryDeathTest, ConflictingGroups) {
     entt::registry registry;
     entt::registry registry;
 
 
     registry.group<char>(entt::get<int>, entt::exclude<double>);
     registry.group<char>(entt::get<int>, entt::exclude<double>);

+ 1 - 1
test/entt/entity/storage_entity.cpp

@@ -386,7 +386,7 @@ TEST(StorageEntity, ConstIterable) {
     }
     }
 }
 }
 
 
-ENTT_DEBUG_TEST(StorageEntity, SwapElements) {
+TEST(StorageEntity, SwapElements) {
     entt::storage<entt::entity> pool;
     entt::storage<entt::entity> pool;
 
 
     pool.push(entt::entity{0});
     pool.push(entt::entity{0});